On 2003-08-07(Thu) 23:15:25 +0100, Adam Williamson wrote:
> OK, I rebuilt and installed initscripts and hotplug. However,
> module-init-tools does not rebuild correctly on my machine; it fails out
> with this error:
[......]

> i586-mandrake-linux-gnu-gcc  -O2 -fomit-frame-pointer -pipe -march=i586
> -mcpu=pentiumpro  -fno-omit-frame-pointer -Wunused -Wall -Wcast-align  
> -o insmod.static -static insmod.o
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status

Not sure if it's the '-static' option at work. Probably gcc wants to
find libc.a.

Abel


> make: *** [insmod.static] Error 1
> error: Bad exit status from /home/adamw/rpm/tmp/rpm-tmp.166 (%build)
> 
> Which is odd. As far as I understand it, shouldn't ld -lc work so long
> as glibc-devel is installed? Yes, glibc-devel IS installed. :) Any
> ideas? Or could you provide a binary RPM for me to test? For now, I
> removed and reinstalled the Cooker version, and that did indeed generate
> a modprobe.conf . Looks correct, too. I think it didn't when I first
> installed it because I had an older /etc/modprobe.conf from a failed
> attempt to use a 2.5.x kernel, so it wouldn't overwrite it.
> -- 
> adamw
> 
> 

-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to