[gtkmm] problems linking program



Hi, I'm trying to build the program BananaHead POS, and I'm running into
problems linking in gtkmm1.2

while running make, things break down here:



g++ -O6 -I/home/dmeggy/BananaTest/include/bhpos -O6 -DXMLSEC_NO_XKMS=1
-DXMLSEC_CRYPTO=openssl -DXMLSEC_CRYPTO_OPENSSL=1
-I/home/dmeggy/BananaTest/include/bhpos -I/usr/include/libxml2
-I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0
-I/usr/include/xmlsec1 -I/home/dmeggy/BananaTest/include/bhpos/hw
-I/home/dmeggy/BananaTest/include/bhpos/widget -g -O2 -o post post.o
transaction_ui.o transaction.o connect_ui.o connect.o login_ui.o login.o
request.o request_ui.o confirm.o confirm_ui.o taxlist.o taxlist_ui.o
cpost.o cpost_trans.o ctrans.o ctrans_key.o ctrans_retkey.o
ctrans_esckey.o ctrans_payment.o network.o sysmsg.o postmsg.o ctrlmsg.o
callbacks.o inputdialog_ui.o inputdialog.o custdialog_ui.o custdialog.o
pay_ui.o pay.o list.o list_ui.o -rdynamic  -L/usr/lib -L/usr/X11R6/lib
/usr/lib/libgtkmm.so /usr/lib/libgdkmm.so /usr/lib/libgtk.so
/usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi
-lXext -lX11 /usr/lib/libsigc.so /usr/lib/libxml2.so -lz -lpthread -lm
-L/home/dmeggy/BananaTest/lib/bhpos
/home/dmeggy/BananaTest/lib/bhpos/libbhtrans.so
/home/dmeggy/BananaTest/lib/bhpos/libbhcash.so
/home/dmeggy/BananaTest/lib/bhpos/libbhcfg.so
/home/dmeggy/BananaTest/lib/bhpos/libbhwgt.so
/home/dmeggy/BananaTest/lib/bhpos/libbhkmap.so
/home/dmeggy/BananaTest/lib/bhpos/libbhgrp.so
/home/dmeggy/BananaTest/lib/bhpos/libbhlocale.so
/home/dmeggy/BananaTest/lib/bhpos/libbhdev.so
/home/dmeggy/BananaTest/lib/bhpos/libbhbc.so
/home/dmeggy/BananaTest/lib/bhpos/libbhkeyb.so
/home/dmeggy/BananaTest/lib/bhpos/libbhkeyl.so
/home/dmeggy/BananaTest/lib/bhpos/libbhdisp.so
/home/dmeggy/BananaTest/lib/bhpos/libbhms.so
/home/dmeggy/BananaTest/lib/bhpos/libbhcashd.so
/home/dmeggy/BananaTest/lib/bhpos/libbhcustd.so
/home/dmeggy/BananaTest/lib/bhpos/libbhprinter.so
/home/dmeggy/BananaTest/lib/bhpos/libbhmicr.so
/home/dmeggy/BananaTest/lib/bhpos/libbhsc.so
/home/dmeggy/BananaTest/lib/bhpos/libbhdt.so -Wl,--rpath
-Wl,/home/dmeggy/BananaTest/lib/bhpos -Wl,--rpath
-Wl,/home/dmeggy/BananaTest/lib/bhpos
post.o(.text+0x3016): In function `main':
/home/dmeggy/BananaBuild/post-1.0.0/src/post.cc:1571: undefined
reference to `Gtk::Main::Main[in-charge](int&, char**&, bool)'
post.o(.text+0x3057): In function `main':
/usr/include/gtk--/main.h:168: undefined reference to
`Gtk::Main::instance_'
post.o(.text+0x3076): In function `main':


and then it goes on and on.  I don't know why it can't link.  I'm using
Debian Sarge and I have all of the libgtkmm-dev packages installed for
gtkmm1.2.  Which places them in /usr/lib

anyone have any ideas?

Dave




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