bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext-0.14.1 check failures


From: pete Spam-Avoider
Subject: Re: gettext-0.14.1 check failures
Date: Wed, 09 Feb 2005 00:18:11 -0500



     Hi Bruno,

>>      I've downloaded and compiled gettext-0.14.1.  Except
>>      for 9 'warnings'  of "makes pointer from integer
>>      without a cast" the compilation went fine.

>Uhh, this indicates problems in the configuration
>logic of gettext.  Could you please show the warnings
>(with filename and line numbers)?

     The 'warning' lines follow, i hope i haven't 
     edited out too much from the gcc lines:

        make[3]: Entering directory 
                `/usr/src/gettext-0.14.1/gettext-runtime/src'
        ...
        gcc ... -g -O2 -c -o ngettext-ngettext.o
                `test -f 'ngettext.c' || echo './'`ngettext.c
        ngettext.c: In function `main':
        ngettext.c:196: warning: passing arg 1 of `fputs'
                makes pointer from integer without a cast

        ...

        make[4]: Entering directory 
                `/usr/src/gettext-0.14.1/gettext-tools/src'

        ...

        gcc ... -g -O2 -c read-po-abstract.c  -fPIC -DPIC
                -o .libs/read-po-abstract.o
        read-po-abstract.c: In function `po_scan':
        read-po-abstract.c:194: warning: passing arg 3 of
                `error' makes pointer from integer without a
                cast

        ...

        gcc ... -g -O2 -c format-lisp.c  -fPIC -DPIC 
                -o .libs/format-lisp.o
        format-lisp.c: In function `check_params':
        format-lisp.c:2392: warning: passing arg 1 of 
                `xasprintf' makes pointer from integer
                without a cast
                -o .libs/format-lisp.o

        ...

        gcc ... -g -O2 -c -o msgcmp-msgcmp.o 
                `test -f 'msgcmp.c' || echo './'`msgcmp.c
        msgcmp.c: In function `compare':
        msgcmp.c:404: warning: passing arg 3 of `error' makes
                pointer from integer without a cast

        ...

        gcc ... -g -O2 -c -o msgfmt-msgfmt.o 
                `test -f 'msgfmt.c' || echo './'`msgfmt.c
        msgfmt.c: In function `main':
        msgfmt.c:582: warning: passing arg 2 of `fprintf' 
                makes pointer from integer without a cast
        msgfmt.c:587: warning: passing arg 2 of `fprintf' 
                makes pointer from integer without a cast
        msgfmt.c:593: warning: passing arg 2 of `fprintf'
                makes pointer from integer without a cast
        msgfmt.c: In function `check_plural':
        msgfmt.c:1083: warning: passing arg 5 of 
                `error_at_line' makes pointer from integer
                without a cast
        msgfmt.c:1098: warning: passing arg 5 of
                `error_at_line' makes pointer from integer
                without a cast



> This is more serious; it indicates that using gettext()
> from within C++ code won't likely work on your machine.
> The reason is maybe a <libintl.h> file that override
> gettext's <libintl.h> file.

     I've found two libintl.h's on my system, the later 
     one has declarations for the missing 'ngettext'. 
     I'll hide the older one.

     If you think it would be of use to you i could
     attach gzip'ed copies of the files i used to 
     capature the output of './configure' and 'make'.


     pete jordan
     x2164 AT mailcity com


-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10





reply via email to

[Prev in Thread] Current Thread [Next in Thread]