From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811691.tru64-unix-managers.marc@archive.invalid> From: Lucio Chiappetti Date: Wed, 15 Jul 1998 13:47:01 +0000 To: tru64-unix-managers Subject: SUMMARY: sendmail 8.9.1 on DU 3.2 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811691 My compilation problem below is solved, was sort of a false alarm, see explanation. On Tue, 14 Jul 1998, Lucio Chiappetti wrote: > But now I am confronting a COMPILATION problem on Alpha (with Digital UNIX > V3.2D-1 (Rev. 41)). > We are compiling with the standard options in > sendmail-8.9.1/BuildTools/OS/OSF1 > cc -Olimit 1000 -O -I. -DNDBM -DNIS -DMAP_REGEX -c daemon.c > /usr/lib/cmplrs/cc/cfe: Error: daemon.c, line 113: Syntax Error > extern void reapchild __P((int)); > ----------------------^ I received replies from Tom Smith and Felix Maurer telling that compilation on DU3.2 should be OK, and a very useful hint by Irene A. Shilikhina (Irina, blagodarju Vas ocen' mnogo ! bolshoe spasibo !) who pointed out the following in the src/README Solaris 2.5.1 patch 103663-01 installs a new /usr/include/resolv.h file that defines the __P macro ^^^^^^^^^^^^^^^^^^^^^ [to overcome] you can create a resolv.h file in the obj.SunOS.5.5.1.* or obj.SunOS.5.6.* directory that reads: #undef __P #include "/usr/include/resolv.h" The facts were two : (1) you cannot effectively create a .h file in obj. since the Build procedure soft links everything from ../ (src) (2) I had the above resolv.h in src, which is NOT PART of the sendmail distribution, but was created by my colleagues who did the compilation on solaris, and they left it around !! As soon as I removed (renamed) it compilation on DU went smoothly. To summarize : sendmail 8.9 native distribution compiles OK (even) on DU 3.2 ---------------------------------------------------------------------------- Lucio Chiappetti - IFCTR/CNR - via Bassini 15 - I-20133 Milano (Italy) ---------------------------------------------------------------------------- Fuscim donca de Miragn E tornem a sta scio' in Bregn Che i fachign e i cortesagn Magl' insema no stagn begn Drizza la', compa' Tapogn (Rabisch, II 41, 96-99) ---------------------------------------------------------------------------- For more info : http://www.ifctr.mi.cnr.it/~lucio/personal.html ----------------------------------------------------------------------------