Re: imlib compilation error on Solaris



"Moya Piernavieja Rodrigo" <rmoya@mail.fujitsu.es> writes:

> I get the following errors:
> 
> Making all in utils
> gmake[2]: Entering directory `/export/desarrollo/rodrigo/src/gnome/imlib/utils'
> /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.       -I../gdk_imlib -I../gd
> k_imlib   -I/usr/local/lib/glib/include -I/usr/local/include  -I/usr/local/lib/glib/in
> clude -I/usr/local/include -I/usr/local/include -I/usr/local/include  -g -c imlib_conf
> ig.c
> "/usr/include/libintl.h", line 25: syntax error before or at: const
> "/usr/include/libintl.h", line 25: syntax error before or at: )
> "/usr/include/libintl.h", line 25: warning: syntax error:  empty declaration
...

Try this patch:

--- imlib_config.c~     Fri Feb 12 08:08:24 1999
+++ imlib_config.c      Wed Mar 17 21:40:13 1999
@@ -2,6 +2,7 @@
 #ifndef GNOMELOCALEDIR
 #define GNOMELOCALEDIR "/usr/share/locale"
 #endif
+#include <locale.h>
 #ifdef ENABLE_NLS
 #    include <libintl.h>
 #    define _(String) gettext (String)
@@ -32,7 +33,6 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
-#include <locale.h>

 GtkWidget          *note = NULL;
 GtkWidget          *pg1 = NULL;



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