Martin,

I think you were reporting a different bug from what Gary reported.

Kern

On 02/01/2016 02:36 AM, Martin Simmons wrote:
> No, Bacula contains the multiple definition of add_mtab_entry
> (findlib/fstype.c and tools/fstype.c).  I also reported this as part of bug
> #2197.
>
> __Martin
>
>
>>>>>> On Fri, 29 Jan 2016 20:00:19 -0800, Kern Sibbald said:
>>
>> Hello,
>>
>> Yes, thanks for submitting the bug report.  My best reading on this
>> problem is that one of your Solaris libraries (apparently libintl) is
>> exporting the symbol add_mtab_entry(), and that is conflicting with the
>> Bacula add_mtab_entry() definition.  As you point out in the bug report,
>> the entry point in Bacula only needs to be static, which resolves the
>> problem.  So my view is that this is not really a bug just some silly
>> library symbol conflict which is not serious.
>>
>> This version of Bacula has been quite heavily tested and as long as you
>> don't need any of the new features, it should be *very* stable.
>>
>> Best regards,
>> Kern
>>
>> On 01/28/2016 06:38 PM, Gary R. Schmidt wrote:
>>> 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
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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