Hi all,
I’ve been trying to compile a client installation
under Solaris 9, but it fails partway through, and I can’t figure out
why.
My configure line is as follows:
./configure --prefix=/usr/local
--enable-threads=solaris --with-index-server=<backuphostname>
--with-user=amanda --with-group=tape --with-tmpdir=/tmp/amanda
--with-gnutar=/usr/local/bin/tar --with-config=Daily --disable-s3-device --with-amandates=/etc/amandates
--without-ipv6 --without-server --disable-nls --with-bsdtcp-security
CPPFLAGS='-I/usr/include -I/usr/local/include -I/usr/local/include/readline'
LDFLAGS='-L/usr/lib -L/usr/local/lib -R/usr/lib -R/usr/local/lib'
I tried removing the “--without-server”
directive; no change. I’ve tried searching the archives and Google
for pointers, but I may not be using the correct keywords.
The failure point in the make output:
gcc -Wall -Wextra -Wparentheses
-Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal
-Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o genversion
genversion.o .libs/versuff.o -L/usr/lib -L/usr/local/lib
../gnulib/.libs/libgnu.a -lm -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0
-lpthread -lthread -lrt -lglib-2.0 -lresolv -lintl -lnsl
-lsocket -R/usr/lib -R/usr/local/lib
Undefined
first referenced
symbol
in file
g_printf
genversion.o
g_fprintf
genversion.o
ld: fatal: Symbol referencing errors. No output
written to genversion
collect2: ld returned 1 exit status
make[2]: *** [genversion] Error 1
make[2]: Leaving directory
`/usr/local/src/amanda-2.6.1p1/common-src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/amanda-2.6.1p1'
make: *** [all] Error 2
I’m stumped. Anyone ever run across this, or
have any insight into why this is failing? I compiled a 2.6.1p1 server
install on Linux with no errors.
Any assistance would be greatly appreciated.
Cheers
Steve