undefined reference to gdk when building gnome-desktop / bonoboui samples
- From: Adam Morris <asm137 yahoo com>
- To: garnome-list gnome org
- Subject: undefined reference to gdk when building gnome-desktop / bonoboui samples
- Date: Fri, 21 Feb 2003 10:46:58 -0800 (PST)
I am getting undefined references to GtkScreen functions, but my gdk-x11-2.0 and
gtk-x11-2.0 (gtk2-2.0.6-8) libraries are installed.
The errors I am getting are:
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `gdk_screen_get_width'
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `gtk_widget_get_screen'
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `gdk_screen_get_height'
when building:
garnome-0.21.2/gnome/libbonoboui/work/main.d/libbonoboui-2.2.0/samples/bonoboui:
-----------------------------------------------------
/bin/sh ../../libtool --mode=link cc -I/root/garnome/include -I/usr/X11R6/include
-L/root/garnome/lib -L/usr/X11R6/lib -O2 -pipe -g -I/root/garnome/include
-I/usr/X11R6/include -L/root/garnome/lib -L/usr/X11R6/lib -O2 -pipe -g
-I/root/garnome/include -I/usr/X11R6/include -L/root/garnome/lib -L/usr/X11R6/lib -O2
-pipe -g -I/root/garnome/include -I/usr/X11R6/include -L/root/garnome/lib
-L/usr/X11R6/lib -O2 -pipe -L/root/garnome/lib -L/usr/X11R6/lib -L/root/garnome/lib
-L/usr/X11R6/lib -L/root/garnome/lib -L/usr/X11R6/lib -L/root/garnome/lib
-L/usr/X11R6/lib -o bonobo-hello hello.o ../../bonobo/libbonoboui-2.la
-L/root/garnome/lib -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgnome-2 -lbonobo-2
-lgnomevfs-2 -lbonobo-activation -lxml2 -lz -lgconf-2 -lORBit-2 -llinc -lgthread-2.0
-lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0
cc -I/root/garnome/include -I/usr/X11R6/include -O2 -pipe -g -I/root/garnome/include
-I/usr/X11R6/include -O2 -pipe -g -I/root/garnome/include -I/usr/X11R6/include -O2 -pipe
-g -I/root/garnome/include -I/usr/X11R6/include -O2 -pipe -o .libs/bonobo-hello hello.o
-L/root/garnome/lib -L/usr/X11R6/lib ../../bonobo/.libs/libbonoboui-2.so -lgnomecanvas-2
-lart_lgpl_2 -lpangoft2-1.0 /root/garnome/lib/libgnome-2.so /root/garnome/lib/libesd.so
/root/garnome/lib/libaudiofile.so /usr/lib/libpopt.so -lbonobo-2
/root/garnome/lib/libgnomevfs-2.so -lssl -lcrypto -lrt -lbonobo-activation
/usr/lib/libxml2.so -lz -lgconf-2 -lORBit-2 /usr/lib/liblinc.so -lgthread-2.0 -lpthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -Wl,--rpath -Wl,/root/garnome/lib
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `gdk_screen_get_width'
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `gtk_widget_get_screen'
../../bonobo/.libs/libbonoboui-2.so: undefined reference to `gdk_screen_get_height'
collect2: ld returned 1 exit status
make: *** [bonobo-hello] Error 1
-----------------------------------------------------
I can't figure it out. Am I looking at the wrong libraries? Is it something else? I'm
building on redhat 8.0, fully updated.
--Adam
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]