Howdy ho,
In an attempt to resolve this issue I:
A) Attempted to make sure it was still there in the latest snapshot;
B) Read the FAQ; and
C) Attempted to search the mailing list archives with not great success
because sourceforge mailing list searches suck.
Having dispensed with the preamble,
I'm attempting to get Courier-imap 1.7.3 working on Solaris 9; my issue
is that my version of the Berkeley DB is 4.1.25 and courier is
apparently familiar only with the BDB interface up to the version 3
interface. When I attempt to compile I get:
---
93 nag /usr/local/src/courier-imap-1.7.3.20030527/bdbobj > make
make all-am
Compiling bdbobj.c
"bdbobj.c", line 117: warning: argument #2 is incompatible with
prototype:
prototype: pointer to struct __db_txn {pointer to struct
__db_txnmgr {..} mgrp, pointer to struct __db_txn {..} parent,
struct __db_lsn {..} last_lsn, unsigned int txnid, unsigned int
off, unsigned int lock_timeout, unsigned int expire, pointer to
void txn_list, struct {..} links, struct {..} events, struct
__kids {..} kids, struct {..} klinks, pointer to void
api_internal, unsigned int cursors, pointer to function(pointer
to struct __db_txn {..}) returning int abort, pointer to
function(pointer to struct __db_txn {..}, unsigned int)
returning int commit, pointer to function(pointer to struct
__db_txn {..}, unsigned int) returning int discard, pointer to
function(pointer to struct __db_txn {..}) returning unsigned int
id, pointer to function(pointer to struct __db_txn {..}, pointer
to unsigned char) returning int prepare, pointer to
function(pointer to struct __db_txn {..}, unsigned int, unsigned
int) returning int set_timeout, unsigned int flags} : "unknown",
line 0
argument : pointer to const char
"bdbobj.c", line 117: warning: improper pointer/integer
combination: arg #4
"bdbobj.c", line 117: prototype mismatch: 6 args
passed,
7 expected
cc: acomp failed for bdbobj.c
*** Error code 2
---
I've seen this happen in other applications that stupidly expect
Sleepycat to at least attempt to keep their API consistent between
versions*. As I see it, I could either downgrade BDB (if I can find an
older version) or, trivially, change the source to deal with 4.1.25. I
figure there's like an Officially Correct Way to resolve this.
Suggestions?
-roy
*Irony
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users