Re: Gettext-0.10.35 won't compile; Trying desperately to supportgnome!!!



Not sure as to the cause, but it seems your C library has the
getline/getdelim functions already.  I didn't have this problem on my
system (libc5).  In fact, my C library file (/usr/include/stdio.h) has
getline #if 0'd out, and getdelim only gets used if __USE_GNU is defined.
It says you shouldn't use getline as a name, as it is too common.
Apparently so. :)  Are you using glibc (libc6) ?  Maybe that's different
in respect to this function, don't know...

But try commenting out the function declarations for getline and getdelim
in ./gettext-0.10.35/lib/getline.h

See if it compiles and/or works.. 

Steve

On Sat, 5 Dec 1998, Steven L.Sesar wrote:

> Here's my latest problem with my quest to compile gnome successfully. I
> just grabbed gettext-0.10.35 from ftp.alpha.gnu.org configured & typed make.
> This is the output:
> 
> In file included from msgfmt.c:42:
> .../lib/getline.h:31: conflicting types for `getline'
> /usr/include/stdio.h:194: previous declaration of `getline'
> .../lib/getline.h:34: conflicting types for`getdelim'
> /usr/include/stdio.h:193: previous declaration of `getdelim'
> make[2]: ***[msgfmt.o] Error 1
> make[2] Leaving directory `/home/limo/gettext-0.10.35/src'
> make[1]: Leaving directory `/home/limo/gettext-0.10.35'
> make: *** [all-recursive-am] Error 2
> 
> What's going on here?
> 
> Steven
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]