Click to See Complete Forum and Search --> : Kernel Error


cs02rm0
06-01-2004, 09:13 AM
# make menuconfig
HOSTCC scripts/basic/fixdep
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 611: elf_machine_rel_relative:
Assertion `((reloc->r_info) & 0xff) == 8' failed!
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2


That's the size of it. I've tried different kernel versions (all 2.6.x) from different servers. I also get the same error with make xconfig, make gconfig, etc.

It's a Slackware current system. I'd be grateful for any suggestions to fix this :)

hard candy
06-01-2004, 11:23 AM
First run "/sbin/ldconfig". See if there are any errors generated. If that does not work, try "depmod -ae". Also make sure the /usr/src/linux is a link to the proper kernel source.

cs02rm0
06-01-2004, 11:49 AM
Thanks for the reply.

ldconfig and depmod -ae produce no errors.
/usr/src/linux has been setup to link to /usr/src/linux-2.6.6 at the moment. (Because it's 2.6.6 that I'm using.)

cybertron
06-01-2004, 12:56 PM
Just out of curiousity, have you tried running make *config again (* being x or menu or whatever)? Sometimes running ldconfig fixes stuff like that on its own.

cs02rm0
06-01-2004, 01:11 PM
Yes, several times. No luck though.

JohnT
06-01-2004, 01:20 PM
Check your pre-install against this......HERE (http://www.geocities.com/jtarin47/linux/Kernel_2.6_tutorial.html)

cs02rm0
06-01-2004, 01:41 PM
Of course, thank you! Been a while since I've done those checks! ld -v failed with the same error so I removed and installed binutils again, this time it worked and so did make menuconfig. Off to try and compile her now.

Thanks, solved successfully :)

JohnT
06-01-2004, 02:36 PM
Your welcome......... and another 2.4 bites the dust.:D