On Sunday, September 4, 2011 11:31 am, Ren Sato wrote:

> I am receiving the following ld warnings on make:

> ld: warning: symbol `plugin_list' has differing sizes:
>        (file /export/home/philip/bacula-5.0.3/src/lib/.libs/libbac.so
value=0x8
>  file /opt/local/mysql/lib/libmysqlclient_r.so value=0x18);
>        /export/home/philip/bacula-5.0.3/src/lib/.libs/libbac.so definition
taken
[similar warnings omitted]

> uname -a
> SunOS godzilla 5.10 Generic_142910-17 i86pc i386 i86pc

Not seeing those warnings here

uname -a
SunOS bacula 5.11 oi_151a i86pc i386 i86pc Solaris

The os is Openindiana 151a: http://openindiana.org/
Compiler: Oracle Solaris Studio 12.2

configured:

export CC=/opt/solstudio12.2/bin/cc
export CXX=/opt/solstudio12.2/bin/CC
export CFLAGS="-xtarget=generic -m64 -xO4"
export CXXFLAGS="-xtarget=generic -m64 -xO4"
export LDFLAGS="-m64 -R/usr/local/mysql/lib -R/usr/lib/64 -L/usr/lib/64
-L/usr/local/lib -lncurses"
export LIBS="-lz"

./configure  --sbindir=/usr/local/bacula/bin     --sysconfdir=/etc/bacula
--with-plugindir=/usr/local/lib    --with-pid-dir=/var/run
--with-subsys-dir=/usr/local/bacula/bin/working     --enable-smartalloc
--with-mysql=/usr/local/mysql --with-working-dir=/var/bacula/working
--with-logdir=/var/log/bacula    --with-dump-email=f...@domain.com
--with-job-email=f...@domain.com
--with-smtp-host=mail.domain.com--disable-libtool
--with-db-name=bacula --with-db-user=bacula
--with-db-password=password --with-dir-user=bacula --with-dir-group=bacula
--with-sd-user=bacula --with-sd-group=bacula --with-fd-user=bacula
--with-fd-group=bacula --disable-conio

PATH:

/usr/local/bin:/usr/local/sbin:/usr/gnu/bin:/opt/solstudio12.2/bin:/usr/bin:/usr/sbin:/usr/ucb:/bin:/sbin:/usr/sfw/bin

mysql compiled with gcc from the Openindiana pkg:

gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)

using cmake-2.8.5: http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz

mysql:

export CFLAGS=-m64
export CXXFLAGS=-m64
export LDFLAGS=-m64
cmake .
gmake

Hope this helps

-kim
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to