[Buildroot] for target toolchain to be compiled

Peter Korsgaard jacmet at uclibc.org
Mon Nov 9 21:41:40 UTC 2009


>>>>> "Jonathan" == Jonathan dumaresq <jdumaresq at cimeq.qc.ca> writes:

 Jonathan> Hi Peter,
 Jonathan> See the log file attached

 Jonathan>   HOSTCC extra/scripts/unifdef
 Jonathan> extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
 Jonathan> /usr/include/stdio.h:651: note: previous declaration of 'getline' was here

Ok, so that's the problem with unifdef defining a getline function which
conflicts with a function in the C library in never versions of glibc
with the same name.

You need to ensure that the
toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch gets applied to
your toolchain build - presumably by moving it to
toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5 and renaming
it to uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch

Let me know if that works for you, then I'll fix it in git.
-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list