forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Assembler Error just installed psptoolchain ubuntu 8.10 amd

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Wed Apr 01, 2009 5:58 am    Post subject: Assembler Error just installed psptoolchain ubuntu 8.10 amd Reply with quote

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
View user's profile Send private message MSN Messenger
Coldbird



Joined: 08 Feb 2007
Posts: 155

PostPosted: Wed Apr 01, 2009 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Wed Apr 01, 2009 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Wed Apr 01, 2009 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Wed Apr 01, 2009 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Thu Apr 02, 2009 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Thu Apr 02, 2009 6:22 am    Post subject: Reply with quote

oh ok cool well could you answer the freetype question too and thanks for answering post
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group