Re: Static linking of libraries
"Robby Dermody" <[email protected]> Thu, 5 Feb 2004 12:50:31 -0500
| Newsgroups | gmane.comp.gnome.gdome |
|---|---|
| Organization | phase9 industries, inc. |
| Message-ID | <002401c3ec10$93585f20$ed01a8c0@jewel> |
Hi Sunil, Your gdome library probably has a bunch of libxml2 references that are not being satisified. Thus, you need to link to the libxml2 library as well (I don't know if this linking could be done still to a libxml2 dynamic library....you might want to just build libxml2 as a static library and link to that). Good luck, Robby ----- Original Message ----- From: "Sunil Kumar" <[email protected]> To: <[email protected]> Sent: Thursday, February 05, 2004 11:38 AM Subject: [gdome]Static linking of libraries > Hi, > > I downloaded the source compiled and testing the > samples. However I want to write my own program and > link it statically to the library. > > Just statically linking to libgdome.a is giving > copmpile errors e.g. - lots of undefined references > like "xmlHashFree" etc. > > What could I be doing wrong? > > Thank you. > Sunil. > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > gdome mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gdome > > >