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

Compilation stops while getting kernel headers



Hello,

When trying to compile ttylinux i486 i encounter the following error
in file "_log.3.kernel_headers" and the compilation stops here.
Is there a patch available ?

Output is :
"
Building cross-development tool chain.
  Host: x86_64-pc-linux-gnu
Target: i486-generic-linux-gnu
 Tools: binutils-2.19 gcc-4.2.4
 GLIBC: glibc-2.9
Kernel: i386 linux-2.6.20

Building binutils-2.19 ............ done [binutils-2.19 is complete]
Building gcc-4.2.4 Stage 1 ........ done
Getting linux-2.6.20 Headers ......
"

Log file is :
"
Finding, uncompressing, untarring linux-2.6.20
Using /home/damien/progs/ttylinux-src-mp4/cross-tools-2.9-2.6.20/_pkg-
src/linux-2.6.20.tar.bz2
Exporting i386 kernel header files (i486-generic-linux-gnu).
scripts/basic/fixdep.c: In function 'traps':
scripts/basic/fixdep.c:371: warning: dereferencing type-punned pointer
will break strict-aliasing rules
scripts/basic/fixdep.c:373: warning: dereferencing type-punned pointer
will break strict-aliasing rules
scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:671: note: previous declaration of 'getline' was
here
make[2]: *** [scripts/unifdef] Error 1
make[1]: *** [headers_install] Error 2
"