Re: [Evolution] Problem compiling latest CVS version of gal.



On Thu, 2003-02-20 at 17:26, Michael-John Anthony wrote:
Thanks Dan - this is now compiling.

Just out of interest, there's some cool messages being generated from
the compile: ;)

e-paned.c:138:2: warning: #warning removed expose
e-paned.c:371:2: warning: #warning FIXME: badly broken

These are warnings for the developers benefit, so we dont forget to fix
various hacks or commented out code that was done during the gnome 2
porting process.  They can safely be ignored.

Btw - this is also a problem when compiling Evolution 1.3:

Looks like the same -lX11 problem ...

make[4]: Entering directory `/tmp/1.3/1.3/evolution/shell'
/bin/bash ../libtool --mode=link gcc  -mcpu=ultrasparc -mtune=ultrasparc
-m32 -I/opt/evolution-1.3/include -O3 -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations   -L/opt/evolution-1.3/lib
-o evolution  Evolution-Addressbook-SelectNames-common.o
Evolution-Addressbook-SelectNames-skels.o
Evolution-Addressbook-SelectNames-stubs.o  e-activity-handler.o
e-component-info.o e-component-registry.o e-corba-config-page.o
e-corba-shortcuts.o e-corba-storage-registry.o e-corba-storage.o
e-folder-dnd-bridge.o e-folder-type-registry.o e-gray-bar.o e-history.o
e-icon-factory.o e-local-folder.o e-local-storage.o e-setup.o
e-shell-about-box.o e-shell-config.o e-shell-config-autocompletion.o
e-shell-config-offline.o e-shell-config-default-folders.o
e-shell-config-folder-settings.o e-shell-folder-commands.o
e-shell-folder-creation-dialog.o e-shell-folder-selection-dialog.o
e-shell-folder-title-bar.o e-shell-importer.o e-shell-offline-handler.o
e-shell-offline-sync.o e-shell-settings-dialog.o
e-shell-shared-folder-picker-dialog.o e-shell-startup-wizard.o
e-shell-user-creatable-items-handler.o e-shell-utils.o
e-shell-view-menu.o e-shell-view.o e-shell.o e-shortcuts-view-model.o
e-shortcuts-view.o e-shortcuts.o e-splash.o e-storage-set-view.o
e-storage-set.o e-storage.o e-task-bar.o e-task-widget.o
e-uri-schema-registry.o evolution-storage-set-view.o
evolution-storage-set-view-factory.o main.o libeshell.la
importer/libevolution-importer.la
../widgets/e-timezone-dialog/libetimezonedialog.a
../widgets/misc/libemiscwidgets.a ../e-util/libeutil.la
../libical/src/libical/libical-evolution.la -threads
-L/opt/evolution-1.3/lib -lgal-2.0 -lglade-2.0 -lgtkhtml-3.0
-lgtkhtml-a11y-3.0 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2
-lbonoboui-2 -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2
-lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lgnomeprint-2-2
-lgnomecanvas-2 -lxml2 -lz -lsocket -lnsl -lart_lgpl_2 -lpangoft2-1.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -liconv    
gcc -mcpu=ultrasparc -mtune=ultrasparc -m32 -I/opt/evolution-1.3/include
-O3 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -o
.libs/evolution Evolution-Addressbook-SelectNames-common.o
Evolution-Addressbook-SelectNames-skels.o
Evolution-Addressbook-SelectNames-stubs.o e-activity-handler.o
e-component-info.o e-component-registry.o e-corba-config-page.o
e-corba-shortcuts.o e-corba-storage-registry.o e-corba-storage.o
e-folder-dnd-bridge.o e-folder-type-registry.o e-gray-bar.o e-history.o
e-icon-factory.o e-local-folder.o e-local-storage.o e-setup.o
e-shell-about-box.o e-shell-config.o e-shell-config-autocompletion.o
e-shell-config-offline.o e-shell-config-default-folders.o
e-shell-config-folder-settings.o e-shell-folder-commands.o
e-shell-folder-creation-dialog.o e-shell-folder-selection-dialog.o
e-shell-folder-title-bar.o e-shell-importer.o e-shell-offline-handler.o
e-shell-offline-sync.o e-shell-settings-dialog.o
e-shell-shared-folder-picker-dialog.o e-shell-startup-wizard.o
e-shell-user-creatable-items-handler.o e-shell-utils.o
e-shell-view-menu.o e-shell-view.o e-shell.o e-shortcuts-view-model.o
e-shortcuts-view.o e-shortcuts.o e-splash.o e-storage-set-view.o
e-storage-set.o e-storage.o e-task-bar.o e-task-widget.o
e-uri-schema-registry.o evolution-storage-set-view.o
evolution-storage-set-view-factory.o main.o -threads 
-L/opt/evolution-1.3/lib ./.libs/libeshell.so
importer/.libs/libevolution-importer.so
/tmp/1.3/1.3/evolution/e-util/.libs/libeutil.so -L/usr/local/lib
-L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/ucblib -lm
-ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -ldl -lm -lm
-ldl -ldl -lm -ldl -ldl -lm -lm -ldl -lm -lm -ldl -ldl -lm -lm -ldl -ldl
-ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -ldl -lm -lm -ldl -ldl
-lm -ldl -ldl -lm -lm -ldl -lm -lm -ldl -ldl -lm -lm -ldl -ldl -ldl -lm
-ldl -lm -ldl -lm -ldl -ldl -lm -lm -ldl -ldl -ldl -lm -ldl -lm -ldl -lm
-ldl -lm -ldl -lm -ldl -ldl -lm -lm -ldl -ldl -lm -ldl -ldl -lm -lm -ldl
-lm -lm -ldl -ldl -lm -lm -ldl -ldl -ldl -lm -ldl -lm -ldl -lm -ldl -ldl
-lm -lm -ldl -ldl -ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -lm
-ldl -ldl -lm -lm -ldl -ldl -ldl -lm -lm -ldl -lm -lm -ldl -ldl -lm -lm
-ldl -ldl -ldl ../widgets/e-timezone-dialog/libetimezonedialog.a
../widgets/misc/libemiscwidgets.a ../e-util/.libs/libeutil.so -lm -ldl
/opt/evolution-1.3/lib/libsoup-2.0.so -lpthread
../libical/src/libical/.libs/libical-evolution.so
/opt/evolution-1.3/lib/libgal-2.0.so
/opt/evolution-1.3/lib/libglade-2.0.so -lm -ldl
/opt/evolution-1.3/lib/libgtkhtml-3.0.so -lm -ldl -lm -ldl -lm -ldl -lm
-ldl -lm -ldl -ldl -lm -lm -ldl -ldl -lm -ldl -ldl -lm -lm -ldl -lm -lm
-ldl -ldl -lm -lm -ldl -ldl -ldl -lm -ldl -lm -ldl -lm -ldl -lm -ldl -lm
-ldl -ldl -lm -lm -ldl -ldl -lm -ldl -ldl -lm -lm -ldl -lm -lm -ldl -ldl
-lm -lm -ldl -ldl -ldl -lm -ldl -lm -ldl -lm -ldl -ldl -lm -lm -ldl -ldl
-ldl /opt/evolution-1.3/lib/libgtkhtml-a11y-3.0.so -lm -ldl -lm -ldl -lm
-ldl -lm -ldl -lm -ldl -ldl -lm -lm -ldl -ldl -lm -ldl -ldl -lm -lm -ldl
-lm -lm -ldl -ldl -lm -lm -ldl -ldl -ldl
/opt/evolution-1.3/lib/libgailutil.so -lm -ldl -lm -ldl -lm -ldl -ldl
-lm -lm -ldl -ldl -ldl /opt/evolution-1.3/lib/libgnomeui-2.so -lm -ldl
/usr/local/lib/libjpeg.so -lSM -lICE
/opt/evolution-1.3/lib/libgnomeprintui-2-2.so -lm -ldl
/opt/evolution-1.3/lib/libbonoboui-2.so -lm -ldl
/opt/evolution-1.3/lib/libgnome-2.so -lm -ldl
/opt/evolution-1.3/lib/libbonobo-2.so
/opt/evolution-1.3/lib/libORBitCosNaming-2.so -lm -ldl -lm -ldl
/opt/evolution-1.3/lib/libgnomevfs-2.so
/opt/evolution-1.3/lib/libgconf-2.so -ldl -lm -lrt
/opt/evolution-1.3/lib/libbonobo-activation.so -lm -ldl
/opt/evolution-1.3/lib/libORBit-2.so -ldl /usr/local/lib/libpopt.so
/opt/evolution-1.3/lib/liblinc.so -lresolv
/opt/evolution-1.3/lib/libgthread-2.0.so
/opt/evolution-1.3/lib/libgnomeprint-2-2.so -ldl -lm -lfontconfig
/opt/evolution-1.3/lib/libfreetype.so
/opt/evolution-1.3/lib/libgnomecanvas-2.so -lm -ldl
/opt/evolution-1.3/lib/libxml2.so -lm -lz -lsocket -lnsl
/opt/evolution-1.3/lib/libart_lgpl_2.so -lm
/opt/evolution-1.3/lib/libpangoft2-1.0.so
/opt/evolution-1.3/lib/libgtk-x11-2.0.so
/opt/evolution-1.3/lib/libgdk-x11-2.0.so
/opt/evolution-1.3/lib/libatk-1.0.so -ldl
/opt/evolution-1.3/lib/libgdk_pixbuf-2.0.so -ldl -lm -lm
/opt/evolution-1.3/lib/libpangox-1.0.so
/opt/evolution-1.3/lib/libpango-1.0.so -ldl
/opt/evolution-1.3/lib/libgobject-2.0.so
/opt/evolution-1.3/lib/libgmodule-2.0.so -ldl -ldl
/opt/evolution-1.3/lib/libglib-2.0.so /usr/local/lib/libiconv.so
-R/opt/evolution-1.3/lib/evolution/1.3 -R/opt/evolution-1.3/lib
-R/usr/local/lib -R/usr/lib -R/usr/openwin/lib -R/usr/local/ssl/lib
-R/usr/ucblib
ld: warning: file ../e-util/.libs/libeutil.so: linked to
/tmp/1.3/1.3/evolution/e-util/.libs/libeutil.so: attempted multiple
inclusion of file
Undefined                       first referenced
symbol                             in file
XGetWMHints                         e-shell.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
XGetClassHint                       e-shell.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
XSetWMHints                         e-shell.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
XFree                               e-shell.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
XAllocWMHints                       e-shell.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
ld: fatal: Symbol referencing errors. No output written to
.libs/evolution
collect2: ld returned 1 exit status
make[4]: *** [evolution] Error 1
make[4]: Leaving directory `/tmp/1.3/1.3/evolution/shell'


- M.

On Wed, 2003-02-19 at 11:11, Not Zed wrote: 
On Wed, 2003-02-19 at 03:24, Dan Winship wrote:
On Sun, 2003-02-16 at 19:53, Michael-John Anthony wrote:
Oops - Solaris 8, Sparc.

I had the same problem on OS X. The fix is to add -lX11 explicitly to
the link line for libwidgets.al. (Although really, the right fix is to
make e-cell-text not use e-font any more, and then kill off e-font,
which is where the symbols are coming from.)

Hrm, why is it not being added anyway ?  Is it something to do with our
'non portable' static linking stuff?

Just curious ...






-- 



Michael-John Anthony <manthony michael-john net>
_______________________________________________
evolution maillist  -  evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution




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