Hello, I'm trying to compile a bacula CLIENT on AIX 5.2 and it keeps failing. I was hoping that you could help.
gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs
Configured with: ../gcc-3.3.2/configure : (reconfigured) ../gcc-3.3.2/configure --disable-nls : (reconfigured) ../gcc-3.3.2/configure --disable-nls
Thread model: aix
gcc version 3.3.2
./configure --enable-client-only
Here is a copy of my config.out:
Host: powerpc-ibm-aix5.2.0.0 -- aix 2
Bacula version: 1.38.8 (14 April 2006)
Source code location: .
Install binaries: /sbin
Install config files: /etc/bacula
Scripts directory: /etc/bacula
Working directory: /var/bacula/working
PID directory: /var/run
Subsys directory: /var/run/subsys
Man directory: /usr/share/man
Data directory: /usr/share
C Compiler: gcc 3.3.2
C++ Compiler: /usr/local/bin/g++ 3.3.2
Compiler flags: -g -O2 -Wall
Linker flags:
Libraries: -lpthread -lintl
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: no
Bacula conio support: yes -ltermcap
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: no
Python support: no
When I run a make it fails at:
make[1]: Leaving directory `/home/live/revinetix/bacula-1.38.8/src/findlib'
==>Entering directory /u/live/revinetix/bacula-1.38.8/src/filed
make[1]: Entering directory `/home/live/revinetix/bacula-1.38.8/src/filed'
==== Make of filed is good ====
make[1]: Leaving directory `/home/live/revinetix/bacula-1.38.8/src/filed'
==>Entering directory /u/live/revinetix/bacula-1.38.8/src/console
make[1]: Entering directory `/home/live/revinetix/bacula-1.38.8/src/console'
/usr/local/bin/g++ -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o \
-ltermcap -lbac -lm -lpthread -lintl \
ld: 0711-317 ERROR: Undefined symbol: win32_client
ld: 0711-317 ERROR: Undefined symbol: TERM_msg
ld: 0711-317 ERROR: Undefined symbol: OK_msg
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[1]: *** [bconsole] Error 1
make[1]: Leaving directory `/home/live/revinetix/bacula-1.38.8/src/console'
====== Error in /u/live/revinetix/bacula-1.38.8/src/console ======
So how do I link to where it failed:
ld: 0711-317 ERROR: Undefined symbol: win32_client
ld: 0711-317 ERROR: Undefined symbol: TERM_msg
ld: 0711-317 ERROR: Undefined symbol: OK_msg
I also read the README.AIX file included in the tarball and it mentioned a bug in the "as" compiler, although it applied for an earlier version of gcc (gcc version 2.9-aix51-020209). If this is the case, how do I patch it?
Thanks in advance!
Jake
- [Bacula-users] Bacula Client make Issues (AIX 5.2) Jacob Hoopes