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

subversion-1.0.1 build errors multiple definition of `res_querydomain'

From: Jessica Brennan <jib_at_panix.com>
Date: 2004-04-08 23:32:57 CEST

I am getting the following errors when trying to build subersion-1.0.1 on
NetBSD-1.5.

cd subversion/clients/cmdline && /usr/local/bin/bash
/devel/build/NetBSD/subversion/subversion-1.0.1/libtool --silent
--mode=link gcc -all-static -g -O2 -g -O2 -DNEON_ZLIB -L/usr/local/lib
-L/devel/build/NetBSD/subversion/subversion-1.0.1/apr-util/xml/expat/lib
-rpath /pkg/subversion-1.0.1/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o
checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o
diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o
ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o
propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o
propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o
switch-cmd.o update-cmd.o util.o
../../../subversion/libsvn_client/libsvn_client-1.la
../../../subversion/libsvn_wc/libsvn_wc-1.la
../../../subversion/libsvn_ra/libsvn_ra-1.la
../../../subversion/libsvn_delta/libsvn_delta-1.la
../../../subversion/libsvn_subr/libsvn_subr-1.la
/devel/build/NetBSD/subversion/subversion-1.0.1/apr-util/libaprutil-0.la
/devel/build/NetBSD/subversion/subversion-1.0.1/apr-util/xml/expat/lib/libexpat.la
-liconv /devel/build/NetBSD/subversion/subversion-1.0.1/apr/libapr-0.la
-lm -lcrypt -lresolv
/devel/build/NetBSD/subversion/subversion-1.0.1/neon/src/libneon.la
-L/usr/local/lib -L/pkg/subversion-1.0.1/lib -lz

/usr/lib/libc.a(res_query.o)(.text+0x31c): In function `res_querydomain':
: multiple definition of `res_querydomain'
/usr/lib/libresolv.a(res_query.o)(.text+0x3a8): first defined here
/usr/local/bin/ld: Warning: size of symbol `res_querydomain' changed from
309 in /usr/lib/libresolv.a(res_query.o) to 267 in
/usr/lib/libresolv.a(res_query.o)
/usr/lib/libc.a(res_query.o)(.text+0x428): In function `__hostalias':
: multiple definition of `__hostalias'
/usr/lib/libresolv.a(res_query.o)(.text+0x4e0): first defined here
collect2: ld returned 1 exit status
*** Error code 1

Any suggestions on how to fix it would be appreciated. Thanks.

-Jessica

~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 8 23:33:39 2004

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

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