[U-Boot-Users] compiling u-boot for ppc on i386

manju mahajan manjumail at yahoo.com
Thu Sep 1 19:08:46 CEST 2005


I have 
host os: netbsd2.0.2, host arch=i386, 
target platform: powerpc405,targetos =netbsd.

I am getting this error
bash3.0# gmake CPU=CONFIG_405GP BOARD=CONFIG_WALNUT
CROSS_COMPILE=powerpc-netbsd

under gmake -C examples 
powerpc-netbsd-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=
-I/root/u-boot/include -fno-builtin -ffreestanding
-nostdinc -isystem
/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/include
-pipe -D__PPC__ -DCONFIG_PPC -D__powerpc__ -Wall
-Wstrict-prototypes -c -o hello_world.o hello_world.c
Share object "libopcodes-2.9.1.so" not found
hello_world.c: In function 'hello_world':
*****Error 1

I have binutils2.16 installed, 
I used ./configure --target=powerpc-netbsd, this one
builds fine...

under /usr/pkg/cross/lib/libopcodes.a, and
libopcodes.la is already present. How do I get
libopcodes-2.9.1.so ?

thanks


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 




More information about the U-Boot mailing list