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

Build problems...

From: Zack Weinberg <zack_at_codesourcery.com>
Date: 2002-02-14 18:41:44 CET

cd subversion/clients/cmdline && /bin/sh ../../../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 -DNEON_ZLIB
  -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG
  -I./subversion/include -I. -I../../../apr/include
  -I../../../apr-util/include -I../../../apr-util/xml/expat/lib
  -I../../../apr-util/include -I/usr/include/neon -I./expat-lite
  -I../../../db/dist -rpath /usr/local/lib -o svn add-cmd.o
  checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o
  diff-cmd.o feedback.o help-cmd.o import-cmd.o log-cmd.o main.o
  mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o
  propget-cmd.o proplist-cmd.o props.o propset-cmd.o revert-cmd.o
  status-cmd.o status.o switch-cmd.o trace-commit.o trace-update.o
  update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client.la
  ../../../subversion/libsvn_wc/libsvn_wc.la
  ../../../subversion/libsvn_ra/libsvn_ra.la
  ../../../subversion/libsvn_delta/libsvn_delta.la
  ../../../subversion/libsvn_subr/libsvn_subr.la -L../../../apr -lapr
  ../../../expat-lite/libexpat.la -lm -lcrypt -lnsl -ldl
subversion/libsvn_fs/.libs/libsvn_fs.a(fs.o): In function `allocate_env':
subversion/libsvn_fs/fs.c:351: undefined reference to `db_env_create'
[etc, etc]

Note the absence of -ldb anywhere in that command line. I'm building
with BDB inside the subversion tree, which is supposed to work.

Adding "../../../db/dist/libdb.a" right after "-lapr" makes the link
succeed; for some strange reason, "-L../../../db/dist -ldb" doesn't.

Everything else gets linked successfully.

zw

---------------------------------------------------------------------
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:37:08 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.