Guys,
I saw that someone else had had this problem, so I figured that this was
something I could work with.
Before I go any farther, the system I'm testing this on has the
following characteristics:
Redhat 7.1
libtool 1.3.5
autoconf 2.13
glibc 2.2.2
Anyways, since I'd seen the problem Timothee had, I decided to try and
figure out what was up. I pulled down the tarball and executed the
following sequence:
./autogen.sh
./configure --enable-maintainer-mode --disable-shared
make
and sure enough, the compile died on ra-local-test with the same errors
that Timothee was having. They're included in the postscript of this
message. Since it explicitly links to libexpat.a, I checked to make sure
that libexpat was actually where it was supposed to be. It is. I tried
changing around relative and absolute paths, but the error stayed the same.
I tested the following configure invocations:
./configure --enable-maintainer-mode --disable-shared FAILS
./configure --enable-maintainer-mode
GOOD
./configure --disable-shared
FAILS
./configure --enable-static
GOOD
From this data, it appears that the problem is only happening when
sharing is disabled, and doesn't entirely. What's really odd about this
is that the compile line for --enable-static is :
cd subversion/tests/libsvn_ra_local && /bin/sh
/home/olandgre/sandbox/subversion-r117/libtool --silent --mode=link gcc
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-g -O2 -pthread -I/usr/local/include/neon -I./subversion/include -I.
-I./apr/include -I./neon/src -I./expat-lite
-I/usr/local/BerkeleyDB.3.3/include -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/olandgre/sandbox/subversion-r117/apr/libapr.la
../../../expat-lite/libexpat.la -lm -lcrypt -lnsl -ldl
Which doesn't differ from the --disable-shared link line at all. I'm not
entirely sure what's going on,
but I don't really have any more ideas how to proceed.
This is the full error from ./configure --enable-maintainer-mode
--disable-shared:
cd subversion/tests/libsvn_ra_local && /bin/sh
/home/olandgre/sandbox/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/usr/local/BerkeleyDB.3.3/include -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/olandgre/sandbox/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 `apr_filepath_merge'
/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
So, the purpose of this message is basically to say that I've got a
reproducible case of the error, and am willing to help debug and figure
out what's going on if you're interested. If you could give me some
pointers as to where to start looking, I'd be more than willing to help.
Owen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:42 2006