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

Re: Header errors trying to build kernel in biarch chroot.

You may need to apt-get install kernel-headers-xxxxx

Or try the pure64 chroot and see if it works there (you can omit the
-m64 in that environment)

-- John

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

Reply to: