[Expat-bugs] error in installation
David Roundy
droundy@civet.berkeley.edu
Tue, 14 Nov 2000 08:30:53 -0800
Hello. I have just installed expat 2.95.1 on my linuxppc computer, and
get an error when I try to compile the example (outline.c) with a simple
make.
I am using gcc 2.95.2 and binutils 2.9.1.0.
I did a standard ./configure; make; make install, and when I run make in
the examples directory, I get the following error:
% make
cc -o outline outline.o -lexpat
/usr/lib/libexpat.so: undefined reference to
`XmlGetUtf8InternalEncoding'
/usr/lib/libexpat.so: undefined reference to `XmlUtf8Encode'
/usr/lib/libexpat.so: undefined reference to `XmlSizeOfUnknownEncoding'
/usr/lib/libexpat.so: undefined reference to `XmlInitEncoding'
/usr/lib/libexpat.so: undefined reference to `XmlInitUnknownEncoding'
/usr/lib/libexpat.so: undefined reference to `XmlPrologStateInit'
/usr/lib/libexpat.so: undefined reference to `XmlParseXmlDecl'
collect2: ld returned 1 exit status
make: *** [outline] Error 1
I looked, and these functions seem to be defined in xmltok.c, but I am
having trouble making sense of the Makefiles. It seems that it must be
some sort of linking problem, but I have no idea where to start at
troubleshooting this.
Thanks in advance for your help!
--
David Roundy
http://civet.berkeley.edu/droundy/