[U-Boot-Users] Re: Cannot compile u-boot under Mandrake 9.1
Yun-Fong Loh
yloh at edgewaternetworks.com
Sun Jul 13 06:53:41 CEST 2003
John,
> gcc -Wall -pedantic -O -I/opt/powerpc/include -o
^^^ this is your problem
> astest astest.o error.o -L/opt/powerpc/lib -lbfd
> -liberty
> /usr//bin/ld: cannot find -lbfd
> collect2: ld returned 1 exit status
> make[2]: *** [astest] Error 1
Try defining CROSS_COMPILE environment variable with the prefix of your
cross compilation tools, e.g.:
make CROSS_COMPILE=powerpc-linux-
Yun
More information about the U-Boot
mailing list