Build failures on Solaris 10 amd64 with Sun Studio compiler:

Linking bacula-fd ...
/netstore/src/bacula/bacula/libtool --silent --tag=CXX --mode=link
/usr/bin/CC  -m64 -L../lib -L../findlib -o bacula-fd filed.o
authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o
filed_conf.o heartbeat.o job.o restore.o status.o verify.o verify_vol.o
xattr.o \
           -lnvpair -lsec                  -lz -lbacfind -lbacpy
-lbaccfg -lbac -lm -lpthread -lresolv -lnsl -lsocket -lxnet  -lintl
-lresolv -lrt \

ld: fatal: file /netstore/src/bacula/bacula/src/lib/.libs/libbacpy.so:
open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/bacula-fd
make[1]: *** [bacula-fd] Error 2


==>Entering directory /netstore/src/bacula/bacula/src/console
make[1]: Entering directory `/netstore/src/bacula/bacula/src/console'
Compiling console.c
Compiling console_conf.c
Compiling authenticate.c
Compiling conio.c
"conio.c", line 1156: Error: The function "tgoto" must have a prototype.
1 Error(s) detected.
make[1]: *** [conio.o] Error 2
make[1]: Leaving directory `/netstore/src/bacula/bacula/src/console'



Linking bacula-sd ...
/netstore/src/bacula/bacula/libtool --silent --tag=CXX --mode=link
/usr/bin/CC  -m64 -L../lib -o bacula-sd stored.o ansi_label.o
vtape_dev.o autochanger.o acquire.o append.o askdir.o authenticate.o
block.o block_util.o butil.o dev.o os.o file_dev.o tape_dev.o device.o
dircmd.o ebcdic.o fd_cmds.o job.o label.o lock.o match_bsr.o mount.o
parse_bsr.o read.o read_records.o record_read.o record_write.o
record_util.o reserve.o scan.o sd_plugins.o spool.o status.o
stored_conf.o vbackup.o vol_mgr.o wait.o -lz \
           -lbacpy -lbaccfg -lbac -lm   -lpthread -lresolv -lnsl
-lsocket -lxnet  -lintl -lresolv -lrt  \

