* [U-Boot-Users] u-boot-1.1.1 ml300 compile problem
@ 2004-08-31 9:56 Der Herr Hofrat
2004-08-31 20:11 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Der Herr Hofrat @ 2004-08-31 9:56 UTC (permalink / raw)
To: u-boot
----- Forwarded message (env-from root) -----
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] u-boot-1.1.1 ml300 compile problem
2004-08-31 9:56 [U-Boot-Users] u-boot-1.1.1 ml300 compile problem Der Herr Hofrat
@ 2004-08-31 20:11 ` Wolfgang Denk
2004-09-01 17:35 ` Der Herr Hofrat
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2004-08-31 20:11 UTC (permalink / raw)
To: u-boot
In message <200408310956.i7V9upB32609@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.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The most difficult thing in the world is to know how to do a thing
and to watch someone else doing it wrong, without commenting.
-- T.H. White
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] u-boot-1.1.1 ml300 compile problem
2004-08-31 20:11 ` Wolfgang Denk
@ 2004-09-01 17:35 ` Der Herr Hofrat
2004-09-01 17:42 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Der Herr Hofrat @ 2004-09-01 17:35 UTC (permalink / raw)
To: u-boot
> In message <200408310956.i7V9upB32609@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] u-boot-1.1.1 ml300 compile problem
2004-09-01 17:35 ` Der Herr Hofrat
@ 2004-09-01 17:42 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-09-01 17:42 UTC (permalink / raw)
To: u-boot
In message <200409011735.i81HZJL14974@hofr.at> you wrote:
>
> > 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
Check your toolchain.
> 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
There is no such object (or source) in U-Boot. I guess it comes
though your compiler's library files. Use an approved toolchain
instead.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
egrep patterns are full regular expressions; it uses a fast determi-
nistic algorithm that sometimes needs exponential space.
- unix manuals
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-01 17:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-31 9:56 [U-Boot-Users] u-boot-1.1.1 ml300 compile problem Der Herr Hofrat
2004-08-31 20:11 ` Wolfgang Denk
2004-09-01 17:35 ` Der Herr Hofrat
2004-09-01 17:42 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.