>and ran ...
>
># CC=arm-linux-gcc ./configure arm-linux --build=i
>686-pc-linux-gnu --prefix=/usr/local/arm/glibc/arm-linux-glibc
>-enable-add-ons --with-headers=/usr/src/linux-2.0.36/include

Jason,

A similar problem again I think.  It matters which architecture the kernel 
is configured for, and it looks like this is an i586 kernel source tree.  In 
fact the i386 and ARM headers and APIs are similar enough that the compilation 
would very nearly have worked.  Fortunately the i386 does indirect syscalls 
rather differently.

The version.h file is only created during the kernel compile process.  You 
need to at least do `make config' to generate it.  Get hold of an ARM kernel 
source tree, check that ARCH is set to `arm' in the makefile, configure the 
kernel and then point the glibc compile at it.  If you put symlinks to the 
kernel source tree in $PREFIX/include/{asm,linux} you can do without the 
--with-headers option.

If that really was an ARM kernel source tree then I guess the problem must be 
somewhere else.

BTW, I noticed you're using glibc-2.0.111.  I have a feeling that version was 
rather buggy.  To save more grief in the future you might like to get the 
official 2.1 release from ftp://sourceware.cygnus.com/pub/glibc/ and try your 
luck with that instead.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to