I am trying to compile bacula on mac os x leopard and I am getting following 
errors.

/usr/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
authenticate.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o 
pythonfd.o restore.o status.o verify.o verify_vol.o \
            -lz            -lfind -lbac -lm  -lpthread  \

ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-fd] Error 1



  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/filed ======


==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/console
Compiling console.c
console.c: In function ‘int get_cmd(FILE*, const char*, BSOCK*, int)’:
console.c:718: error: ‘rl_catch_signals’ was not declared in this scope
make[1]: *** [console.o] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/console ======

/usr/bin/g++   -static -L../lib -L../cats -L../findlib -o static-bacula-dir 
dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o 
expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o 
msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o 
scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o 
ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o 
ua_status.o ua_tree.o ua_update.o verify.o \
              -lsql -lbac -lfind -lm   -L/usr/lib -lsqlite3 -lpthread  \

ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-dir] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/dird ======


/usr/bin/g++   -static -L../lib -o static-bacula-sd stored.o ansi_label.o 
autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o 
device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o 
match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o 
reserve.o scan.o spool.o status.o stored_conf.o wait.o -lz \
         -lbac -lm   -lpthread   \

ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-sd] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/stored ======


Here is the gcc version:

$ gcc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Full output is attached to the e-mail. 
I am trying to compile it static because I want to copy fd to other macs that 
does not have xcode installed, I am not sure if dynamic version will work.


