I am compliing Bacula 5.2.13 on Solaris10. I am getting the following error and can't figure out what's causing it. Can't even find where "-mt" is coming from.
Compiling mysql.c
/root/Bacula/src/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /opt/csw/bin/g++ -D_BDB_PRIV_INTERFACE_ -o
libbaccats-mysql.la mysql.lo -export-dynamic -rpath /usr/lib -release 5.2.13 \
g++: error: unrecognized command line option '-mt'
*** Error code 1
Current working directory /root/Bacula/src/bacula-5.2.13/src/cats
====== Error in /root/Bacula/src/bacula-5.2.13/src/cats ======
*** Error code 1
The following command caused the error:
for I in src scripts src/lib src/findlib src/filed src/console src/plugins/fd src/cats src/dird src/stored src/tools manpages; \
do (cd $I; echo "==>Entering directory `pwd`"; \
make DESTDIR= all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
echo ""; echo ""; exit 1;)); \
done
make: Fatal error: Command failed for target `all'