I'm getting the following error during the build:
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -
o .libs/libamanda-2.5.1.dylib .libs/alloc.o .libs/amfeatures.o .libs/
amflock.o .libs/bsd-security.o .libs/bsdtcp-security.o .libs/bsdudp-
security.o .libs/clock.o .libs/debug.o .libs/dgram.o .libs/
error.o .libs/event.o .libs/file.o .libs/fileheader.o .libs/krb4-
security.o .libs/krb5-security.o .libs/match.o .libs/packet.o .libs/
pipespawn.o .libs/protocol.o .libs/regcomp.o .libs/regerror.o .libs/
regexec.o .libs/regfree.o .libs/rsh-security.o .libs/security.o .libs/
security-util.o .libs/sl.o .libs/ssh-security.o .libs/statfs.o .libs/
stream.o .libs/tapelist.o .libs/token.o .libs/util.o .libs/
version.o .libs/versuff.o -lm -lreadline -ltermcap -lresolv -
install_name /usr/local/lib/libamanda-2.5.1.dylib
ld: multiple definitions of symbol _keytable
.libs/bsd-security.o definition of _keytable in section
(__DATA,__common)
.libs/bsdtcp-security.o definition of _keytable in section
(__DATA,__common)
.libs/bsdudp-security.o definition of _keytable in section
(__DATA,__common)
.libs/debug.o definition of _keytable in section (__DATA,__common)
.libs/dgram.o definition of _keytable in section (__DATA,__common)
.libs/file.o definition of _keytable in section (__DATA,__common)
.libs/fileheader.o definition of _keytable in section (__DATA,__common)
.libs/pipespawn.o definition of _keytable in section (__DATA,__common)
.libs/rsh-security.o definition of _keytable in section
(__DATA,__common)
.libs/security-util.o definition of _keytable in section
(__DATA,__common)
.libs/ssh-security.o definition of _keytable in section
(__DATA,__common)
.libs/stream.o definition of _keytable in section (__DATA,__common)
.libs/util.o definition of _keytable in section (__DATA,__common)
ld: warning multiple definitions of symbol _regcomp
.libs/regcomp.o definition of _regcomp in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib
(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
.libs/regexec.o definition of _regexec in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib
(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
.libs/regfree.o definition of _regfree in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib
(regfree.So) definition of _regfree
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libamanda.la] Error 1
make: *** [all-recursive] Error 1
It's a pristine 2.5.1 source tree, using the following configure
command:
./configure --with-user=amanda --with-group=wheel --prefix=/usr/local
--without-server --with-config=daily --with-bsd-security --with-
amandahosts --with-bsdtcp-security
Any ideas/suggestions?
Thanks much!
Bruce.