you were correct, that fixed it. but now i am stuck in a new place... any
ideas? ;)
make all CFLAGS=-O
### Making all in /root/temp/cyrus-imapd-2.0.9/man
### Making all in /root/temp/cyrus-imapd-2.0.9/sieve
### Making all in /root/temp/cyrus-imapd-2.0.9/acap
### Making all in /root/temp/cyrus-imapd-2.0.9/lib
### Making all in /root/temp/cyrus-imapd-2.0.9/master
gcc -L/usr/local/lib -R/usr/local/lib -L/usr/include/openssl/lib -g -O2 -o
master master.o masterconf.o
cyrusMasterMIB.o -lucdagent -lucdmibs -lsnmp -lfl -ldb -lssl -lcrypto -lwra
p -lcom_err
/usr/local/lib/libsnmp.so: warning: mktemp() possibly used unsafely;
consider using mkstemp()
/usr/local/lib/libucdmibs.so: undefined reference to `auto_nlist_value'
/usr/local/lib/libucdmibs.so: undefined reference to `kvm_getswapinfo'
/usr/local/lib/libucdmibs.so: undefined reference to `auto_nlist'
/usr/local/lib/libucdagent.so: undefined reference to `kvm_geterr'
/usr/local/lib/libucdagent.so: undefined reference to `kvm_read'
/usr/local/lib/libucdagent.so: undefined reference to `kvm_openfiles'
*** Error code 1
Stop in /root/temp/cyrus-imapd-2.0.9/master.
*** Error code 1
Stop in /root/temp/cyrus-imapd-2.0.9.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Ilya" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 22, 2000 2:46 AM
Subject: Re: building 2.0.9
> On 21-Dec-00 at 21:04, Ilya ([EMAIL PROTECTED]) wrote:
> > I am trying to build 2.0.9 on a freebsd 4.2 and i am getting this error,
> > any ideas? :
> >
> > rusdb_db3.c
> > cyrusdb_db3.c:75: syntax error before `*'
> > cyrusdb_db3.c:75: warning: data definition has no type or storage class
>
> Look at this line and see what type is being used.
>
> > cyrusdb_db3.c:80: syntax error before `*'
> > cyrusdb_db3.c:84: syntax error before `75'
> > cyrusdb_db3.c:84: conflicting types for `exit'
> > /usr/include/stdlib.h:94: previous declaration of `exit'
> > cyrusdb_db3.c:84: warning: data definition has no type or storage class
> > *** Error code 1
>
> Without looking at the code, my first guess would be that cyrusdb_db3.c
> is including db.h without a directory qualifier and getting the wrong
> version. The older version of db is bundled with the OS. The cleanest
> way to get the db3 files is to specify 'db3/' in the include:
>
> #include <db3/db.h>
>
> (Grep for db.h in all of the cyrus sources to make sure you get them all.)
>
>
>
> -Pat
>