Re: building imlib under Solaris 2.6



Greetings...
 C Wayne Huling <wayne@smb.larc.nasa.gov> writes: 
  > 
  > I am having problems with imlib-1.9.4 under Solairs 2.6 using
  > gcc-2.8.1.  The problem is:
  > 
  > machine:Gnome/imlib-1.9.4/utils%make
  > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.        -I../gdk_imlib -I../gdk_iml
  \ ib   -I/usr/openwin/include -I/usr/opt/gnome-1.0/lib/glib/include -I/usr/op
  \ t/gnome-1.0/include  -I/usr/openwin/include -I/usr/opt/gnome-1.0/lib/glib/i
  \ nclude -I/usr/opt/gnome-1.0/include -I/usr/local/include -I/usr/opt/gnome-1
  \ .0/include  -g -O2 -c imlib_config.c
  > In file included from /usr/include/locale.h:47,
  >                  from imlib_config.c:35:
  > /usr/include/libintl.h:25: parse error before `const'
  > /usr/include/libintl.h:26: parse error before `const'
  > /usr/include/libintl.h:27: parse error before `const'
  > /usr/include/libintl.h:28: parse error before `const'
  > /usr/include/libintl.h:29: parse error before `const'
  > imlib_config.c: In function `add_onoff_visual':
  > imlib_config.c:1293: warning: passing arg 2 of `gtk_clist_new_with_titles' 
  \ from incompatible pointer type
  > make: *** [imlib_config.o] Error 1
  > 
  > I can't seem to figure out what is causing this parse error...  Any
  > one have a suggestion?
  > 
  > 
This is not the right solution I;m sure but it will allow it to
compile:

*** utils/imlib_config.c~       Fri Feb 12 02:08:24 1999
--- utils/imlib_config.c        Fri Mar 19 13:03:07 1999
***************
*** 2,7 ****
--- 2,8 ----
  #ifndef GNOMELOCALEDIR
  #define GNOMELOCALEDIR "/usr/share/locale"
  #endif
+ #define ENABLE_NLS
  #ifdef ENABLE_NLS
  #    include <libintl.h>
  #    define _(String) gettext (String)

							Miguel

Miguel Marques, York University, Computing & Communications Services
e-mail: miguel@yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830



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