Hemant Shah
E-mail: hj...@yahoo.com


      
host-190:bacula-2.4.3 shahhe$ ./configure --enable-static-tools 
--enable-static-fd --enable-static-sd --enable-static-dir --enable-static-cons  
--with-sqlite3 --disable-ipv6 --enable-smartalloc  --enable-batch-insert 
--enable-largefile --disable-nls  --with-dir-password=shahbacula 
--with-fd-password=shahbacula --with-sd-password=shahbacula 
-with-mon-dir-password=shahbacula --with-mon-fd-password=shahbacula 
--with-mon-sd-password=shahbacula --sbindir=/usr/local/bin 
--sysconfdir=/usr/local/etc --with-working-dir=/Volumes/Public/backups/working  
--with-archivedir=/Volumes/Public/backups --disable-conio 
checking for true... /usr/bin/true
checking for false... /usr/bin/false
configuring for bacula 2.4.3 (10 October 2008)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking for g++... /usr/bin/g++
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /usr/bin/sed
checking for echo... /bin/echo
checking for cmp... /usr/bin/cmp
checking for tbl... /usr/bin/tbl
checking for ar... /usr/bin/ar
checking for openssl... /usr/bin/openssl
checking for mtx... mtx
checking for dd... /bin/dd
checking for mkisofs... mkisofs
checking for python... /usr/bin/python
checking for growisofs... growisofs
checking for dvd+rw-mediainfo... dvd+rw-mediainfo
checking for dvd+rw-format... dvd+rw-format
checking for pkg-config... pkg-config
checking for qmake... none
checking for qmake-qt4... none
checking for wx-config... /usr/bin/wx-config
checking for cdrecord... cdrecord
checking for pidof... pidof
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for awk... /usr/bin/awk
checking build system type... powerpc-apple-darwin9.6.0
checking host system type... powerpc-apple-darwin9.6.0
checking for Operating System Distribution... done
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) is GNU 
ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking whether NLS is requested... no
checking whether to use NLS... no
checking for msgfmt... (cached) :
checking /usr/include/readline/readline.h usability... yes
checking /usr/include/readline/readline.h presence... yes
checking for /usr/include/readline/readline.h... yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for strcasecmp... yes
checking for select... yes
checking for setenv... yes
checking for putenv... yes
checking for tcgetattr... yes
checking for lstat... yes
checking for lchown... yes
checking for nanosleep... yes
checking for nl_langinfo... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for Python support... no
checking for socket... yes
using libc's socket
checking for OpenSSL... no
checking for PostgreSQL support... no
checking for MySQL support... checking for SQLite3 support... yes
checking for SQLite support... no
nm: can't open file: /usr/lib/libsqlite3.a (No such file or directory)
checking for getconf... getconf
checking for CFLAGS value to request large file support... no
checking for LDFLAGS value to request large file support... no
checking for LIBS value to request large file support... no
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... 1
checking for _LARGE_FILES... 1
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking libc.h usability... yes
checking libc.h presence... yes
checking for libc.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking stdint.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking strings.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/stat.h usability... yes
checking sys/stat.h presence... yes
checking for sys/stat.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking mtio.h usability... no
checking mtio.h presence... no
checking for mtio.h... no
checking sys/mtio.h usability... yes
checking sys/mtio.h presence... yes
checking for sys/mtio.h... yes
checking sys/tape.h usability... no
checking sys/tape.h presence... no
checking for sys/tape.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking whether stat file-mode macros are broken... (cached) no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for utime.h... yes
checking for socklen_t... yes
checking for bigendian... yes
checking for typeof... yes
checking for an ANSI C-conforming const... yes
checking how to get filesystem type... rm: conftest.dSYM: is a directory
4.4BSD/OSF1
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking return type of signal handlers... void
checking for type of signal functions... posix
checking for mode_t... yes
checking for uid_t in sys/types.h... rm: conftest.dSYM: is a directory
yes
checking for size_t... yes
checking for pid_t... yes
checking for off_t... yes
checking for ino_t... yes
checking for dev_t... yes
checking for daddr_t... yes
checking for major_t... no
checking for minor_t... no
checking for ssize_t... yes
checking for struct stat.st_blocks... (cached) yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for an ANSI C-conforming const... (cached) yes
checking for char... yes
checking size of char... 1
checking for short int... yes
checking size of short int... 2
checking for int... yes
checking size of int... 4
checking for long int... yes
checking size of long int... 4
checking for long long int... yes
checking size of long long int... 8
checking for int *... yes
checking size of int *... 4
checking for u_int type... yes
checking for intmax_t type... yes
checking for u_intmax_t type... no
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... yes
checking for u_int64_t types... yes
checking for fork... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setsid... yes
checking for signal... yes
checking for strerror... yes
checking for strncmp... yes
checking for strncpy... yes
checking for vfprintf... yes
checking for fchdir... yes
checking for strtoll... yes
checking for posix_fadvise... no
checking for fdatasync... no
checking for chflags... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for gethostid... yes
checking for fseeko... yes
checking for va_copy... yes
checking for localtime_r... yes
checking for readdir_r... yes
checking for strerror_r... yes
checking for gethostbyname_r... no
checking for gethostbyname_r... (cached) no
checking for gethostbyname_r in -lnsl... no
checking for gethostbyname_r in -lresolv... no
checking for inet_pton... yes
checking for inet_ntop... yes
checking for gethostbyname2... yes
checking for struct sockaddr has a sa_len field... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing getmntent... no
checking whether closedir returns void... no
checking whether setpgrp takes no argument... yes
checking for gettext in -lintl... no
checking for getpwnam in -lsun... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for acl_get_file... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating autoconf/Make.common
config.status: creating Makefile
config.status: creating manpages/Makefile
config.status: creating scripts/startmysql
config.status: creating scripts/stopmysql
config.status: creating scripts/btraceback
config.status: creating scripts/startit
config.status: creating scripts/stopit
config.status: creating scripts/bconsole
config.status: creating scripts/gconsole
config.status: creating scripts/bacula
config.status: creating scripts/bacula-ctl-dir
config.status: creating scripts/bacula-ctl-fd
config.status: creating scripts/bacula-ctl-sd
config.status: creating scripts/devel_bacula
config.status: creating scripts/Makefile
config.status: creating scripts/logrotate
config.status: creating scripts/bacula.desktop.gnome1
config.status: creating scripts/bacula.desktop.gnome2
config.status: creating scripts/bacula.desktop.gnome1.consolehelper
config.status: creating scripts/bacula.desktop.gnome2.consolehelper
config.status: creating scripts/bacula.desktop.gnome1.xsu
config.status: creating scripts/bacula.desktop.gnome2.xsu
config.status: creating scripts/bgnome-console.console_apps
config.status: creating scripts/mtx-changer
config.status: creating scripts/disk-changer
config.status: creating scripts/dvd-handler
config.status: creating scripts/dvd-simulator
config.status: creating scripts/bacula-tray-monitor.desktop
config.status: creating scripts/logwatch/Makefile
config.status: creating scripts/logwatch/logfile.bacula.conf
config.status: creating scripts/wxconsole.console_apps
config.status: creating scripts/wxconsole.desktop.consolehelper
config.status: creating scripts/wxconsole.desktop.xsu
config.status: creating scripts/bat.desktop
config.status: creating scripts/bat.desktop.xsu
config.status: creating scripts/bat.desktop.consolehelper
config.status: creating scripts/bat.console_apps
config.status: creating src/Makefile
config.status: creating src/host.h
config.status: creating src/console/Makefile
config.status: creating src/console/bconsole.conf
config.status: creating src/gnome2-console/Makefile
config.status: creating src/gnome2-console/bgnome-console.conf
config.status: creating src/qt-console/bat.conf
config.status: creating src/qt-console/bat.pro
config.status: creating src/qt-console/install_conf_file
config.status: creating src/wx-console/Makefile
config.status: creating src/wx-console/bwx-console.conf
config.status: creating src/tray-monitor/Makefile
config.status: creating src/tray-monitor/tray-monitor.conf
config.status: creating src/dird/Makefile
config.status: creating src/dird/bacula-dir.conf
config.status: creating src/lib/Makefile
config.status: creating src/stored/Makefile
config.status: creating src/stored/bacula-sd.conf
config.status: creating src/filed/Makefile
config.status: creating src/filed/bacula-fd.conf
config.status: creating src/cats/Makefile
config.status: creating src/cats/make_catalog_backup
config.status: creating src/cats/delete_catalog_backup
config.status: creating src/cats/create_postgresql_database
config.status: creating src/cats/update_postgresql_tables
config.status: creating src/cats/make_postgresql_tables
config.status: creating src/cats/grant_postgresql_privileges
config.status: creating src/cats/drop_postgresql_tables
config.status: creating src/cats/drop_postgresql_database
config.status: creating src/cats/create_mysql_database
config.status: creating src/cats/update_mysql_tables
config.status: creating src/cats/make_mysql_tables
config.status: creating src/cats/grant_mysql_privileges
config.status: creating src/cats/drop_mysql_tables
config.status: creating src/cats/drop_mysql_database
config.status: creating src/cats/create_sqlite_database
config.status: creating src/cats/update_sqlite_tables
config.status: creating src/cats/make_sqlite_tables
config.status: creating src/cats/grant_sqlite_privileges
config.status: creating src/cats/drop_sqlite_tables
config.status: creating src/cats/drop_sqlite_database
config.status: creating src/cats/create_sqlite3_database
config.status: creating src/cats/update_sqlite3_tables
config.status: creating src/cats/make_sqlite3_tables
config.status: creating src/cats/grant_sqlite3_privileges
config.status: creating src/cats/drop_sqlite3_tables
config.status: creating src/cats/drop_sqlite3_database
config.status: creating src/cats/sqlite
config.status: creating src/cats/mysql
config.status: creating src/cats/create_bdb_database
config.status: creating src/cats/update_bdb_tables
config.status: creating src/cats/make_bdb_tables
config.status: creating src/cats/grant_bdb_privileges
config.status: creating src/cats/drop_bdb_tables
config.status: creating src/cats/drop_bdb_database
config.status: creating src/cats/create_bacula_database
config.status: creating src/cats/update_bacula_tables
config.status: creating src/cats/grant_bacula_privileges
config.status: creating src/cats/make_bacula_tables
config.status: creating src/cats/drop_bacula_tables
config.status: creating src/cats/drop_bacula_database
config.status: creating src/findlib/Makefile
config.status: creating src/tools/Makefile
config.status: creating po/Makefile.in
config.status: creating platforms/Makefile
config.status: creating platforms/darwin/Makefile
config.status: creating src/config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
Doing make of dependencies
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src
make[1]: Nothing to be done for `depend'.
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/scripts
make[1]: `depend' is up to date.
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/lib
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/findlib
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/filed
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/console
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/cats
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/dird
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/stored
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/tools
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/manpages
make[1]: Nothing to be done for `depend'.

Configuration on Fri Jan  2 22:21:34 CST 2009:

  Host:                       powerpc-apple-darwin9.6.0 -- darwin 9.6.0
  Bacula version:             2.4.3 (10 October 2008)
  Source code location:       .
  Install binaries:           /usr/local/bin
  Install config files:       /usr/local/etc
  Scripts directory:          /usr/local/etc
  Archive directory:          /Volumes/Public/backups
  Working directory:          /Volumes/Public/backups/working
  PID directory:              /var/run
  Subsys directory:           /var/run/subsys
  Man directory:              ${datarootdir}/man
  Data directory:             ${prefix}/share
  C Compiler:                 gcc 4.0.1
  C++ Compiler:               /usr/bin/g++ 4.0.1
  Compiler flags:              -g -O2 -Wall -fno-strict-aliasing 
-fno-exceptions -fno-rtti
  Linker flags:                
  Libraries:                  -lpthread 
  Statically Linked Tools:    yes
  Statically Linked FD:       yes
  Statically Linked SD:       yes
  Statically Linked DIR:      yes
  Statically Linked CONS:     yes
  Database type:              SQLite3
  Database lib:               -L/usr/lib -lsqlite3
  Database name:              bacula
  Database user:              bacula

  Job Output Email:           r...@localhost
  Traceback Email:            r...@localhost
  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      /usr/bin

  Large file support:         no
  Bacula conio support:       no -lreadline -ltermcap
  readline support:           yes 
  TCP Wrappers support:       no 
  TLS support:                no
  Encryption support:         no
  ZLIB support:               yes
  enable-smartalloc:          yes
  bat support:                no 
  enable-gnome:               no 
  enable-bwx-console:         no 
  enable-tray-monitor:        
  client-only:                no
  build-dird:                 yes
  build-stored:               yes
  ACL support:                yes
  Python support:             no 
  Batch insert enabled:       no

  
host-190:bacula-2.4.3 shahhe$ make
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src
make[1]: Nothing to be done for `all'.
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/scripts
make[1]: Nothing to be done for `all'.
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/lib
Compiling attr.c
Compiling base64.c
Compiling berrno.c
Compiling bsys.c
Compiling bget_msg.c
Compiling bnet.c
Compiling bnet_server.c
Compiling runscript.c
Compiling bsock.c
Compiling bpipe.c
Compiling bsnprintf.c
Compiling btime.c
Compiling cram-md5.c
Compiling crc32.c
Compiling crypto.c
Compiling daemon.c
Compiling edit.c
Compiling enh_fnmatch.c
Compiling fnmatch.c
Compiling guid_to_name.c
Compiling hmac.c
Compiling jcr.c
Compiling lex.c
Compiling alist.c
Compiling dlist.c
Compiling md5.c
Compiling message.c
Compiling mem_pool.c
Compiling openssl.c
Compiling parse_conf.c
Compiling queue.c
Compiling bregex.c
Compiling res.c
Compiling rwlock.c
Compiling scan.c
Compiling serial.c
Compiling sha1.c
Compiling signal.c
Compiling smartall.c
Compiling rblist.c
Compiling tls.c
Compiling tree.c
Compiling util.c
Compiling var.c
Compiling watchdog.c
Compiling workq.c
Compiling btimers.c
Compiling address_conf.c
Compiling pythonlib.c
Compiling breg.c
Making libbac.a ...
/usr/bin/ar rc  libbac.a attr.o base64.o berrno.o bsys.o bget_msg.o bnet.o 
bnet_server.o runscript.o bsock.o bpipe.o bsnprintf.o btime.o cram-md5.o 
crc32.o crypto.o daemon.o edit.o enh_fnmatch.o fnmatch.o guid_to_name.o hmac.o 
jcr.o lex.o alist.o dlist.o md5.o message.o mem_pool.o openssl.o parse_conf.o 
queue.o bregex.o res.o rwlock.o scan.o serial.o sha1.o signal.o smartall.o 
rblist.o tls.o tree.o util.o var.o watchdog.o workq.o btimers.o address_conf.o 
pythonlib.o breg.o
ranlib libbac.a
ranlib: file: libbac.a(openssl.o) has no symbols
==== Make of lib is good ====
 
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/findlib
Compiling find.c
Compiling match.c
Compiling find_one.c
Compiling attribs.c
Compiling create_file.c
Compiling bfile.c
Compiling drivetype.c
Compiling enable_priv.c
Compiling fstype.c
Compiling makepath.c
Compiling save-cwd.c
Making libfind.a ...
/usr/bin/ar cr libfind.a find.o match.o find_one.o attribs.o create_file.o 
bfile.o drivetype.o enable_priv.o fstype.o makepath.o save-cwd.o
ranlib libfind.a
==== Make of findlib is good ====
 
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/filed
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling pythonfd.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Linking bacula-fd ...
/usr/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o 
backup.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o 
status.o verify.o verify_vol.o \
           -lz             -lfind -lbac -lm  -lpthread  \
             
/usr/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
authenticate.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o 
pythonfd.o restore.o status.o verify.o verify_vol.o \
            -lz            -lfind -lbac -lm  -lpthread  \
              
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-fd] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/filed ======


==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/console
Compiling console.c
console.c: In function ‘int get_cmd(FILE*, const char*, BSOCK*, int)’:
console.c:718: error: ‘rl_catch_signals’ was not declared in this scope
make[1]: *** [console.o] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/console ======


==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/cats
Compiling mysql.c
Compiling bdb.c
Compiling bdb_create.c
Compiling bdb_get.c
Compiling bdb_update.c
Compiling bdb_delete.c
Compiling bdb_find.c
Compiling bdb_list.c
Compiling sql.c
Compiling sql_cmds.c
Compiling sql_create.c
Compiling sql_delete.c
Compiling sql_find.c
Compiling sql_get.c
Compiling sql_list.c
Compiling sql_update.c
Compiling sqlite.c
Compiling postgresql.c
Making libsql.a ...
/usr/bin/ar rc  libsql.a mysql.o bdb.o bdb_create.o bdb_get.o bdb_update.o 
bdb_delete.o bdb_find.o bdb_list.o sql.o sql_cmds.o sql_create.o sql_delete.o 
sql_find.o sql_get.o sql_list.o sql_update.o sqlite.o postgresql.o
ranlib libsql.a
ranlib: file: libsql.a(mysql.o) has no symbols
ranlib: file: libsql.a(bdb.o) has no symbols
ranlib: file: libsql.a(bdb_create.o) has no symbols
ranlib: file: libsql.a(bdb_get.o) has no symbols
ranlib: file: libsql.a(bdb_update.o) has no symbols
ranlib: file: libsql.a(bdb_delete.o) has no symbols
ranlib: file: libsql.a(bdb_find.o) has no symbols
ranlib: file: libsql.a(bdb_list.o) has no symbols
ranlib: file: libsql.a(postgresql.o) has no symbols
==== Make of cats is good ====
 
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/dird
Compiling dird.c
Compiling admin.c
Compiling authenticate.c
Compiling autoprune.c
Compiling backup.c
Compiling bsr.c
Compiling catreq.c
Compiling dird_conf.c
Compiling expand.c
Compiling fd_cmds.c
Compiling getmsg.c
Compiling inc_conf.c
Compiling job.c
Compiling jobq.c
Compiling migrate.c
Compiling mountreq.c
Compiling msgchan.c
Compiling next_vol.c
Compiling newvol.c
Compiling pythondir.c
Compiling recycle.c
Compiling restore.c
Compiling run_conf.c
Compiling scheduler.c
Compiling ua_acl.c
Compiling ua_cmds.c
Compiling ua_dotcmds.c
Compiling ua_query.c
Compiling ua_input.c
Compiling ua_label.c
Compiling ua_output.c
Compiling ua_prune.c
Compiling ua_purge.c
Compiling ua_restore.c
Compiling ua_run.c
Compiling ua_select.c
Compiling ua_server.c
Compiling ua_status.c
Compiling ua_tree.c
Compiling ua_update.c
Compiling verify.c
Linking bacula-dir ...
/usr/bin/g++   -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o 
authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o expand.o 
fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o 
next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o 
ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o 
ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o 
ua_tree.o ua_update.o verify.o \
              -lsql -lfind -lbac -lm   -L/usr/lib -lsqlite3 -lpthread  \
                
/usr/bin/g++   -static -L../lib -L../cats -L../findlib -o static-bacula-dir 
dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o 
expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o 
msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o 
scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o 
ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o 
ua_status.o ua_tree.o ua_update.o verify.o \
              -lsql -lbac -lfind -lm   -L/usr/lib -lsqlite3 -lpthread  \
                
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-dir] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/dird ======


==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/stored
Compiling stored.c
Compiling ansi_label.c
Compiling autochanger.c
Compiling acquire.c
Compiling append.c
Compiling askdir.c
Compiling authenticate.c
Compiling block.c
Compiling butil.c
Compiling dev.c
Compiling device.c
Compiling dircmd.c
Compiling dvd.c
Compiling ebcdic.c
Compiling fd_cmds.c
Compiling job.c
Compiling label.c
Compiling lock.c
Compiling mac.c
Compiling match_bsr.c
Compiling mount.c
Compiling parse_bsr.c
Compiling pythonsd.c
Compiling read.c
Compiling read_record.c
Compiling record.c
Compiling reserve.c
Compiling scan.c
Compiling spool.c
Compiling status.c
Compiling stored_conf.c
Compiling wait.c
Linking bacula-sd ...
/usr/bin/g++   -L../lib -o bacula-sd stored.o ansi_label.o autochanger.o 
acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o 
dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o 
mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o 
spool.o status.o stored_conf.o wait.o -lz \
          -lbac -lm   -lpthread   \
           
/usr/bin/g++   -static -L../lib -o static-bacula-sd stored.o ansi_label.o 
autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o 
device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o 
match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o 
reserve.o scan.o spool.o status.o stored_conf.o wait.o -lz \
         -lbac -lm   -lpthread   \
          
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [static-bacula-sd] Error 1


  ====== Error in /Users/shahhe/Downloads/bacula-2.4.3/src/stored ======


==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/src/tools
Compiling bsmtp.c
/usr/bin/g++  -L../lib -o bsmtp bsmtp.o -lbac -lm  -lpthread   
Compiling dbcheck.c
/usr/bin/g++  -L../lib -L../cats -o dbcheck dbcheck.o ../dird/dird_conf.o 
../dird/run_conf.o ../dird/inc_conf.o -lsql -lbac -lm -L/usr/lib -lsqlite3 
-lpthread   
Compiling drivetype.c
/usr/bin/g++  -L../lib -L../findlib -o drivetype drivetype.o -lfind -lbac -lm  
-lpthread   
Compiling fstype.c
/usr/bin/g++  -L../lib -L../findlib -o fstype fstype.o -lfind -lbac -lm  
-lpthread   
Compiling testfind.c
/usr/bin/g++ -g  -L. -L../lib -L../findlib -o testfind testfind.o 
../dird/dird_conf.o ../dird/inc_conf.o ../dird/run_conf.o \
           -lfind -lbac -lm -lpthread   
Compiling testls.c
/usr/bin/g++ -g  -L. -L../lib -L../findlib -o testls testls.o \
           -lfind -lbac -lm -lpthread   
Compiling bregex.c
/usr/bin/g++ -g  -L. -L../lib -o bregex bregex.o \
           -lbac -lm -lpthread   
Compiling bwild.c
/usr/bin/g++ -g  -L. -L../lib -o bwild bwild.o \
           -lbac -lm -lpthread   
Compiling bbatch.c
/usr/bin/g++ -g  -L../cats -L. -L../lib -o bbatch bbatch.o \
          -lsql -lbac -lm -L/usr/lib -lsqlite3 -lpthread   
Compiling bregtest.c
/usr/bin/g++  -L../lib -o bregtest bregtest.o -lbac -lm  -lpthread   
gcc -c gigaslam.c  
gcc -o gigaslam gigaslam.o
Compiling grow.c
/usr/bin/g++  -L../lib -o grow grow.o -lbac -lm  -lpthread   
==== Make of tools is good ====
 
==>Entering directory /Users/shahhe/Downloads/bacula-2.4.3/manpages
make[1]: Nothing to be done for `all'.
host-190:bacula-2.4.3 shahhe$ 
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to