[U-Boot-Users] u-boot-1.1.1 ml300 compile problem
Der Herr Hofrat
der.herr at hofr.at
Wed Sep 1 19:35:19 CEST 2004
> In message <200408310956.i7V9upB32609 at hofr.at> you wrote:
> >
> > The mails in the archive on ml300 I found say to "compile u-boot first" or
> > state that it compiles successfully, the problem I have is that this step
> > fails.
>
> Did you try the current version (top of tree in CVS) ?
>
> > Procedure:
> > copied boot.o crt0.o and libc.a to examples
>
> Don't do that!
>
> > IT failes with an undefined reference to main
>
> This is because you added files which don't belong to U-Boot.
>
ok - then its something else - I actually added these files because of the
errors I got with the stock 1.1.1 - which failed with ld not finding boot.o
below is the output from make with the relevant error.
make[1]: Entering directory `/root/u-boot-1.1.1/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.1/tools'
make[1]: Entering directory `/root/u-boot-1.1.1/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.1/examples'
make[1]: Entering directory `/root/u-boot-1.1.1/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.1/post'
make[1]: Entering directory `/root/u-boot-1.1.1/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.1/post/cpu'
make -C tools all
make[1]: Entering directory `/root/u-boot-1.1.1/tools'
make[1]: Leaving directory `/root/u-boot-1.1.1/tools'
make -C examples all
make[1]: Entering directory `/root/u-boot-1.1.1/examples'
powerpc-eabi-ld -g -Ttext 0x40000 \
-o hello_world -e hello_world hello_world.o libstubs.a \
-L/root/EDK/gnu/powerpc-eabi/lin/bin/../lib/gcc-lib/powerpc-eabi/2.95.3-4 -lgcc
powerpc-eabi-ld: cannot find boot.o
make[1]: *** [hello_world] Error 1
make[1]: Leaving directory `/root/u-boot-1.1.1/examples'
make: *** [examples] Error 2
thx !
hofrat
More information about the U-Boot
mailing list