[Expat-discuss] static libexpat library

Alan Leigh aleigh at potassium.ssi.swin.edu.au
Tue Oct 21 03:02:36 EDT 2003


Hi all,

My program uses expat, which works well. The problem is I am now trying to
build my project linking expat staticly. If I build with the correct
paths (-L and -I) and use -lexpat everything builds and links ok. If I do
this instead -l/usr/lib/libexpat.a , I get a whole heap of undefined
reference errors (XML_ParserCreate... XML_SetElementHandler etc etc). Any
ideas? Or is what I am doing wrong?

Cheers,
Alan




More information about the Expat-discuss mailing list