[SunHELP] Getting Sendmail 8.12.6 to compile on Solaris 8 with BerkeleyDB 4.1.24

Chris Hall chall at verio.net
Tue Sep 24 18:03:55 CDT 2002


Hello,

   I should probubly send this to the sendmail list, but figured i would 
try here first. ;-)


Solaris 8 ( current patch cluster )
Sendmail 8.12.6
BerkeleyDB 4.1.24

    I cannot seem to get Sendmail compiled. It doesn't appear to be a 
LIB PATH problem, as far as i can tell,

site.config.m4:
[....]

define(`confINCDIRS', `-I/usr/local/BerkeleyDB.4.1/include')
define(`confLIBDIRS', `-L/usr/local/BerkeleyDB.4.1/lib')
define(`confLIBS', `-lsocket -lnsl -lkstat -lresolv -lelf -ldb')

[.....]


Compile fails with:

[....]

gcc -O -I. -I../../include -I/usr/local/BerkeleyDB.4.1/include -DNEWDB 
-DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=20800 -DNETINET6 -DMILTER 
    -c -o map.o map.c
map.c: In function `db_map_open':
map.c:2118: warning: passing arg 2 of pointer to function from 
incompatible pointer type
map.c:2118: incompatible type for argument 4 of indirect function call
map.c:2118: too few arguments to function
make: *** [map.o] Error 1


   If i compile without specifing the path to the new BerkeleyDB (NEWDB) 
it compiles fine. Has anyone run into this problem ? I am guessing mabee 
Sendmail 8.12.6 is not Compatible with sleepycat BerkeleyDB 4.1.24 yet 
or vice versa ?? I haven't tried an older BerkeleyDB package yet, I just 
wanted to see if anyone had any suggestions/feedback first.

- Thanks
Chris



More information about the SunHELP mailing list