Re: 2.4.0 Module compile error

Keith Owens (kaos@ocs.com.au)
Sat, 06 Jan 2001 18:35:33 +1100


On Fri, 05 Jan 2001 11:23:29 -0600,
George R. Kasica <georgek@netwrx1.com> wrote:
>>make[1]: Nothing to be done for `modules_install'.
>>make[1]: Leaving directory `/usr/src/linux-2.4.0/arch/i386/lib'
>>cd /lib/modules/2.4.0; \
>>mkdir -p pcmcia; \
>>find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
>>pcmcia
>>if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.0; fi
>>depmod: /lib/modules//2.2.18/modules.dep is not an ELF file
>>depmod: error reading ELF header

You have a broken modules.conf that tells depmod to scan _all_ of
/lib/modules or you have an old version of modules or you have some
weird symlinks in /lib/modules. It looks like you have some dangling
symlinks, although I cannot be certain about that.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/