[LC++] problem with linkage to my library
David Nugent
davidn at datalinktech.com.au
Mon Mar 16 23:01:52 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/03/2009, at 5:45 PM, Grizzly(Francis Smit) wrote:
> Hi I've written a C++/Gtkmm library, it's very small just yet but I
> plan
> to grow it, the thing is when I go to use it in a test program I get
> linkage errors if I try to use the function in the library but not
> other
> wise I'm coding with anjuta so this is a automake autoconf etc. app
> I'll
> attach the error messages bellow:
~
> Is there any app that would let me examine the exported symbols etc.??
nm
> /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 --enable-
> auto-import -o gtk_test_gzz main.o main-win.o -lglademm-2.4 -
> lgtkmm-2.4 -lglade-2.0 -lgiomm-2.4 -lgdkmm-2.4 -latkmm-1.6 -
> lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgtk-x11-2.0 -
> lxml2 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -
> lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -
> lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
which of these libraries being linked is yours? Are you sure it's
being linked?
Regards,
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAkm+P7AACgkQgyBtWyGDJqV0lgCfQXLbziJ6cNcikEZZGu+HToO8
HiwAn2uuKBkSDwGy6mOgCuFgfZTBzpC+
=2sIv
-----END PGP SIGNATURE-----
More information about the tuxCPProgramming
mailing list