ld: fatal: file /netstore/src/bacula/bacula/src/lib/.libs/libbacpy.so:
open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/bacula-sd
make[1]: *** [bacula-sd] Error 2
make[1]: Leaving directory `/netstore/src/bacula/bacula/src/stored'


It appears that the link
/netstore/src/bacula/bacula/src/lib/.libs/libbacpy.so is created,
pointing to libbacpy-7.0.0.so, but libbacpy-7.0.0.so is never created,
nor do I see any attempt to create it:

Making libbac.la ...
/netstore/src/bacula/bacula/libtool --silent --tag=CXX --mode=link
/usr/bin/CC   -m64 -o libbac.la attr.lo base64.lo berrno.lo bsys.lo
binflate.lo bget_msg.lo bnet.lo bnet_server.lo runscript.lo bsock.lo
bpipe.lo bsnprintf.lo btime.lo cram-md5.lo crc32.lo crypto.lo daemon.lo
edit.lo fnmatch.lo guid_to_name.lo hmac.lo jcr.lo lex.lo alist.lo
dlist.lo md5.lo message.lo mem_pool.lo mntent_cache.lo openssl.lo
plugins.lo priv.lo queue.lo bregex.lo rwlock.lo scan.lo sellist.lo
serial.lo sha1.lo signal.lo smartall.lo rblist.lo tls.lo tree.lo util.lo
var.lo watchdog.lo workq.lo btimers.lo address_conf.lo breg.lo htable.lo
lockmgr.lo devlock.lo -export-dynamic -rpath /opt/bacula/lib -release
7.0.0   -lz  -lpthread -lresolv -lnsl -lsocket -lxnet  -lintl -lresolv -lrt
Compiling ini.c
Compiling parse_conf.c
Compiling res.c
Making libbaccfg.la ...
/netstore/src/bacula/bacula/libtool --silent --tag=CXX --mode=link
/usr/bin/CC   -m64 -o libbaccfg.la ini.lo parse_conf.lo res.lo
-export-dynamic -rpath /opt/bacula/lib -release 7.0.0  -lpthread
-lresolv -lnsl -lsocket -lxnet  -lintl -lresolv -lrt
Making libbacpy.la ...
/netstore/src/bacula/bacula/libtool --silent --tag=CXX --mode=link
/usr/bin/CC   -m64 -o libbacpy.la  -export-dynamic -rpath
/opt/bacula/lib -release 7.0.0  -lpthread -lresolv -lnsl -lsocket -lxnet
 -lintl -lresolv -lrt
usage: CC [ options ] files.  Use 'CC -flags' for details
==== Make of lib is good ====




Configure invocation:

CC=/usr/bin/CC CXX=${CC} LDFLAGS=-m64 CFLAGS='-fast -xarch=generic
-xtarget=generic -xcache=generic -m64' CPPFLAGS=${CFLAGS} ./configure
--prefix=/opt/bacula --with-dump-email=r...@caerllewys.net
--with-job-email=r...@caerllewys.net
--with-smtp-host=smtp.caerllewys.net --with-subsys-dir=/opt/bacula/var
--with-working-dir=/opt/bacula/var --disable-build-dird
--with-mysql=/opt/mysql/mysql



Configuration on Mon Mar 31 11:50:05 EDT 2014:

   Host:                    i386-pc-solaris2.10 -- solaris 5.10
   Bacula version:          Bacula 7.0.0 (28 March 2014)
   Source code location:    .
   Install binaries:        /opt/bacula/sbin
   Install libraries:       /opt/bacula/lib
   Install config files:    /opt/bacula/etc
   Scripts directory:       /opt/bacula/etc
   Archive directory:       /tmp
   Working directory:       /opt/bacula/var
   PID directory:           /var/run
   Subsys directory:        /opt/bacula/var
   Man directory:           ${datarootdir}/man
   Data directory:          /opt/bacula/share
   Plugin directory:        /opt/bacula/lib
   C Compiler:              /usr/bin/CC
   C++ Compiler:            /usr/bin/CC
   Compiler flags:           -fast -xarch=generic -xtarget=generic
-xcache=generic -m64
   Linker flags:             -m64
   Libraries:               -lpthread -lresolv -lnsl -lsocket -lxnet
-lintl -lresolv -lrt
   Statically Linked Tools: no
   Statically Linked FD:    no
   Statically Linked SD:    no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database backends:       MySQL
   Database port:
   Database name:           bacula
   Database user:           bacula

   Job Output Email:        r...@caerllewys.net
   Traceback Email:         r...@caerllewys.net
   SMTP Host Address:       smtp.caerllewys.net

   Director Port:           9101
   File daemon Port:        9102
   Storage daemon Port:     9103

   Director User:
   Director Group:
   Storage Daemon User:
   Storage DaemonGroup:
   File Daemon User:
   File Daemon Group:

   Large file support:      yes
   Bacula conio support:    yes -ltermcap
   readline support:        no
   TCP Wrappers support:    no
   TLS support:             no
   Encryption support:      no
   ZLIB support:            yes
   LZO support:             no
   enable-smartalloc:       yes
   enable-lockmgr:          no
   bat support:             no
   client-only:             no
   build-dird:              no
   build-stored:            yes
   Plugin support:          yes
   AFS support:             no
   ACL support:             yes
   XATTR support:           yes
   Python support:          yes /usr/local/ssl/lib/libssl.so.1.0.0
/usr/local/lib/libncurses.so.5.7 -lsocket -lnsl -lrt -ldl -lm
-lpython2.7 -lrt
   systemd support:         no
   Batch insert enabled:    MySQL

-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to