On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: > I built a test kernel with i2c /proc option and that worked. > However, to run sensors-detect I need the /dev option so I went back > to menuconfig and checked it. I did make dep && make clean bzImage > modules modules_install > > and got the errors shown below (these are from bug 10629 - I have > 2.4.20-xfs-r3). Bugzilla lists this and the comment from Brandon is > this is not a bug - we have to insure the deps we build this agains > are the same we build the kernel with. Okay - how do I do that??? > > This kernel is the same one I've been running with for a couple of > weeks, same /usr/src/linux tree. I built the kernel with the /proc > i2c option with no problem - booted it and it worked - so I just went > back and added the /dev option. Now it's broken. I tried running > make mrproper, restoring my .config and running the make dep && .... > command. I also tried make clean. None of that works. I even did > depmod -a before building these. > > Any ideas on how to get the modules to "insure my deps" are proper? > > Thanks. > > depmod: i2c_bit_del_bus_R88f4afaf > depmod: i2c_bit_add_bus_R933524db > depmod: *** Unresolved symbols in > /lib/modules/2.4.19-gentoo-r10/misc/i2c-i810.o > depmod: i2c_bit_del_bus_R88f4afaf > depmod: i2c_bit_add_bus_R933524db > depmod: *** Unresolved symbols in > /lib/modules/2.4.19-gentoo-r10/misc/i2c-savage > 4.o > depmod: i2c_bit_del_bus_R88f4afaf > depmod: i2c_bit_add_bus_R933524db > depmod: *** Unresolved symbols in > /lib/modules/2.4.19-gentoo-r10/misc/i2c-via.o > depmod: i2c_bit_del_bus_R88f4afaf > depmod: i2c_bit_add_bus_R933524db > depmod: *** Unresolved symbols in > /lib/modules/2.4.19-gentoo-r10/misc/i2c-voodoo > 3.o > depmod: i2c_bit_del_bus_R88f4afaf > depmod: i2c_bit_add_bus_R933524db
This looks like a bug to me - it's been around ages. Whenever I emerge lm-sensors (usually following a kernel build) I follow with this: rm /lib/modules/$(uname -r)/misc/i2c-hydra.o rm /lib/modules/$(uname -r)/misc/i2c-i810.o rm /lib/modules/$(uname -r)/misc/i2c-savage4.o rm /lib/modules/$(uname -r)/misc/i2c-via.o rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o ...because they _always_ give unresolved symbols. Peter -- [EMAIL PROTECTED] mailing list
