Solaris 9 Gnome 2 Balsa compilation errors



I'm trying to compile balsa-2.0.9 on Solaris 9 running Gnome 2,
and it's not been easy. I'm close, but now I'm stuck on link errors:

Undefined symbols:
  XFree          main-window.o
  XGetIconSizes  main-window.o

I'm thinking this should be a simple addition to the make file, but I
can't seem to get it right.  Gory details below.

Thanks for any help,

-Patrick


Solaris 9, Gnome 2, Sun Blade 100
gcc version 3.2.2
echo $LD_LIBRARY_PATH
  /usr/openwin/lib:/usr/local/lib:/usr/local/ssl/lib/

/configure --disable-flock --with-ssl --includedir=/usr/local/ssl/

make  all-recursive
make[1]: Entering directory `/usr/local/src/balsa-2.0.9'
..
Making all in src
make[2]: Entering directory `/usr/local/src/balsa-2.0.9/src'
/bin/bash ../libtool --mode=link gcc  -g -O2 -Wsign-promo -Wsign-compare
-Wpointer-arith -Wnested-externs -Wchar-subscripts -Wuninitialized
-Wmissing-prototypes -Wreturn-type  -o balsa  address-book-config.o
ab-window.o balsa-app.o balsa-icons.o balsa-index-threading.o
balsa-index.o balsa-mblist.o balsa-message.o expand-alias.o
filter-edit-callbacks.o filter-edit-dialog.o filter-export-callbacks.o
filter-export-dialog.o filter-run-callbacks.o filter-run-dialog.o
folder-conf.o information-dialog.o mailbox-conf.o mailbox-node.o
main-window.o main.o message-window.o pref-manager.o print.o
quote-color.o save-restore.o sendmsg-window.o spell-check.o
store-address.o toolbar-factory.o toolbar-prefs.o ../libbalsa/libbalsa.a
./libmutt/imap/libimap.a ../libmutt/libmutt.a
./libinit_balsa/libinit_balsa.a -lltdl  -R/usr/openwin/lib
-L/usr/openwin/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2
-lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2
-lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lthread
-lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lz -lsocket -lnsl -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   -lgnomeprintui-2 -lgnomeprint-2
-lgnomecanvas-2 -lbonobo-2 -lbonobo-activation -lORBit-2 -lxml2 -lz
-lsocket -lnsl -llinc -lgthread-2.0 -lthread -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   -lssl -lcrypto
-laspell  -lesmtp -lpthread -lesmtp
gcc -g -O2 -Wsign-promo -Wsign-compare -Wpointer-arith -Wnested-externs
-Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -o
balsa address-book-config.o ab-window.o balsa-app.o balsa-icons.o
balsa-index-threading.o balsa-index.o balsa-mblist.o balsa-message.o
expand-alias.o filter-edit-callbacks.o filter-edit-dialog.o
filter-export-callbacks.o filter-export-dialog.o filter-run-callbacks.o
filter-run-dialog.o folder-conf.o information-dialog.o mailbox-conf.o
mailbox-node.o main-window.o main.o message-window.o pref-manager.o
print.o quote-color.o save-restore.o sendmsg-window.o spell-check.o
store-address.o toolbar-factory.o toolbar-prefs.o 
./libbalsa/libbalsa.a ../libmutt/imap/libimap.a ../libmutt/libmutt.a
./libinit_balsa/libinit_balsa.a /usr/local/lib/libltdl.so
-L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -lgnomeui-2 -lSM -lICE
-lbonoboui-2 -lgnome-2 -lpopt -lgconf-2 -lgnomevfs-2 -lgtkhtml-2
-lgnomeprintui-2 -lgnomeprint-2 -lgnomecanvas-2 -lbonobo-2
-lbonobo-activation -lORBit-2 -lxml2 -lz -lnsl -llinc -lgthread-2.0
-lthread -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 /usr/local/lib/libaspell.so
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2 -L/usr/ccs/bin
-L/usr/ccs/lib
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2/../../..
-L/usr2/SOURCES/S9/gcc-3.2.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src 
-L/usr2/SOURCES/S9/gcc-3.2.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.libs 
-L/usr2/SOURCES/S9/gcc-3.2.2/objdir/gcc /usr/local/lib/./libstdc++.so -lm 
-lgcc_s -lpthread /usr/local/lib/libesmtp.so -L/usr/local/ssl//lib -lssl 
-lcrypto -lsocket -ldl -R/usr/local/lib -R/usr/local/lib/. -R/usr/local/lib 
-R/usr/local/lib/. -R/usr/openwin/lib -R/usr/lib

Undefined			first referenced
 symbol  			    in file
XFree                               main-window.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
XGetIconSizes                       main-window.o  (symbol belongs to
implicit dependency /usr/lib/libX11.so.4)
ld: fatal: Symbol referencing errors. No output written to balsa
collect2: ld returned 1 exit status
make[2]: *** [balsa] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

make[2]: Leaving directory `/usr/local/src/balsa-2.0.9/src'
make[1]: Leaving directory `/usr/local/src/balsa-2.0.9'




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