compilation error on solaris 2.6



Hello, ...

i am trying to compile gnome 0.30 on my solaris 2.6 box, and compilation stopped at the following point :

/*----------------------------------------------------------------------------*/
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/users/graphique/luther/include -I/users/graphique/luther/lib/glib/include -I/users/graphique/luther/include -DWITH_GTK -DDEBUG -DGNOME_LIB -I/users/graphique/luther/lib/glib/include -I/users/graphique/luther/include -g -O2 -Wall -c XmHTML.c >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/users/graphique/luther/include -I/users/graphique/luther/lib/glib/include -I/users/graphique/luther/include -DWITH_GTK -DDEBUG -DGNOME_LIB -I/users/graphique/luther/lib/glib/include -I/users/graphique/luther/include -g -O2 -Wall  -c gtk-error.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/users/graphique/luther/include -I/users/graphique/luther/lib/glib/include -I/users/graphique/luther/include -DWITH_GTK -DDEBUG -DGNOME_LIB -I/users/graphique/luther/lib/glib/include -I/users/graphique/luther/include -g -O2 -Wall -c -fPIC -DPIC gtk-error.c
gtk-error.c:66: conflicting types for `__XmHTMLWarning'
gtk-error.c:66: A parameter list with an ellipsis can't match
gtk-error.c:66: an empty parameter name list declaration.
XmHTMLI.h:994: previous declaration of `__XmHTMLWarning'
gtk-error.c:145: conflicting types for `__XmHTMLError'
gtk-error.c:145: A parameter list with an ellipsis can't match
gtk-error.c:145: an empty parameter name list declaration.
XmHTMLI.h:1001: previous declaration of `__XmHTMLError'
make[2]: *** [gtk-error.lo] Error 1
make[2]: Leaving directory `/users/graphique/luther/build/gnome-libs-0.30/gtk-xmhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/users/graphique/luther/build/gnome-libs-0.30'
make: *** [all-recursive-am] Error 2
/*----------------------------------------------------------------------------*/

i don't have time to investigate it more right now, so i just send this information. hopefully i will find more time to check it later, in the mean time any quick fix will be welcome.

also note that on my machine, libtool don't set thisdir correctly (it is set to nothing) so i just hard defined it to compile some more.

Friendly,

Sven LUTHER
.



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