Quoting Christopher <[EMAIL PROTECTED]>
        from ml.softs.gtk-gnutella.devel:
:error when trying to compile w/defaults:
:cc -c -I.. -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 
:-I/usr/X11R6/include -I/usr/local/include -O2 utf8.c
:utf8.c: In function `locale_charset':
:utf8.c:529: `CODESET' undeclared (first use in this function)
:utf8.c:529: (Each undeclared identifier is reported only once
:utf8.c:529: for each function it appears in.)

OK.  We need a new metaconfig check for this one.
Indeed, CODESET is an X/Open standard constant for nl_langinfo().
It should be provided in <nl_types.h>.  Do you see it?

:utf8.c: In function `g_iconv_complete':
:utf8.c:680: warning: passing arg 2 of `libiconv' from incompatible pointer 
:type

I don't understand this.  The g_iconv() routine is a glib routine,
whose signature is correct here.  Do you know if g_iconv() is #defined
to something else on your system?  I see the error message refers to
`libiconv' but there's no such variable/function in utf8.c.  I need more
input to be able to perform a metaconfig test for that.

:
:One other thing that crops up and I'm not sure how or why, but again it's 
:consistant on both systems I tested it, is that I need to add -liconv during 
:the ./Configure stage.  This was helpfully suggested by the output when I 
:tried to build it, and does indeed make without errors with this answer to 
:the appropriate Configure prompt:
:
:Any additional libraries? [-lz -lintl -lresolv] -lz -lintl -lresolv -liconv

I'll add -liconv to the standard set of libraries to probe.

:There are also warnings on every compile line during make about BSD being 
:redefined, I'm not sure why this is as the config.h does wrap the definition 
:in an #ifndef - maybe it's the order of the #include lines but I didn't want 
:to mess with that not knowing the consequences.  To get rid of those warnings 
:I've successfully redefined BSD to match <params.h> - modifying line 47 of 
:config_h.SH to instead read:
:
:#$d_bsd BSD 199306

Well, since config.h is the very first include file, the #ifndef is
rather useless.  I'll get rid of it in a future release.

Raphael


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to