[clug] compiling problem

Adrian Blake adrian.blake at ieee.org
Wed Nov 29 11:50:18 GMT 2006


Problem solved ... simple answer ... thanks

Martijn van Oosterhout wrote:
> On Wed, Nov 29, 2006 at 09:37:48PM +1100, Adrian Blake wrote:
>> I am trying to compile someone else's software and I get the following 
>> error. In this instance I cannot fathom what path to take to resolve the 
>> problem.
>>
> <snip>
>> /usr/bin/ld: cannot find -lc
>> collect2: ld returned 1 exit status
>>
>>   the compiling direction is:
>> gcc -static -O2 -g -Wall decreasoner.c -o decreasoner
> 
> Given you're using -static, I imagine it's complaining you don't have
> the static C library installed. Does it work if you leave that out?
> 
> Have a nice day,

-- 
Adrian Blake
Molonglo Radio Observatory
University of Sydney
1152 Hoskinstown Rd
Bungendore 2621
ph. 02 80042212  mobile 0407 232 978

http://150.101.125.30


More information about the linux mailing list