| View previous topic :: View next topic |
| Author |
Message |
axxel
Joined: 16 Oct 2005 Posts: 9
|
Posted: Sun Oct 16, 2005 3:18 pm Post subject: ./toolchain.sh ERROR with FC4==> 2.6.13-1.1526-FC4smp |
|
|
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 |
|
 |
axxel
Joined: 16 Oct 2005 Posts: 9
|
Posted: Mon Oct 17, 2005 3:02 am Post subject: I found a solution but ... |
|
|
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 |
|
 |
choupette
Joined: 12 Oct 2005 Posts: 7
|
Posted: Wed Oct 19, 2005 12:02 am Post subject: |
|
|
| kxploit, google it, find -exec grep it, search it in these forums. |
|
| Back to top |
|
 |
axxel
Joined: 16 Oct 2005 Posts: 9
|
Posted: Wed Oct 19, 2005 1:18 am Post subject: Ok |
|
|
Thx choupette _________________ -----------------------------------------------------------------
Don't Think about what the Code do, be the Code... |
|
| Back to top |
|
 |
|