Re: modules don't load -- help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gl34@xxxxxxxxx wrote:

Think a big part of the problem is I cannot update module-init-tools. Here's what happens:

Pindar@darkstar:~/module-init-tools-3.1$ make
source='lsmod.c' object='lsmod.o' libtool=no \
depfile='.deps/lsmod.Po' tmpdepfile='.deps/lsmod.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -
DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -
DVERSION=\"3.1\" -I. -I. -g -O2 -Wunused -Wall -c `test -f 'lsmod.c' || echo './'`lsmod.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from lsmod.c:26:
/usr/include/asm/errno.h:4: asm-generic/errno.h: No such file or directory
make: *** [lsmod.o] Error 1


Are you compiling against the correct headers for your kernel?
i.e. you should have a "linux" symlink in /usr/src to the kernel source:
linux --> /usr/src/linux-2.6.9
and another symlink "asm" in /usr/include:
asm --> /usr/src/linux/include/asm

Hope that helps.

--
William J Beksi                          <wjbeksi@xxxxxxxxxxxxxxxxxxxxx>
GPG Key Fingerprint = ED4B 32C3 69E6 C2B7 705C  263F CB2F 3253 E7E1 DB3B


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux