SUMMARY: compile sendmail 8.10 on v5.1

From: Kevin Fleming <kevin_at_w617.com>
Date: Wed, 14 Feb 2001 20:48:20 +0000

A comprehensive answer from Uwe Richter seems to have done it ...

for trunix v5.1 there is no OS file the make is looking for.
You may make the thing it's expecting with

cd ./sendmail-8.11.1/devtools/OS
cp OSF1.V5.0 OSF1.V5.1

My file reads:

bash-2.02# more OSF1.V5.1
# $Id: OSF1.V5.0,v 8.1 2000/03/23 00:14:01 gshapiro Exp $
#
# WARNING: This file is an exact copy of OSF1.V5.0.
# Specific build options are set in site.config.m4
# 22.11.2000, uri
#
#
define(`confCC', `cc -std1 -Olimit 1000')
define(`confMAPDEF', `-DNDBM -DNIS -DMAP_REGEX')
define(`confENVDEF', `-DHASSNPRINTF=1')
define(`confLIBS', `-ldbm')
define(`confSTDIR', `/var/adm/sendmail')
define(`confINSTALL', `installbsd')
define(`confEBINDIR', `/usr/lbin')
define(`confUBINDIR', `${BINDIR}')
define(`confDEPEND_TYPE', `CC-M')
define(`confMTLDOPTS', `-lpthread')


and there is "-DHASSNPRINTF=1" set so the system's vsnprintf will be used.

then use

./Build -c -Q yoursystem


On Wed, 14 Feb 2001, Kevin Fleming wrote:

> Trying to compile sendmail-8.10 on Tru64 v5.1 (no patches) - get the following message:
>
> cc -std1 -Olimit 1000 -O -I. -I../../include -DNEWDB -DNDBM -DNIS -DMAP_REGEX -c mail.local.c
> cc: Warning: mail.local.c, line 203: In this declaration, parameter 4 has a diff
> erent type than specified in an earlier declaration of this function. (mismatparam)
> extern int vsnprintf __P((char *, size_t, const char *, ...));
> ----------------^
> cc: Error: mail.local.c, line 203: In this declaration, the type of "vsnprintf"
> is not compatible with the type of a previous declaration of "vsnprintf" at line
> number 212 in file /usr/include/stdio.h. (notcompat)
> extern int vsnprintf __P((char *, size_t, const char *, ...));
> ----------------^
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
>
> Same problem with sendmail-8.11 ..
>
> any ideas ??
>
> Thanks,
> Kevin
>
>
Received on Wed Feb 14 2001 - 10:51:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT