Pardon me if this is a duplicate, I tried to send this a few minutes ago, but 
my webmail program logged me out while I was writing.

After upgrading my Director to 1.38, I am having to upgrade my clients from 
1.34 as well.  All of them (including a Solaris 5.8 machine) worked fine except 
for this one running Solaris 5.7.  These are the errors that I'm running into 
during compilation:

# make
==>Entering directory /tmp/bacula-1.38.5/src
==>Entering directory /tmp/bacula-1.38.5/scripts
==>Entering directory /tmp/bacula-1.38.5/src/lib
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall attr.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall base64.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall berrno.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall bsys.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall bget_msg.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall bnet.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall bnet_server.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall bpipe.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall btime.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall cram-md5.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall crc32.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall daemon.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall edit.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall fnmatch.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall hmac.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall idcache.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall jcr.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall lex.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall alist.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall dlist.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall md5.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall message.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall mem_pool.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall parse_conf.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall queue.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall regex.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall res.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall rwlock.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall scan.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall serial.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall sha1.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall semlock.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall signal.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall smartall.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall tls.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall tree.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall util.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall var.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall watchdog.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall workq.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall btimers.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall address_conf.c
address_conf.c: In member function `const char* IPADDR::get_address(char*, int)
   ':
address_conf.c:187: error: `inet_ntop' undeclared (first use this function)
address_conf.c:187: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
address_conf.c: In function `char* sockaddr_to_ascii(const sockaddr*, char*, 
   int)':
address_conf.c:581: error: `inet_ntop' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `address_conf.o'
Current working directory /tmp/bacula-1.38.5/src/lib


  ====== Error in /tmp/bacula-1.38.5/src/lib ======


==>Entering directory /tmp/bacula-1.38.5/src/findlib
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall find.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall match.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall find_one.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall attribs.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall create_file.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall bfile.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall enable_priv.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall fstype.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall makepath.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall save-cwd.c
/usr/bin/rm -f libfind.a
/usr/ccs/bin/ar cr libfind.a find.o match.o find_one.o attribs.o create_file.o  
bfile.o enable_priv.o fstype.o makepath.o save-cwd.o
ranlib libfind.a
make: Fatal error: Don't know how to make target `../lib/libbac.a'
Current working directory /tmp/bacula-1.38.5/src/findlib


  ====== Error in /tmp/bacula-1.38.5/src/findlib ======


==>Entering directory /tmp/bacula-1.38.5/src/filed
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall filed.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall authenticate.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall acl.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall backup.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall chksum.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall estimate.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall filed_conf.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall heartbeat.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall job.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall pythonfd.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall restore.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall status.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall verify.c
/usr/local/bin/g++   -c     -I. -I..  -g -O2 -Wall verify_vol.c
make: Fatal error: Don't know how to make target `../lib/libbac.a'
Current working directory /tmp/bacula-1.38.5/src/filed


  ====== Error in /tmp/bacula-1.38.5/src/filed ======


==>Entering directory /tmp/bacula-1.38.5/src/console
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall console.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall console_conf.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall authenticate.c
/usr/local/bin/g++   -c    -I. -I..  -g -O2 -Wall conio.c
make: Fatal error: Don't know how to make target `../lib/libbac.a'
Current working directory /tmp/bacula-1.38.5/src/console


  ====== Error in /tmp/bacula-1.38.5/src/console ======

Here is my uname:

# uname -a
SunOS xxx.xxx.xxx.xxx 5.7 Generic_106541-09 sun4u sparc 
SUNW,UltraSPARC-IIi-cEngine

This is my short configuration output (I can post the rest if needed, but 
didn't want to spam the list):

# ./configure --sbindir=/usr/bin --sysconfdir=/etc/bacula 
--with-working-dir=/var/bacula --enable-smartalloc --enable-client-only

Configuration on Thu Jan 26 05:25:48 EST 2006:

  Host:                       sparc-sun-solaris2.7 -- solaris 5.7
  Bacula version:             1.38.5 (18 January 2006)
  Source code location:       .
  Install binaries:           /usr/bin
  Install config files:       /etc/bacula
  Scripts directory:          /etc/bacula
  Working directory:          /var/bacula
  PID directory:              /var/run
  Subsys directory:           /var/run/subsys
  Man directory:              /usr/share/man
  Data directory:             /usr/share
  C Compiler:                 gcc 3.3.1
  C++ Compiler:               /usr/local/bin/g++ 3.3.1
  Compiler flags:              -g -O2 -Wall
  Linker flags:                
  Libraries:                  -lpthread -lgen -lresolv -lnsl -lsocket -lxnet  
-lintl -lresolv
  Statically Linked Tools:    no
  Statically Linked FD:       no
  Statically Linked SD:       no
  Statically Linked DIR:      no
  Statically Linked CONS:     no
  Database type:              None
  Database lib:               

  Job Output Email:           [EMAIL PROTECTED]
  Traceback Email:            [EMAIL PROTECTED]
  SMTP Host Address:          localhost

  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:          

  SQL binaries Directory      

  Large file support:         yes
  Bacula conio support:       yes -lcurses
  readline support:           no 
  TCP Wrappers support:       no 
  TLS support:                no
  ZLIB support:               yes
  enable-smartalloc:          yes
  enable-gnome:               no 
  enable-wx-console:          no 
  enable-tray-monitor:        
  client-only:                yes
  build-dird:                 yes
  build-stored:               yes
  ACL support:                yes
  Python support:             no 


Searching the archives, I found a post on 9-22-05 of someone detailing the same 
problem when he was trying to compile 1.36.3 on Solaris 5.7, but I couldn't 
find any responses to his post.  Unfortunately, I'm not the admin of this 
machine, so I can't just upgrade it to Solaris 5.8.  Any help would be 
appreciated.

--David Davenport

E-MAIL CONFIDENTIALITY NOTICE: 

 

 

 

The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.









-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to