problems building subversion 1.20
Wed Jun 29 19:53:00 GMT 2005


  I am attempting to build svn 1.20 under cygwin (latest) and am
encountering this:

undefined reference to `_apr_pool_destroy'
.libs/xml.o: In function `svn_xml_make_open_tag_v':
undefined reference to `_apr_pool_destroy'
collect2: ld returned 1 exit status
+ exit 1

  I've narrowed it down to this in particular:

  [1]+  Exit 1                  cd subversion/libsvn_subr &&
/bin/bash /usr/bin/libtool --debug --tag=CC --silent --mode=link gcc
-g -O2 -g -O2 -DNEON_ZLIB -rpath /usr/local/lib -o
-no-undefined auth.lo cmdline.lo config.lo config_auth.lo
config_file.lo config_win.lo ctype.lo date.lo error.lo hash.lo io.lo
lock.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo
subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo
utf_validate.lo validate.lo version.lo xml.lo
/usr/src/rpm/SOURCES/subversion-1.2.0/apr-util/ -lgdbm
-ldb-4.3 -lexpat -liconv
/usr/src/rpm/SOURCES/subversion-1.2.0/apr/ -lresolv
-lcrypt -lintl >/tmp/libtool-local 2>&1

  An nm on the static archive libraries in /usr/local/lib shows that
the undefined symbols are indeed there:

  nm /usr/local/lib/libapr-0.a| grep ' T ' | sort +2 | grep pool_des
000014a0 T _apr_pool_destroy
00001790 T _apr_pool_destroy_debug

  The output can be viewed here:

  I've followed the instructions in INSTALL B: Making and Installing
the Subversion Server

  Any suggestions?

Henry Katz

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list