RE: Compile fails on linux


Subject: RE: Compile fails on linux
From: Howard Chu (hyc at highlandsun dot com)
Date: Tue Jan 14 2003 - 04:08:46 EST


Cyrus SASL 1.5.x has never been updated to support Berkeley DB 4.1. BDB 4.1
added a new parameter to the open() function, and the compiler (rightly)
complains that too few arguments were given. Just add a NULL as the 2nd
parameter and it'll work.

  -- Howard Chu
  Chief Architect, Symas Corp. Director, Highland Sun
  http://www.symas.com http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-cyrus-sasl at lists dot andrew dot cmu dot edu
> [mailto:owner-cyrus-sasl at lists dot andrew dot cmu dot edu]On Behalf Of Alex Potter
> Sent: Tuesday, January 14, 2003 12:22 AM
> To: cyrus-sasl at lists dot andrew dot cmu dot edu
> Subject: Compile fails on linux
>
>
> An attempt to compile cyrus-sasl-1.5.28 failed with the
> following error:
>
> db_berkeley.c: In function `berkeleydb_open':
> db_berkeley.c:94: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> db_berkeley.c:94: warning: passing arg 4 of pointer to
> function makes pointer
> from integer without a cast
> db_berkeley.c:94: too few arguments to function
> make[2]: *** [db_berkeley.lo] Error 1
> make[2]: Leaving directory `/usr/src/cyrus-sasl-1.5.28/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/cyrus-sasl-1.5.28'
> make: *** [all-recursive-am] Error 2
> [root@moon /usr/src/cyrus-sasl-1.5.28]#
>
> The installed version of Berkeley DB is 4.1.25.
>
> Any help would be much appreciated.
>
> Regards
>
> Alex Potter
>







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD