getline conflict error

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu Nov 26 18:49:00 GMT 2009


Carl,
All,

On Thursday 26 November 2009 18:40:36 piper.guy1 wrote:
> Sorry to ask again but I didn't get a response yet. Any ideas on this?

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

This has already been dealt with at least twice on the list, search the
archives.

Here's the thread containing the answer:
http://sourceware.org/ml/crossgcc/2009-10/msg00066.html

And here's the corresponding commit in the crosstool-NG repository:
http://ymorin.is-a-geek.org/hg/crosstool-ng/rev/1ba79f2126df

And the same commit backported to the 1.5 branch:
http://ymorin.is-a-geek.org/hg/crosstool-ng/rev/01d01185eb18

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



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



More information about the crossgcc mailing list