arm-unknown-linux-uclibcgnueabi fails on linux amd64 host

Olivier Perron olivier.perron12@gmail.com
Wed Nov 4 09:44:00 GMT 2009


Hello all,

I'm trying to build the arm-unknown-linux-uclibcgnueabi cross compiler
with crosstool-ng 1.5.
I have just taken the sample configuration and the build is successull
on a 32bits linux host.
However, on a 64bits linux host, the build fails like this:

[ALL  ]      LN include/sys/io.h
[ALL  ]      LN include/sys/procfs.h
[ALL  ]      LN include/sys/ucontext.h
[ALL  ]      LN include/sys/user.h
[ALL  ]    make[1]: Leaving directory
`/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
[EXTRA]    Installing headers
[DEBUG]    ==> Executing: 'make CROSS=
PREFIX=/data/share/x-tools/arm-unknown-linux-uclibcgnueabi/arm-unknown-linux-uclibcgnueabi//sys-root/
install_headers'
[ALL  ]    make[1]: Entering directory
`/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
[ALL  ]      HOSTCC extra/scripts/unifdef
[ERROR]    extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ALL  ]    /usr/include/stdio.h:651: note: previous declaration of
'getline' was here
[ERROR]    make[1]: *** [extra/scripts/unifdef] Error 1
[ALL  ]    make[1]: Leaving directory
`/data/share/crosstool/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc-headers'
[ERROR]    Build failed in step 'Installing C library headers'
[ERROR]    Error happened in
'/usr/local/crosstool-ng-1.5.1/lib/ct-ng-1.5.1/scripts/functions' in
function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/crosstool-ng-1.5.1/lib/ct-ng-1.5.1/scripts/build/libc/uClibc.sh'
at line # 88 in function 'do_libc_headers'
[ERROR]          called from
'/usr/local/crosstool-ng-1.5.1/lib/ct-ng-1.5.1/scripts/crosstool-NG.sh'
at line # 544 in function 'main'
[ERROR]    Look at
'/data/share/x-tools/arm-unknown-linux-uclibcgnueabi/build.log' for
more info on this error.
[ERROR]  (elapsed: 6:56.50)



So I suspect there is something wrong with the config of my 64bits
host, but what ?
I'd appreciate any hint on what I should look for !

Thanks for your help

Olivier

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list