Hello!

toolchain:
OSELAS.Toolchain-1.99.3.2

ptxconfig:
powerpc-603e-linux-gnu_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-
sanitized.ptxconfig

1. Cannot build toolchain with current ptxdist-trunk (rev. 10822).
Get the following error:
"error in kgen"

2. Cannot build with "ptxdist-1.99.13".
The problem here is IMHO not the ptxdist version but the definition of 
'getline' in 'scripts/unifdef.c' and the using of recent glibc (e.g. 2.10.1).
Now getline is defined in: /usr/include/stdio.h

------------------------------
target: kernel-headers.install
------------------------------

make -C /home/maggu2810/ptx/toolchain/OSELAS.Toolchain-1.99.3.2/platform-
powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-
sanitized/build-target/linux-2.6.27 ARCH=powerpc 
CROSS_COMPILE=we_dont_have_a_cross_compiler_yet- -j2 headers_install 
INSTALL_HDR_PATH=/opt/OSELAS.Toolchain-1.99.3/powerpc-603e-linux-
gnu/gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/sysroot-
powerpc-603e-linux-gnu/usr
make[1]: we_dont_have_a_cross_compiler_yet-gcc: Command not found
make[1]: Entering directory 
`/home/maggu2810/ptx/toolchain/OSELAS.Toolchain-1.99.3.2/platform-
powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-
sanitized/build-target/linux-2.6.27'
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/unifdef
scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here
make[2]: make[1]: Leaving directory 
`/home/maggu2810/ptx/toolchain/OSELAS.Toolchain-1.99.3.2/platform-
powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-
sanitized/build-target/linux-2.6.27'
*** [scripts/unifdef] Error 1
make[1]: *** [__headers] Error 2
make: *** [/home/maggu2810/ptx/toolchain/OSELAS.Toolchain-1.99.3.2/platform-
powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-
sanitized/state/kernel-headers.install] Error 2



-- 

Markus Rathgeb
Public Key Server: http://wwwkeys.us.pgp.net/ bzw. hkp://wwwkeys.us.pgp.net/
Public Key Server: http://stinkfoot.org:11371/ bzw. hkp://stinkfoot.org

"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!" 


Attachment: signature.asc
Description: This is a digitally signed message part.

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to