| View previous topic :: View next topic |
| Author |
Message |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Wed Apr 01, 2009 5:58 am Post subject: Assembler Error just installed psptoolchain ubuntu 8.10 amd |
|
|
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: |
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 |
|
| Back to top |
|
 |
Coldbird

Joined: 08 Feb 2007 Posts: 155
|
Posted: Wed Apr 01, 2009 6:31 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Wed Apr 01, 2009 8:17 am Post subject: |
|
|
| Code: | :/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: | /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
|
|
|
| Back to top |
|
 |
NoEffex
Joined: 27 Nov 2008 Posts: 108
|
Posted: Wed Apr 01, 2009 11:31 am Post subject: |
|
|
Copy the sources to a directory in your home and type
sudo chown -R YOURUSERNAME * _________________ Programming with:
Geany + Latest PSPSDK from svn |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Wed Apr 01, 2009 8:49 pm Post subject: |
|
|
ok that worked and this is what i got but where is the eboot.pbp
| Code: | /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 |
|
| Back to top |
|
 |
NoEffex
Joined: 27 Nov 2008 Posts: 108
|
Posted: Thu Apr 02, 2009 6:10 am Post subject: |
|
|
| coolkehon wrote: | ok that worked and this is what i got but where is the eboot.pbp
| Code: | /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 |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Thu Apr 02, 2009 6:22 am Post subject: |
|
|
| oh ok cool well could you answer the freetype question too and thanks for answering post |
|
| Back to top |
|
 |
|