[Samba] 3.3 and 3.4 compile failure on dbwrap

Jeff Block Jeff.Block at radiology.ucsf.edu
Tue Mar 16 11:45:49 MDT 2010

We have a local include file, db.h which has fetch and store defined.

Our db.h, from a BerkeleyDB 4.8.26 install, contains the following:
#define fetch(a)    __db_dbm_fetch(a)
#define store(a, b) __db_dbm_store(a, b)

My guess is that these are causing the problem.


On 3/15/10 12:24 PM, "Volker Lendecke" <Volker.Lendecke at SerNet.DE> wrote:

> On Fri, Mar 12, 2010 at 01:13:05PM -0800, Block, Jeff wrote:
>> I thought this message would have been added to my previous thread:
>> http://lists.samba.org/archive/samba/2010-February/153608.html
>> In any case, it's solaris 9.  Further details on the issue I was having are
>> in the link.
> Great. We have workarounds for many platforms already that
> pollute the name space with macros. Can you find out which
> #include defines fetch and store and to what they are
> mapped? "fetch" and "store" are pretty generic functions
> that I'm really reluctant to avoid using in Samba...
> Volker

More information about the samba mailing list