Re: Header errors trying to build kernel in biarch chroot.
>>>>> "Hugo" == Hugo Mills <firstname.lastname@example.org> writes:
Hugo> I'm trying to build a kernel (vanilla 2.6.2) in my biarch chroot,
Hugo> and I'm getting this error very early on in the process:
You need to install lib64c6-dev.
Hugo> hrm@selene:linux-2.6 $ ARCH="x86_64" make HOSTCC="gcc-3.3 -m64"
Hugo> bzImage HOSTCC scripts/fixdep In file included from
Hugo> /usr/include/bits/socket.h:305, from /usr/include/sys/socket.h:35,
Hugo> from /usr/include/netinet/in.h:24, from scripts/fixdep.c:107:
Hugo> /usr/include/asm/socket.h:2:31: asm-x86_64/socket.h: No such file or
Hugo> directory make: *** [scripts/fixdep] Error 1 make: *** [scripts]
Hugo> Error 2
Hugo> /usr/include/asm-x86_64 doesn't exist on this machine. Is this an
Hugo> artefact of the current glibc breakage in the biarch distribution?
Hugo> -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net |
Hugo> lug.org.uk === PGP key: 1C335860 from wwwkeys.eu.pgp.net or
Hugo> http://www.carfax.org.uk --- The makers of Steinway pianos would like
Hugo> me to tell you that --- this is a Bechstein.