I have installed libxml using fink's unstable tree on Mac OS X 10.4.1.

Trying to build the sample here: http:// libxmlplusplus.sourceforge.net/examples/dom_parser/main.cc

With the command line:

g++ -o cml_test -I/sw/include -L/sw/lib main.cpp -lxml++-2.6 - lglibmm-2.4

results in the following linker errors:

/usr/bin/ld: Undefined symbols:
typeinfo for xmlpp::CommentNode
typeinfo for xmlpp::ContentNode
typeinfo for xmlpp::Node
typeinfo for xmlpp::Element
typeinfo for xmlpp::TextNode
collect2: ld returned 1 exit status

If I remove the -lxml++-2.6 flag then there are even more errors. I would have though that these symbols should be defined in libxml?

Any help would be much appreciated.

Cheers
Chris

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to