Strange compilation problem

Patrick Boutilier boutilpj at ednet.ns.ca
Sun Nov 3 18:44:20 EST 2002


Adrian,

Could be a wrong db.h
Which version is /usr/include/db.h ?



Adrian Senn wrote:
> Hi list
> 
> I've got a strange compilation problem with cyrus and i've got no
> idea how to resolve it.
> 
> I found on the googe group search someone other which got
> the same problems as i do.
> 
> http://groups.google.de/groups?q=cyrusdb_db3.c:+In+function+%60mysync%27:&hl
> =de&lr=&ie=UTF-8&selm=8131e265.0209180627.3d3f27fb%40posting.google.com&rnum
> =1
> 
> The error which i get is
> 
> cyrusdb_db3.c
> cyrusdb_db3.c: In function `mysync':
> cyrusdb_db3.c:241: `DB_INCOMPLETE' undeclared (first use in this function)
> cyrusdb_db3.c:241: (Each undeclared identifier is reported only once
> cyrusdb_db3.c:241: for each function it appears in.)
> cyrusdb_db3.c: In function `myopen':
> cyrusdb_db3.c:350: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> cyrusdb_db3.c:350: warning: passing arg 4 of pointer to function makes
> pointer from integer without a cast
> cyrusdb_db3.c:350: too few arguments to function
> make[1]: *** [cyrusdb_db3.o] Error 1
> make[1]: Leaving directory `/home/downloads/cyrus-imapd-2.1.9/lib'
> make: *** [all] Error 1
> 
> Is there something wrong with the berkeley db?
> I compiled it from the source (BerkeleyDB.4.1)
> The SASL version is 2.1.9. Cyrus has the same version.
> 
> It's a SUSE Linux (8.1) Box. But i head the same problem before
> the upgrading on the 8.0 version.
> 
> Thanks for any idea.
> 
> Regards Adrian Senn
> 
> --
> |p mbox: adrian at senn.ch                                     _ |
> |g mbox: adrian.senn at usz.ch          ASCII ribbon campaign ( )|
> |www:  <http://www.senn.ch/>          - against HTML email  X |
> |      <http://www.cevinet.ch/>                   & vCards / \|
> 
> 





More information about the Info-cyrus mailing list