Hello Jonathon! > >I have a small problem with compiling an application using glademm. > >Here is the error message: > >g++ -c -pipe -Wall -W -O2 -DDEBUG `pkg-config --cflags libglade-2.0 gtkmm-2.4 gnet-2.0 > >libglademm-2.4` -o ampavi_server.o ampavi_server.cc > >gcc -ldebugging `pkg-config --libs libglade-2.0 gtk+-2.0 gnet-2.0 gtkmm-2.4` -o ampavi_server > >ampavi_server.o main.o > >ampavi_server.o: In function `CAmpaviServer::CAmpaviServer()': > >ampavi_server.cc:(.text+0x3d2): undefined reference to > >`Gnome::Glade::Xml::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> const&, Glib::ustring const&, Glib::ustring const&)' > >ampavi_server.o: In function `CAmpaviServer::CAmpaviServer()': > >ampavi_server.cc:(.text+0x6f0): undefined reference to > >`Gnome::Glade::Xml::create(std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> const&, Glib::ustring const&, Glib::ustring const&)' > >ampavi_server.o:(.gcc_except_table+0xd8): undefined reference to `typeinfo for > >Gnome::Glade::XmlError' > >ampavi_server.o:(.gcc_except_table+0x14c): undefined reference to `typeinfo for > >Gnome::Glade::XmlError' > >collect2: ld returned 1 exit status > >make: *** [ampavi_server] Error 1 > > [...] > >Makefile: [...} > >LFLAGS = `pkg-config --libs libglade-2.0 gtk+-2.0 gnet-2.0 gtkmm-2.4` > I don't know if it's just a typo, but you don't seem to be linking > libglademm (i.e. it's not in LFLAGS) Oh sorry. You are right. CU Michael -- ,''`. Michael Ott, e-mail: michael at king-coder dot de : :' : Debian SID on Thinkpad T43: `. `' http://www.zolnott.de/laptop/ibm-t43-uc34nge.html `-
Attachment:
pgpv8xtYCGnNT.pgp
Description: PGP signature