Assembler Error just installed psptoolchain ubuntu 8.10 amd

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Assembler Error just installed psptoolchain ubuntu 8.10 amd

Post by coolkehon »

i just installed psptoolchain on ubuntu8.10 amd64 and i want to know why i get this error
when trying to build anything (using samples for right now)

Code: Select all

Assembler messages:
FATAL: can't create main.o: Permission denied
i searched on google and another guy had the same problem but he fixed it and didnt post solution any help would be gratefull
User avatar
Coldbird
Posts: 97
Joined: Thu Feb 08, 2007 7:22 am

Post by Coldbird »

I suppose you installed the thing using sudo and the toolchain-sudo script.

It's probably nothing too severe, just a access problem with the folder you're in.

Mind doing a "ls -l" in the folder you're in and it's parent folder?
Been gone for some time. Now I'm back. Someone mind getting me up-2-date?
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

Code: Select all

:/usr/local/pspdev/psp/sdk/samples/ms/callback$ ls -l
total 8
-rw-r--r-- 1 root root 1998 2009-03-31 15:31 main.c
-rw-r--r-- 1 root root  236 2009-03-31 15:31 Makefile

Code: Select all

/usr/local/pspdev/psp/sdk/samples/ms/callback$ ls -l ..
total 4
drwxr-xr-x 2 root root 4096 2009-03-31 15:31 callback
NoEffex
Posts: 106
Joined: Thu Nov 27, 2008 6:48 am

Post by NoEffex »

Copy the sources to a directory in your home and type

sudo chown -R YOURUSERNAME *
Programming with:
Geany + Latest PSPSDK from svn
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

ok that worked and this is what i got but where is the eboot.pbp

Code: Select all

/usr/local/pspdev/psp/sdk/samples/ms/callback$ make all
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o main.o main.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150  -L. -L/usr/local/pspdev/psp/sdk/lib -specs=/usr/local/pspdev/psp/sdk/lib/prxspecs -Wl,-q,-T/usr/local/pspdev/psp/sdk/lib/linkfile.prx   main.o /usr/local/pspdev/psp/sdk/lib/prxexports.o  -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o mscm.elf
psp-fixup-imports mscm.elf
psp-prxgen mscm.elf mscm.prx
edit: elf template worked why doesnt this one is it just supposed to be an elf and prx
NoEffex
Posts: 106
Joined: Thu Nov 27, 2008 6:48 am

Post by NoEffex »

coolkehon wrote:ok that worked and this is what i got but where is the eboot.pbp

Code: Select all

/usr/local/pspdev/psp/sdk/samples/ms/callback$ make all
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o main.o main.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150  -L. -L/usr/local/pspdev/psp/sdk/lib -specs=/usr/local/pspdev/psp/sdk/lib/prxspecs -Wl,-q,-T/usr/local/pspdev/psp/sdk/lib/linkfile.prx   main.o /usr/local/pspdev/psp/sdk/lib/prxexports.o  -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o mscm.elf
psp-fixup-imports mscm.elf
psp-prxgen mscm.elf mscm.prx
edit: elf template worked why doesnt this one is it just supposed to be an elf and prx
There is no eboot for that one, it's a module.
Programming with:
Geany + Latest PSPSDK from svn
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

oh ok cool well could you answer the freetype question too and thanks for answering post
Post Reply