[Buildroot] for target toolchain to be compiled

Jonathan dumaresq jdumaresq at cimeq.qc.ca
Mon Nov 9 21:46:37 UTC 2009


Hi Peter,

-----Message d'origine-----
De : Peter Korsgaard [mailto:jacmet at gmail.com] De la part de Peter Korsgaard
Envoyé : 9 novembre 2009 16:42
À : Jonathan dumaresq
Cc : 'Peter Korsgaard'; buildroot at busybox.net
Objet : Re: [Buildroot] for target toolchain to be compiled

>>>>> "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

You rock... That fixed it. 

Jonathan




More information about the buildroot mailing list