Cyrus IMAPd 2.1.12 Released
Ilya
mail at krel.org
Tue Feb 4 23:41:34 EST 2003
you need to change the <db.h> to #include </usr/local/include/db3/db.h>
in cyrusdb_db3.c
On Tue, Feb 04, 2003 at 02:34:34PM -0500, Chris Scott wrote:
> Has anyone compiled this successfully on FreeBSD 4.7? I'm getting the
> following errors:
>
> gcc -c -I.. -I/usr/local/include -I/usr/local/ssl/include
> -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 cyrusdb_db3.c
> cyrusdb_db3.c:87: syntax error before `*'
> cyrusdb_db3.c:87: warning: type defaults to `int' in declaration of `dbenv'
> cyrusdb_db3.c:87: warning: data definition has no type or storage class
> cyrusdb_db3.c:93: syntax error before `*'
> cyrusdb_db3.c:98: syntax error before `75'
> cyrusdb_db3.c:98: warning: type defaults to `int' in declaration of `exit'
> cyrusdb_db3.c:98: conflicting types for `exit'
> /usr/include/stdlib.h:96: previous declaration of `exit'
> cyrusdb_db3.c:98: warning: data definition has no type or storage class
> cyrusdb_db3.c:86: warning: `dbinit' defined but not used
> cyrusdb_db3.c:90: warning: `commit_txn' declared `static' but never defined
> cyrusdb_db3.c:91: warning: `abort_txn' declared `static' but never defined
> *** Error code 1
>
>
> cyrusdb_db3.c is the same as it was in 2.1.11 which compiles OK.
>
> configure was run with the following:
>
> ./configure --with-sasl=/usr/local --with-perl --with-auth=unix
> --with-openss
> l=/usr/local/ssl --with-duplicate-db=db3_nosync
> --with-mboxlist-db=skiplist --wi
> th-seen-db=skiplist --with-subs-db=flat --with-tls-db=db3_nosync
>
> These are the same options that 2.1.11 compiles with fine. Using gcc
> version 2.95.4 20020320 [FreeBSD] on FreeBSD 2.7-RELEASE.
>
> Thanks,
> Chris Scott
>
>
More information about the Info-cyrus
mailing list