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



On Sat, 05 Dec 1998, Stephen Rust wrote:
>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 

Commenting that out seemed ok. The compiler didn't complain about that, but it
bombed seconds after with the following error. Any ideas?
 > 
>In file included from ../lib/printf.h:25,
                 from msgfmt.c:43:
/usr/lib/gcc-lib/powerpc-unknown-linux/2.7.2.1-ppclinux/include/stddef.h:116: two or more data types in declaration of `ptrdiff_t'
/usr/lib/gcc-lib/powerpc-unknown-linux/2.7.2.1-ppclinux/include/stddef.h:116: two or more data types in declaration of `ptrdiff_t'
make[2]: *** [msgfmt.o] Error 1
make[2]: Leaving directory `/home/limo/limo/gettext-0.10.35/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/limo/limo/gettext-0.10.35'
make: *** [all-recursive-am] Error 2
[root@Limo gettext-0.10.35]#
[root@Limo gettext-0.10.35]#     



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