[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling problem on OBSD2.7 (ndbm).


Someone posted, that he needs sockaddr path to compile zmailer on OpenBSD
 2.7 (afair I've made same thing for sockaddr a few months ago)... 
But what about this ? I still have it... and realy don't know if it is problem
of zmailer or my includes.

ndbm.c: In function `owner_ndbm':
ndbm.c:274: `DBM_PAGFNO_NOT_AVAILABLE' undeclared
(first use in this function)
ndbm.c:274: (Each undeclared identifier is reported only once
ndbm.c:274: for each function it appears in.)
ndbm.c: In function `modp_ndbm':
ndbm.c:297: `DBM_PAGFNO_NOT_AVAILABLE' undeclared (first use in this function)
*** Error code 1

Stop in /usr/local/src/zmailer/router/libdb.
*** Error code 1

Definition of DBM_PAGFNO_NOT_AVAILABLE in my include/ndbm.h :
#define dbm_pagfno(a)   DBM_PAGFNO_NOT_AVAILABLE
Well... I think it should be:
#define DBM_PAGFNO_NOT_AVAILABLE dbm_pagfno(a)

But I might be wrong (it seems to be a problem of openbsd anyway.) 

        Tomasz Bojakowski

[-[Tomasz Bojakowski]---[mad@devil.inside.pin.pl]---[mad@anakata.art.pl]-]
[-[Mad Karrde / Anakata]-[+48603081163]-[Don't get mad, get even]--------]
[-[PGP:http://devil.inside.pin.pl/~mad/public_key.asc]-[SysAdm]-[ ^..^ ]-]
[-----------------------[member]-[of]-[chrum]-[de]-[generation]-[ (00) ]-]