[PATCH] conflicting types for getline

Zoltan Devai zdevai@gmail.com
Wed Oct 28 14:05:00 GMT 2009


Hi All,

2009/10/28 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
> On Wednesday 28 October 2009 12:03:38 Zoltan Devai wrote:
>> While trying to build a toolchain with ct-ng 1.5.0,
>> arm-unknown-linux-uclibcgnueabi target,
>> [ERROR]    extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
>> [ERROR]    make[2]: *** [extra/scripts/unifdef] Error 1
>> [ERROR]    Build failed in step 'Installing C library headers'
>
> On what distribution are you trying to build? It works OK on my Debian Lenny.

It's Ubuntu Karmic (9.10), with glibc 2.10.1, AFAIK this is a problem
since glibc 2.10.

>> The following patch solves the problem.
>> (It's a backport of this uClibc commit:
>> http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e
>> )
> OK, could you re-submit after reading the "Contributing" section in
> docs/overview.txt, please?

I'd prefer not to deal with Mercurial just because of this, so I'd be
happy if you make the
actual patch.

Cheers,
Zoltan

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



More information about the crossgcc mailing list