On Thu, 2003-08-07 at 19:25, Andrey Borzenkov wrote:

> please, try hotplug, module-init-tools and initscripts from 
> http://supermount-ng.sf.net/mdk-25/ They should load mousedev automatically; 
> also this version of initscripts runs usb coldplug script instead of 
> /etc/init.d/usb so even devices available at boot should be properly 
> initialized. Besides, hotplug in cooker does not properly support 2.6.

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:

depmode=gcc3 /bin/sh ./depcomp \
i586-mandrake-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.13-pre\"  -I. -I.    
-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro 
-fno-omit-frame-pointer -Wunused -Wall -Wcast-align -c `test -f
'modinfo.c' || echo './'`modinfo.c
i586-mandrake-linux-gnu-gcc  -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro  -fno-omit-frame-pointer -Wunused -Wall -Wcast-align  
-o modinfo  modinfo.o
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
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


Reply via email to