Post by evis
我在安装module-init-tools的时候,make moveold后,make的时候出现如下错误:
source='lsmod.c' object='lsmod.o' libtool=no \
depfile='.deps/lsmod.Po' tmpdepfile='.deps/lsmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.0\" -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:31: asm-generic/errno.h: 没有那个文件或目录
In file included from lsmod.c:30:
backwards_compat.c: In function `try_old_version':
backwards_compat.c:57: `ENOSYS' undeclared (first use in this function)
backwards_compat.c:57: (Each undeclared identifier is reported only once
backwards_compat.c:57: for each function it appears in.)
make: *** [lsmod.o] Error 1