- From: Rick Kwan <kenobi@coruscant.lightsaber.com>
- Date: Tue, 13 Apr 1999 10:10:05 -0700
- To: www-lib@w3.org
I guess I should admit that I'm working on the line mode browser. (It's got a whole lot more components that I remember in 5.1b. :-) I'm using the 5.2.6 tarball as a baseline, but keeping a separate directory updated with CVS. The problems below have to do with my Linux build. (I will later have to do it on Windows NT.) So far I've made small changes to a lot of the files in .../LineMode/src just to get it to compile. I have no callbacks in place; so nothing really functions yet. I've also wised up and have rebuilt the libwww codebase with sh ./configure --disable-shared When I do this, the expat code fails to link. I get the set of messages below (with abs pathnames slightly edited). Here are my questions: 1. Isn't there an easy way to optionally compile/link with the expat code, and conversely turn it off? I thought there was, but I can't find it. 2. Assume that I do want to link with expat, why am I getting these messages? If I go to w3c-libwww-5.2.6/modules/expat/xmltok/.libs and perform nm libxmltok.a | grep T I do see entries like 00001048 T XmlPrologStateInit ... 0000ae64 T XmlUtf8Encode which means the unresolved routines do exist. Is something wrong with my make (which was autogenerated)? --Rick Kwan, Lightsaber Computing rick.kwan@lightsaber.com ----- failed make below ----- kenobi@yavin:1% make www /bin/sh ../../libtool --mode=link gcc -g -O2 -o www HTBrowse.o GridText.o ConView.o GridStyle.o DefaultStyles.o ../../Libra ry/src/libwww.la ../../PICS-client/src/libpics.a ../../modules/md5/libmd5.la ../../modules/expat/xmltok/libxmltok.la ../../mo dules/expat/xmlparse/libxmlparse.la -lm -ldl gcc -g -O2 -o www HTBrowse.o GridText.o ConView.o GridStyle.o DefaultStyles.o ../../Library/src/.libs/libwww.a -ldl ../../PICS-client/src/libpics.a ../../modules/md5/.libs/libmd5.a -ldl ../../modules/expat/xmltok/.libs/libxmltok.a -ldl ../../modules/expat/xmlparse/.libs/libxmlparse.a -ldl -lm -ldl ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `XML_ParserCreate': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:316: undefined reference to `XmlPrologStateInit' /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:366: undefined reference to `XmlInitEncoding' ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `doContent': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:801: undefined reference to `XmlGetUtf8InternalEncoding' /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1085: undefined reference to `XmlUtf8Encode' ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `initializeEncoding': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1399: undefined reference to `XmlInitEncoding' ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `processXmlDecl': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1412: undefined reference to `XmlParseXmlDecl' ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `handleUnknownEncoding': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1466: undefined reference to `XmlSizeOfUnknownEncoding' /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1472: undefined reference to `XmlInitUnknownEncoding' ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `appendAttributeValue': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1880: undefined reference to `XmlGetUtf8InternalEncoding' /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:1909: undefined reference to `XmlUtf8Encode' ../../modules/expat/xmlparse/.libs/libxmlparse.a(xmlparse.o): In function `storeEntityValue': /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:2001: undefined reference to `XmlGetUtf8InternalEncoding' /home/kenobi/w3c-libwww-5.2.6/modules/expat/xmlparse/xmlparse.c:2043: undefined reference to `XmlUtf8Encode' make: *** [www] Error 1 kenobi@yavin:2%
Received on Tuesday, 13 April 1999 13:00:25 UTC