v9.3.2/freebsd: compile error
No@SPAM@mgEDV.net
nospam at mgedv.net
Thu Apr 27 16:03:47 UTC 2006
hi guys,
this only occurs, if i compile with --with-libtool.
if this is omitted, everything goes fine. any solution?
am i doin' something wrong?
configure options:
./configure \
--prefix=/usr/local \
--enable-threads \
--enable-largefile \
--enable-shared=yes \
--enable-static=yes \
--enable-libbind \
--enable-ipv6 \
--enable-getifaddrs=glibc \
--disable-linux-caps \
--with-openssl=/usr/local/ssl \
--with-randomdev=/dev/random \
--sysconfdir=/usr/local/etc/named \
--localstatedir=/var \
--with-libtool
make output:
making all in /data/compile/compile/bind-9.3.2/bin/tests/system/tkey
/bin/sh /data/compile/compile/bind-9.3.2/libtool --mode=link gcc -pthread
-g -O2 -o genrandom genrandom.lo
rm -f .libs/genrandom.nm .libs/genrandom.nmS .libs/genrandom.nmT
creating .libs/genrandomS.c
extracting global C symbols from `.libs/genrandom.o'
(cd .libs && gcc -pthread -c -fno-builtin "genrandomS.c")
rm -f .libs/genrandomS.c .libs/genrandom.nm .libs/genrandom.nmS
.libs/genrandom.nmT
gcc -g -O2 -o genrandom .libs/genrandom.o .libs/genrandom.o
.libs/genrandom.o(.text+0x0): In function `main':
/data/compile/compile/bind-9.3.2/bin/tests/genrandom.c:28: multiple
definition of `main'
.libs/genrandom.o(.text+0x0):/data/compile/compile/bind-9.3.2/bin/tests/genr
andom.c:28: first defined here
rm -f .libs/genrandomS.o
*** Error code 1
<EOM>
More information about the bind-users
mailing list