[Evolution] Problem in evolution compile



Hi,

When evolution (latest cvs) tried to compile the following line (in
evolution/shell):

gcc -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml
-rdynamic -L/usr/lib -L/usr/X11R6/lib -lbonobo -lgdk_pixbuf -ltiff -ljpeg
-lpng -lgnomeprint -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk
-lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -ldb -ldl
-lxml -lz -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lnsl
-lm -o evolution e-component-registry.o e-corba-storage-registry.o
e-corba-storage.o e-folder-type-registry.o e-folder.o
e-local-folder.oe-local-storage.o e-setup.o
e-shell-folder-creation-dialog.o e-shell-folder-selection-dialog.o
e-shell-folder-title-bar.o e-shell-utils.o e-shell-view-menu.o
e-shell-view.o e-shell.o e-shortcuts-view.o e-shortcuts.o
e-storage-set-view.o e-storage-set.o e-storage.o evolution-shell-client.o
evolution-shell-component-client.o main.o libeshell.a
../widgets/shortcut-bar/libshortcut-bar.a ../widgets/e-paned/libepaned.a
../widgets/e-text/libetext.a ../widgets/misc/libemiscwidgets.a
../e-util/.libs/libeutil.al -lbonobo -lgdk_pixbuf -ltiff -ljpeg -lpng
-lgnomeprint -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk
-lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -ldb -ldl
-lxml -lz -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lnsl
-lm -L/usr/lib -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib
-lnsl -lm -rdynamic -L/usr/lib -L/usr/X11R6/lib -lbonobo -lgnomeprint
-loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lglade-gnome
-lglade -lxml -lgdk_pixbuf -ltiff -ljpeg -lpng -lz -lgnomecanvaspixbuf
-lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext
-lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl
-rdynamic -L/usr/lib -L/usr/X11R6/lib -lgconf -lgconf-gtk -lgtk -lgdk
-lgmodule -lglib -ldl -lXext -lX11 -lm

I got several linking errors like:

/usr/lib/libgconf-gtk.a(gconf-client.o): In function
`gconf_client_finalize':
gconf-client.o(.text+0x22b): undefined reference to
`gconf_listeners_destroy'
/usr/lib/libgconf-gtk.a(gconf-client.o): In function
`notify_from_server_callback':
gconf-client.o(.text+0x592): undefined reference to
`gconf_listeners_notify'
/usr/lib/libgconf-gtk.a(gconf-client.o): In function
`gconf_client_notify_add':
gconf-client.o(.text+0xb97): undefined reference to `gconf_listeners_new'
gconf-client.o(.text+0xbc4): undefined reference to `gconf_listeners_add'

I fixed this by swapping the -lgconf and -lgconf-gtk, as they were in the
wrong order.

Jeremy

-- 
Jeremy Sanders <jss ast cam ac uk>  http://www-xray.ast.cam.ac.uk/~jss/
Pembroke College, Cambridge. UK   Institute of Astronomy, Cambridge. UK





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