This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

build powerpc cross compiler



Hi all,

I am attempting to make a cross-compiler for powerpc-linux on Host x86.
For this purpose I am use procedure described in
http://www.objsw.com/CrossGCC/FAQ-4.html .
First step - build tree by script  "one-tree-1.6.sh " is succeded without
any problem.
But after this - by executing `build-cross.sh'  I a see follow problem:
	------------------- start dump ----------------
gcc -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -D_GNU_SOURCE -I.
-I../../src/binutils -I../bfd -I../../src/binutils/../bfd
-I../../src/binutils/../include  -I../../src/binutils/../intl -I../intl
-DLOCALEDIR="\"/usr/share/locale\""   -W -Wall -g -O2 -c
../../src/binutils/rdcoff.c
/bin/sh ./libtool --mode=link gcc -W -Wall -g -O2  -o objdump  objdump.o
prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o
filemode.o ../opcodes/libopcodes.la ../bfd/libbfd.la
../libiberty/libiberty.a  -ldl
gcc -W -Wall -g -O2 -o objdump objdump.o prdbg.o rddbg.o debug.o stabs.o
ieee.o rdcoff.o bucomm.o version.o filemode.o ../opcodes/.libs/libopcodes.a
../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl
objdump.o: In function `objdump_print_symname':
/home/edi/tools_ppc/b-powerpc-linux/binutils/../../src/binutils/objdump.c:70
9: undefined reference to `demangle_symbol'
objdump.o: In function `dump_symbols':
/home/edi/tools_ppc/b-powerpc-linux/binutils/../../src/binutils/objdump.c:23
87: undefined reference to `demangle_symbol'
objdump.o: In function `main':
/home/edi/tools_ppc/b-powerpc-linux/binutils/../../src/binutils/objdump.c:29
68: undefined reference to `init_demangler'
collect2: ld returned 1 exit status
make[3]: *** [objdump] Error 1
make[3]: Leaving directory `/home/edi/tools_ppc/b-powerpc-linux/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/edi/tools_ppc/b-powerpc-linux/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/edi/tools_ppc/b-powerpc-linux/binutils'
make: *** [all-binutils] Error 2
edi@edi:~/tools_ppc$   

	------------------- end dump dump ----------------	

I use Slackware 7.1 Linux version with kernel 2.2.16

Is there some way to solve the problem? 
Thanks.
Edward

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]