Re: [uCsimm] Will trade LCD display for help

From: Curt Wuollet (
Date: Fri Aug 31 2001 - 20:16:17 EDT

My answer isn't worth a display but it looks like the clib isn't in
the linkers search path. The double inclusion of -lgcc is troubling
but should be harmless. Corrupted makefile or dependencies? missing
libc? I don't know this setup specifically but those are my guesses.



Cosma Pabouctsidis wrote:
> I am desperately stuck on square 1 (my first compilation)
> I'll trade an EPSON LCD display (PalmV, and therefore Dragonball compatible)
> display to whomever can help me resolve my compilation problem. (will ship
> anywhere in the world). Pls send your message directly to me at
> The compilation fails,
> reporting: /opt/uClinux/m68k-coff/bin/ld: cannot open -lc: No such file or
> directory
> Below are the stages the compiler manages to go through and the failure
> point
> Thanks
> [cosma@linuxserver]$ m68k-coff-gcc -v test.c -o tes
> Reading specs from /opt/uClinux/lib/gcc-lib/m68k-coff/
> gcc version
> /opt/uClinux/lib/gcc-lib/m68k-coff/ -lang-c -v -undef -D__GNUC__=
> 2 -D__GNUC_MINOR__=7 -Dmc68000 -D__mc68000__ -D__mc68000 -D__HAVE_68881__ -D
> mc68020 -D__mc68020__ -D__mc68020 test.c /tmp/ccBYm6x2.i
> GNU CPP version (68k, Motorola syntax)
> #include "..." search starts here:
> #include <...> search starts here:
> /opt/uClinux/lib/gcc-lib/m68k-coff/
> /opt/uClinux/lib/gcc-lib/m68k-coff/
> /opt/uClinux/m68k-coff/include
> End of search list.
> /opt/uClinux/lib/gcc-lib/m68k-coff/
> /tmp/ccBYm6x2.i -m68020 -quiet -dumpbase test.c -version -o /tmp/ccBYm6x2.s
> GNU C version (68k, Motorola syntax) compiled by GNU C version
> egcs-2.91.66 19990314 (egcs-1.1.2 release).
> /opt/uClinux/m68k-coff/bin/as -mc68020 -o /tmp/ccBYm6x21.o /tmp/ccBYm6x2.s
> /opt/uClinux/m68k-coff/bin/ld -o
> tes -L/opt/uClinux/lib/gcc-lib/m68k-coff/ -L/opt/uClinux/m68k-coff/li
> b /tmp/ccBYm6x21.o -lgcc -lc -lgcc
> /opt/uClinux/m68k-coff/bin/ld: cannot open -lc: No such file or directory
> This message resent by the list server

Free Tools! 
Machine Automation Tools (LinuxPLC) Free, Truly Open & Publicly Owned
Industrial Automation Software For Linux. 
Day Job: Heartland Engineering, Automation & ATE for Automotive
Consultancy: Wide Open Technologies: Moving Business & Automation to
This message resent by the list server

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST