You are not logged in.
Pages: 1
I just installed arch 0.7.2 on my laptop, but im having trouble compiling a new kernel. Does anyone have any idea what this means:
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:204: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:204: error: for each function it appears in.)
scripts/basic/fixdep.c:204: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:300: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:300: warning: unused variable 's'
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
==> ERROR: Build Failed. Aborting...
Offline
Did you get the source from kernel.org? Arch does not install it by default.
Offline
Yes, it's the 2.6.17.11 (and i checked 2.6.7.10). This happens when ever I try make xconfig or make menuconfig and when i run makepkg with the pkgbuild from the custom ABS wiki. It looks like i'm missing some files somewhere.
Offline
figured it out, needed to reinstall kernel-headers, something must have been corrupted
Offline
Pages: 1