[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: unresolved reference when building subversion-r117 milestone

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-09-28 19:12:14 CEST

On Fri, Sep 28, 2001 at 06:55:12PM +0200, Timothee Besset wrote:
> I have downloaded the subversion-M3-r117.tar.gz milestone and tried to build it. It goes some way through the configure and the building process until I get unresolved reference errors:
>
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_SetElementHandler'
> etc. on XML stuff ..
>
> I have libxml1 and libxml2 installed though, I'm using them for other projects:

Well subversion uses a version of expat-lite, which is included in our source
tree. Not sure how your problem is happening exactly, especially since the
link line specifies ../../../expat-lite/libexpat.la.

> I didn't see anything about XML in the configure script, and it also looked like svn has it's own XML code. Searched in the mailing list, didn't find anything related..
>
> let me know if you need more info to track the problem, I'm gonna have a quick look see what's happening.. my box is a debian woody, I downloaded Berkeley DB to put it in subversion tree (in db/)
I'm in the same situation, Debian/woody, with Bdb in db/
>
> regards
>
> TTimo
>
> cd subversion/tests/libsvn_ra_local && /bin/sh /home/timo/Alliance/subversion-r117/libtool --silent --mode=link gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -I/usr/local/include/neon -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I./apr/include -I./neon/src -I./expat-lite -I/home/timo/Alliance/subversion-r117/db/dist -rpath /usr/local/lib -o ra-local-test ra-local-test.o ../../../subversion/tests/libsvn_test.la ../../../subversion/libsvn_ra/libsvn_ra.la ../../../subversion/libsvn_fs/libsvn_fs.la ../../../subversion/libsvn_delta/libsvn_delta.la ../../../subversion/libsvn_subr/libsvn_subr.la /home/timo/Alliance/subversion-r117/apr/libapr.la ../../../expat-lite/libexpat.la -lm -lcrypt -lnsl -ldl
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_SetElementHandler'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_Parse'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_ParserFree'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_SetCharacterDataHandler'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_ErrorString'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_ParserCreate'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_SetUserData'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_GetErrorCode'
> /usr/local/lib/libsvn_subr.so.0: undefined reference to `XML_GetCurrentLineNumber'
> collect2: ld returned 1 exit status
> make: *** [subversion/tests/libsvn_ra_local/ra-local-test] Error 1

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:42 2006

This is an archived mail posted to the Subversion Dev mailing list.