Thread (1 message) 1 message, 1 author, 2002-10-08

Re: can not open crt1.o using ELDK

From: Wolfgang Denk <hidden>
Date: 2002-10-08 05:34:26

In message [ref] you wrote:
When I use the ELDK to compile one file, I got the following message saying can
not
find crt1.o. Can someone help me on that? I don't have problem compiling one
other file.
...
hyperion: 224 % make
ppc-linux-gcc -D__KERNEL__ -DMODULE -I/u/jcheng/ppclinux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O -g -DDEBUG -fno-strict-aliasing
-fno-common -fomit-frame-pointer -I/u/jcheng/ppclinux/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -Wa,-m405
-nostdinc -I/opt/eldk/usr/lib/gcc-lib/ppc-linux/2.95.3/include vayu_main.c
dbgprint.h:35: warning: `debug' defined but not used
/opt/eldk/usr/ppc-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
Please check your compiler options.  If  you're  compiling  a  kernel
module, you should not try linking it as normal binary.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Wisdom is one of the few things that looks bigger the further away it
is.                               - Terry Pratchett, _Witches Abroad_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help