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

Olivier Perron
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
[EXTRA]    Installing headers
[DEBUG]    ==> Executing: 'make CROSS=
[ALL  ]    make[1]: Entering directory
[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
[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
at line # 88 in function 'do_libc_headers'
[ERROR]          called from
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


For unsubscribe information see

More information about the crossgcc mailing list