Error compiling 2.1.17

Chris Scott chris-lists at adaptivehostingsolutions.com
Sun Nov 28 19:48:50 EST 2004


I'm trying to upgrade from 2.1.12 to 2.1.17.  I'm running the following 
configure command:

./configure \
--with-sasl=/usr/local \
--with-perl \
--with-auth=unix \
--with-openssl=/usr/local/ssl \
--with-duplicate-db=db3_nosync \
--with-mboxlist-db=skiplist \
--with-seen-db=skiplist \
--with-subs-db=flat \
--with-tls-db=db3_nosync


When I run make, I get the following error

---BEGIN ERROR---

### Making all in /usr/src/112804/cyrus-imapd-2.1.17/lib
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:88: syntax error before `*'
cyrusdb_db3.c:88: warning: type defaults to `int' in declaration of `dbenv'
cyrusdb_db3.c:88: warning: data definition has no type or storage class
cyrusdb_db3.c:94: syntax error before `*'
cyrusdb_db3.c:99: syntax error before `75'
cyrusdb_db3.c:99: warning: type defaults to `int' in declaration of `exit'
cyrusdb_db3.c:99: conflicting types for `exit'
/usr/include/stdlib.h:96: previous declaration of `exit'
cyrusdb_db3.c:99: warning: data definition has no type or storage class
cyrusdb_db3.c:87: warning: `dbinit' defined but not used
cyrusdb_db3.c:91: warning: `commit_txn' declared `static' but never defined
cyrusdb_db3.c:92: warning: `abort_txn' declared `static' but never defined
*** Error code 1

Stop in /usr/src/112804/cyrus-imapd-2.1.17/lib.
*** Error code 1

Stop in /usr/src/112804/cyrus-imapd-2.1.17.

---END ERROR---


This is on FreeBSD 4.7 with gcc version 2.95.4.  I saw a post to the 
list with the same problem on 2.1.16 on FBSD 4.9 but no resolution: 
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=26588

Any ideas on where to start troubleshooting this?

Thanks.

-- 
Chris Scott
Adaptive Hosting Solutions, Inc.
http://www.adaptivehostingsolutions.com/
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list