From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98265278805582.tru64-unix-managers.marc@archive.invalid> From: Kevin Fleming Date: Wed, 14 Feb 2001 20:48:20 +0000 To: tru64-unix-managers Subject: SUMMARY: compile sendmail 8.10 on v5.1 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98265278805582 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 > >