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 

./toolchain.sh ERROR with FC4==> 2.6.13-1.1526-FC4smp

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



Joined: 16 Oct 2005
Posts: 9

PostPosted: Sun Oct 16, 2005 3:18 pm    Post subject: ./toolchain.sh ERROR with FC4==> 2.6.13-1.1526-FC4smp Reply with quote

Hi,
When I execute ./toolchain.sh, the result is (sample of the end):
Code:

gcc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H    -I. -Icp -I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include  ../../gcc/cp/cp-gimplify.c -o cp/cp-gimplify.o
gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H  -o cc1plus \
      cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a   ../libiberty/libiberty.a
/usr/bin/ld: libbackend.a(tree-cfg.o): bad reloc symbol index (0x271 >= 0x15c) for offset 0x1529 in section `.debug_info'
libbackend.a: ne peut lire les symboles: Mauvaise valeur
collect2: ld a retourné 1 code d'état d'exécution
gmake[1]: *** [cc1plus] Erreur 1
gmake[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp-c++/gcc'
gmake: *** [all-gcc] Erreur 2
ERROR BUILDING GCC (C++)
[root@localhost psptoolchain]#

I don't know why because I'm ok with:
./toolchain.sh -p
./toolchain.sh -d
./toolchain.sh -b
./toolchain.sh -g
./toolchain.sh -n
one by one, but I have ERROR BUILDING GCC (C++) with ./toolchain.sh
I'm under Fedora 4 Kernel 2.6.13-1.1526-FC4smp.


ThanX for your helps.
Back to top
View user's profile Send private message
axxel



Joined: 16 Oct 2005
Posts: 9

PostPosted: Mon Oct 17, 2005 3:02 am    Post subject: I found a solution but ... Reply with quote

Hi all,
I execute ./toolchain.sh -g separatly with -g , and not a ./toolchain.sh after.
and It's seem ok, I can compile the basic sample (controller).

- But with the compile I obtain only one EBOOT.PBP and I saw in the psp I need two EBOOT.PBP (not same size) to execute basic controler, in two dirextories for firmware 1.5
/psp/game/test/EBOOT.PBP
end
/psp/game/test%/EBOOT.PBP

Anyone knows how to compile for firmware 1.5?

ThanX much
Back to top
View user's profile Send private message
choupette



Joined: 12 Oct 2005
Posts: 7

PostPosted: Wed Oct 19, 2005 12:02 am    Post subject: Reply with quote

kxploit, google it, find -exec grep it, search it in these forums.
Back to top
View user's profile Send private message
axxel



Joined: 16 Oct 2005
Posts: 9

PostPosted: Wed Oct 19, 2005 1:18 am    Post subject: Ok Reply with quote

Thx choupette
_________________
-----------------------------------------------------------------
Don't Think about what the Code do, be the Code...
Back to top
View user's profile Send private message
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