SUMMARY: Problems while compiling sendmail 8.12.6

2007-12-24 23:42:00

Hi

I managed to compile sendmail when I compiled Berkeley DB 3.3.11
(earlier it was 4.1.24). It looks like sendmail has no support for 4.x
version of db, so you should use 3.3.11.

WBR
Martynas

P.S. Thanks everyone in advance for replies. :)

M.

Martynas Buozis wrote:
>
> Hi
>
> I have Solaris 8 (Generic_108528-13) box and trying to compile sendmail
> 8.12.6 on it using gcc (version 2.95.3 20010315 (release) - package from
> sunfreeware). I got this error during compilation and can't find out
> what's wrong with ndbm(?) support :
>
> Making in /data/src/sendmail-8.12.6/obj.SunOS.5.8.sun4/libsmdb
> make[2]: Entering directory
> `/data/src/sendmail-8.12.6/obj.SunOS.5.8.sun4/libsmdb'
> gcc -O -I. -I..http://sendmail -I..http://include -I/usr/local/db/include
> -DNEWDB -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=20800 -DNETINET6
> -DNOT_SENDMAIL -c -o smdb2.o smdb2.c
> smdb2.c: In function `smdb_db_open_internal':
> smdb2.c:526: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> smdb2.c:526: incompatible type for argument 4 of indirect function call
> smdb2.c:526: too few arguments to function
> make[2]: *** [smdb2.o] Error 1
> make[2]: Leaving directory
> `/data/src/sendmail-8.12.6/obj.SunOS.5.8.sun4/libsmdb'
>
> Maybe you have any tips how to fix it ?
>
> Thank you in advance for your replies.
>
> With best regards
> Martynas
>
> --
> -------------------------------------------------------------
> Martynas Buozis Texas Instruments Deutschland GmbH
> Mail: martynas at ti.com Haggertystrasse 1
> Phone: +49 8161 80 4506 85356 Freising
> Fax: +49 8161 80 3191 Germany

--
-------------------------------------------------------------
Martynas Buozis Texas Instruments Deutschland GmbH
Mail: martynas at ti.com Haggertystrasse 1
Phone: +49 8161 80 4506 85356 Freising
Fax: +49 8161 80 3191 Germany

Comments

Got something to say?

You must be logged in to post a comment.