Building 7.4.0 for Solaris 10, I found the following problem when 
building fstype in src/tools:

bacula-7.4.0/src/tools $ make
/bin/CC -L/opt/webstack/mysql/lib/mysql -R/opt/webstack/mysql/lib/mysql 
-L/opt/csw/lib -R/opt/csw/lib -L../lib -L../findlib -o fstype fstype.o 
-lbacfind -lbac -lm \
    -lpthread -lresolv -lnsl -lsocket -lxnet  -lintl -lresolv -lrt 
/opt/csw/lib/libintl.so -R/opt/csw/lib -lssl -lcrypto
ld: fatal: symbol `void add_mtab_item(void*,stat*,const char*,const 
char*,const char*,const char*)' is multiply-defined:
         (file fstype.o type=FUNC; file 
../findlib/libbacfind.a(fstype.o) type=FUNC);
ld: warning: file /opt/csw/lib/libintl.so: attempted multiple inclusion 
of file
ld: fatal: File processing errors. No output written to fstype
*** Error code 2
make: Fatal error: Command failed for target `fstype'

I have a work-around:
In fstype.c, after line 70:
#if 0
extern void add_mtab_item(void *user_ctx, struct stat *st, const char 
*fstype,
                       const char *mountpoint, const char *mntopts,
                       const char *fsname);
#endif
static void add_mtab_item(void *user_ctx, struct stat *st, const char 
*fstype,
                       const char *mountpoint, const char *mntopts,
                       const char *fsname)
{

I have also created a bug report (2201) on bugs.bacula.org, which, 
amusingly enough, does not yet know about 7.4.0.

All else builds, but this sort of problem makes me leery of deploying 
7.4.0 at the moment.

        Cheers,
                Gary    B-)

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to