Re: Problems compiling Imlib



On Tue, 4 May 1999, Brian Davis wrote:

| Here is following output when I try to compile Imlib on a Sun workstation:
| 
| make[2]: Entering directory
| `/users/bridavis/gnome-source/imlib-1.9.4/utils'
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.        -I../gdk_imlib
| -I../gdk_imlib   -I/usr/openwin/include
| -I/users/bridavis/gnome/lib/glib/include -I/users/bridavis/gnome/include
| -I/usr/openwin/include -I/users/bridavis/gnome/lib/glib/include
| -I/users/bridavis/gnome/include -I/users/bridavis/gnome/include
| -I/users/bridavis/gnome/include  -g -O2 -c imlib_config.c
| In file included from
| /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/locale.h:23,
|                  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[2]: *** [imlib_config.o] Error 1
| make[2]: Leaving directory
| `/users/bridavis/gnome-source/imlib-1.9.4/utils'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/users/bridavis/gnome-source/imlib-1.9.4'
| make: *** [all-recursive-am] Error 2
| 
| 
| Any ideas?

There seems to be a bug/feature in imlib 1.9.3 and 1.9.4 that produces
this error on Solaris. Try imlib 1.9.2 instead, that worked for me.

-trond



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