RE: [xml] libxml lite



When I do

./configure
./make

everything works ok (other than a bunch of warnings).

When I do

./configure --with-minimum
./make

the compile seems to go ok, and it seems to produce a lib, but the link
produces the following:

gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch 
-Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparenthes
es -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredunda
nt-decls -o .libs/xmllint xmllint.o
 ./.libs/libxml2.so -lm -Wl,--rpath -Wl,/usr/local/lib
./.libs/libxml2.so: undefined reference to `xmlParseMemory__internal_alias'
./.libs/libxml2.so: undefined reference to `xmlSAXParseDoc__internal_alias'
./.libs/libxml2.so: undefined reference to
`xmlNewDocRawNode__internal_alias'
.
.
.
<lots more undefined references>
.
.
.
./.libs/libxml2.so: undefined reference to
`xmlFreeValidCtxt__internal_alias'
./.libs/libxml2.so: undefined reference to
`xmlSAX2EndElement__internal_alias'
./.libs/libxml2.so: undefined reference to
`xmlSAXParseMemory__internal_alias'
./.libs/libxml2.so: undefined reference to
`xmlCopyNotationTable__internal_alias'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1

Is this because xmllint is calling stuff that isn't in the library?
Should it then not be built in minimum configuration?
Or am I doing something wrong?
- dan

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Friday, December 03, 2004 10:11 AM
To: Dan Terpstra
Cc: xml gnome org
Subject: Re: [xml] libxml lite


On Fri, Dec 03, 2004 at 10:09:06AM -0500, Dan Terpstra wrote:
If not, what would it take to put libxml2 on a drastic diet?

  ./configure --with-minimum

Daniel

--
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]