Amanda-Users

Can't compile 2.6.2p1 on Solaris 9

2009-05-03 13:00:54
Subject: Can't compile 2.6.2p1 on Solaris 9
From: "Onotsky, Steve x55328" <Steve.Onotsky AT broadridge DOT com>
To: <amanda-users AT amanda DOT org>
Date: Sun, 3 May 2009 12:48:28 -0400

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

 

 

 

This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

<Prev in Thread] Current Thread [Next in Thread>