Re: Problems compiling Balsa



On 10/24/2005 07:31:07 PM, Daniel Tahin wrote:
Hi,

it seems, i don't have any luck with the compilation. There was an other error:

gcc -g -O2 -o balsa address-book-config.o ab-window.o balsa-app.o balsa-bonobo.o balsa-icons.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 Balsa-common.o Balsa-skels.o Balsa-stubs.o -L/home/users/mydir/aspell-0.60/lib -L/home/users/mydir/libesmtp/lib ../libinit_balsa/libinit_balsa.a ../libbalsa/libbalsa.a ../libbalsa/imap/libimap.a /usr/lib/libltdl.so -L/home/users/mydir/gmime/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 -lgconf-2 -lgnomevfs-2 /home/users/mydir/gmime/lib/libgmime-2.0.so -lnsl -lbonobo-2 -lbonobo-activation -lORBit-2 /usr/lib/liblinc.so -lgthread-2.0 -L/home/users/mydir/libgnomeprint/lib -L/home/users/mydir/libgnomeprintui/lib /home/users/mydir/libgnomeprintui/lib/libgnomeprintui-2-2.so /home/users/mydir/libgnomeprint/lib/libgnomeprint-2-2.so -lfontconfig /usr/lib/libfreetype.so -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtkhtml-2 -lgtk-x11-2.0 /usr/lib/libxml2.so -lz -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 -lglib-2.0 -L/usr/lib /usr/lib/libpcreposix.so -lpcre /home/users/mydir/aspell-0.60/lib/libaspell.so -lpthread /home/users/mydir/libesmtp/lib/libesmtp.so -lssl -lcrypto -ldl -Wl,--rpath -Wl,/home/users/mydir/gmime/lib -Wl,--rpath -Wl,/home/users/mydir/libgnomeprintui/lib -Wl,--rpath -Wl,/home/users/mydir/libgnomeprint/lib -Wl,--rpath -Wl,/home/users/mydir/aspell-0.60/lib -Wl,--rpath -Wl,/home/users/mydir/libesmtp/lib -Wl,--rpath -Wl,/home/users/mydir/gmime/lib -Wl,--rpath -Wl,/home/users/mydir/libgnomeprintui/lib -Wl,--rpath -Wl,/home/users/mydir/libgnomeprint/lib -Wl,--rpath -Wl,/home/users/mydir/aspell-0.60/lib -Wl,--rpath -Wl,/home/users/mydir/libesmtp/lib
sendmsg-window.o: In function `reflow_selected_cb':

/tmp/balsa-2.2.6/src/sendmsg-window.c:4568: undefined reference to `libbalsa_address_entry_show_matches'
collect2: ld returned 1 exit status
make[3]: *** [balsa] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/dev/shm/balsa-2.2.6/src«
make[2]: *** [all] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis »/dev/shm/balsa-2.2.6/src«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/dev/shm/balsa-2.2.6«
make: *** [all] Fehler 2


Can you help me here?


This symbol is supposed to be defined in libbalsa/address-entry.o
$ nm libbalsa/address-entry.o| grep show_match

address-entry.o should be a part of libbalsa/libbalsa.a archive.
$ ar t libbalsa/libbalsa.a| grep address-entry.o

All in all, this archive file should contain the definition of the symbol you miss:
$ nm libbalsa/libbalsa.a| grep show_match
000002a7 T libbalsa_address_entry_show_matches

Pawel



Am 2005.10.23 15:04 schrieb(en) Peter Bloomfield:
On 10/23/2005 05:21:18 AM Sun, Daniel Tahin wrote:
Thanx for the attach. Only a beginner's question: how can i
apply this patch:-)?

Daniel:

cd path/to/balsa-2.2.6
patch -p0 < path/to/remove-patch
make

should do it!

Peter
_______________________________________________
balsa-list mailing list
balsa-list gnome org
http://mail.gnome.org/mailman/listinfo/balsa-list




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