I experience the same problem on Solaris 2.8 with gcc-3.2.  It has to do 
with visibility of const variables outside their translation units and 
so far I haven't figured out a better way to fix it than the following:

Modify gtk/gtkmain.c and gtk/gtkmain.h to remove the "const" specifier 
from the declarations of these variables.

You'll also want to do this for gtk_text_unknown_char_utf8 - fixed in 
gtktexttypes.[ch] by removing const from declaration.

You should be fine after that.

Larry


Billy Patton wrote:

>I get the following error from the tests directory:
>
>Making install in tests
>make[1]: Entering directory `/data/cdmg/opt/temp/gtk+-2.0.6/tests'
>/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall  -o testgtk  prop-editor.o 
>testgtk.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la 
>../gtk/libgtk-x11-2.0.la 
>gcc -g -O2 -Wall -o .libs/testgtk prop-editor.o testgtk.o  
>../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/data/cdmg/opt/gtk.2.0.6/lib 
>../gdk/.libs/libgdk-x11-2.0.so -L/apps/X11R6.new/lib ../gtk/.libs/libgtk-x11-2.0.so 
>/data/cdmg/opt/temp/gtk+-2.0.6/gdk/.libs/libgdk-x11-2.0.so 
>/data/cdmg/opt/temp/gtk+-2.0.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXext -lX11 
>-lsocket -lnsl /data/cdmg/opt/gtk.2.0.6/lib/libpangox-1.0.so 
>/data/cdmg/opt/gtk.2.0.6/lib/libpango-1.0.so 
>/data/cdmg/opt/gtk.2.0.6/lib/libatk-1.0.so 
>/data/cdmg/opt/gtk.2.0.6/lib/libgobject-2.0.so 
>/data/cdmg/opt/gtk.2.0.6/lib/libgmodule-2.0.so -ldl 
>/data/cdmg/opt/gtk.2.0.6/lib/libglib-2.0.so -lm -R/data/cdmg/opt/gtk.2.0.6/lib
>ld: warning: file /data/cdmg/opt/temp/gtk+-2.0.6/gdk/.libs/libgdk-x11-2.0.so: linked 
>to ../gdk/.libs/libgdk-x11-2.0.so: attempted multiple inclusion of file
>ld: warning: file 
>/data/cdmg/opt/temp/gtk+-2.0.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so: linked to 
>../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so: attempted multiple inclusion of file
>Undefined                       first referenced
> symbol                             in file
>gtk_minor_version                   testgtk.o
>gtk_micro_version                   testgtk.o
>gtk_major_version                   testgtk.o
>ld: fatal: Symbol referencing errors. No output written to .libs/testgtk
>make[1]: *** [testgtk] Error 1
>make[1]: Leaving directory `/data/cdmg/opt/temp/gtk+-2.0.6/tests'
>make: *** [install-recursive] Error 1
>
>_______________________________________________
>gtk-list mailing list
>[EMAIL PROTECTED]
>http://mail.gnome.org/mailman/listinfo/gtk-list
>
>  
>

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to