On 12/19/13 16:19, Mingus Dew wrote: > Dear All, > 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 > Making libbaccats-mysql.la <http://libbaccats-mysql.la> ... > /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 > <http://libbaccats-mysql.la> mysql.lo -export-dynamic -rpath /usr/lib > -release 5.2.13 \ > -soname > libbaccats-5.2.13.so <http://libbaccats-5.2.13.so> -R > /opt/mysql/mysql/lib -L/opt/mysql/mysql/lib -lmysqlclient_r -lz > g++: error: unrecognized command line option '-mt' > *** Error code 1 > make: Fatal error: Command failed for target `libbaccats-mysql.la > <http://libbaccats-mysql.la>' > Current working directory /root/Bacula/src/bacula-5.2.13/src/cats
If I were you, I wouldn't be using g++ on Solaris 10 at all, I'd use Sun Studio if I could get it. It produces better code for Solaris, particularly on Sparc architectures, and it's MUCH easier to get it to emit a proper 64-bit build for Solaris. -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: 603.293.8485 ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users