On Thursday 31 December 2009 01:09:22 Dan Langille wrote:
> Kern Sibbald wrote:
> > On Monday 28 December 2009 01:04:35 Dan Langille wrote:
> >> Dan Langille wrote:
> >>> I'm getting this error, using MySQL 5.4.3 on FreeBSD 7.2 with Bacula
> >>> regression testing on trunk.
> >>>
> >>> dev.c: In member function `void DEVICE::init_backend()':
> >>> dev.c:323: error: invalid conversion from `int (*)(int, long unsigned
> >>> int, ...)' to `int (*)(int, int, ...)'
> >
> > Dan,
> >
> > Concerning the above error, could you do the following:
> >
> > cd <bacula-source>
> > git checkout master
> > git pull
> > rm -f config.*
> >
> > cd <regress>
> > (ensure that the BACULA_SOURCE environment variable in
> >  <regress>/config points to ../bacula.  If it does not, then
> >  there is a synchronization problem.  Since switching to git, the
> >  source code and the regress code are pulled into the same
> >  higher level directory:
> >
> >    <repo>/bacula
> >               /regress
> >               /gui
> >
> >   thus <regress>/config BACULA_SOURCE should point to
> >   <repo>/bacula.
> >  In the old SVN, the source and regress directories were handled
> >  separately.
> >
> > If that is the case, then try in the <regress> directory:
> >
> >  make setup
> >
> > If it fails, send me the following two files:
> >
> >   <regress>/build/src/config.h
> >   <regress>/build/config.log
> >
> > I would really like to get to the bottom of this today if possible.
>
> This appears to have resolved itself with the latest build.  :)
>

Yes, I have worked on it and found a temporary solution.  However, the fact is 
that the header file on FreeBSD for tpcd.h cannot be used by C++ programs.  
tpcd.h is needed if you turn on tcpwrappers.  I have added some kludges to 
Bacula so that it builds anyway, but they are kludges.  The real problem is 
that the FreeBSD version of tpcd.h is very old and needs to be brought up to 
more modern standards (note unfortunately the same is true on Mac OS X, I 
imagine because they have lifted the FreeBSD code).

Regards,

Kern

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to