[Greylist-users] Cannot get Sendmail:Milter compiled on HP-UX 11i

Goerke, Michael Michael.Goerke at IUE.it
Mon Apr 5 10:00:58 PDT 2004


Hi,

I'm trying to install greylisting on an HP9000/B1000 box,
HP-UX 11i. Perl was taken from HP (perl, v5.8.2 built for
PA-RISC1.1-thread-multi), sendmail is in its last version
(8.12.11), and Sendmail:Milter is 0.18.

After appending to site.config.m4:
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `- D_FFR_MILTER_ROOT_UNSAFE')
I cd-ed into ~/limilter and run "sh Build"  to build
libmilter.a. Also the "sh build" in ~ worked fine.

But compiling Sendmail:Milter failed with the appended error.

Any ideas how to overcome?

TIA, Michael
---
Michael Goerke, European University Institute, Computing Service
                Via Boccaccio 121, 50133 Firenze, Italy
                phone: +39 055 4685-531 (voice), 4685-205 (fax)
                email: michael.goerke at iue.it
=========================================================
$ perl -v

This is perl, v5.8.2 built for PA-RISC1.1-thread-multi
(with 25 registered patches, see perl -V for more detail)

Copyright 1987-2003, Larry Wall

Binary build 808 provided by ActiveState Corp. http://www.ActiveState.com
ActiveState is a division of Sophos.
Built Dec  7 2003 13:25:38

...
$ pwd
/home/michael/relaydelay/Sendmail-Milter-0.18
$ perl Makefile.PL /opt/sendmail-8.12.11 /opt/sendmail-8.12.11/obj.HP-UX.11.11.9000-785
Checking if your kit is complete...
Looks good
Writing Makefile for Sendmail::Milter
$ gmake
cp Milter.pm blib/lib/Sendmail/Milter.pm
AutoSplitting blib/lib/Sendmail/Milter.pm (blib/lib/auto/Sendmail/Milter)
cp sample.pl blib/lib/Sendmail/sample.pl
/opt/perl/bin/perl /opt/perl/lib/5.8.2/ExtUtils/xsubpp  -typemap /opt/perl/lib/5.8.2/ExtUtils/typemap -typemap typemap  Milter.xs > Milter.xsc && mv Milter.xsc Milter.c
cc -c  -I/opt/sendmail-8.12.11/sendmail -I/opt/sendmail-8.12.11/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0   -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" +Z "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE"   Milter.c
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage.
cc: "Milter.xs", line 445: warning 604: Pointers are not assignment-compatible.
cc: "Milter.xs", line 445: warning 563: Argument #3 is not the correct type.
cc: "Milter.xs", line 445: warning 604: Pointers are not assignment-compatible.
cc -c  -I/opt/sendmail-8.12.11/sendmail -I/opt/sendmail-8.12.11/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0   -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" +Z "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE"   intpools.c
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage.
cc: "intpools.c", line 463: warning 604: Pointers are not assignment-compatible.
cc: "intpools.c", line 463: warning 563: Argument #3 is not the correct type.
cc -c  -I/opt/sendmail-8.12.11/sendmail -I/opt/sendmail-8.12.11/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0   -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" +Z "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE"   callbacks.c
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage.
cc: "callbacks.c", line 262: error 1000: Unexpected symbol: "do".
cc: panic 2017: Cannot recover from earlier errors, terminating.
gmake: *** [callbacks.o] Error 1
$ 


More information about the Greylist-users mailing list