GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot compile successfully sendmail::milter
Operating System - HP-UX
1844812
Members
1977
Online
110233
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 01:38 AM
04-27-2004 01:38 AM
cannot compile successfully sendmail::milter
I'm trying to install Sendmail::Milter on an HP9000/B1000 box, HP-UX 11i. Perl was taken from HP (perl, v5.8.2 built for PA-RISC1.1-thread-multi, HP c-compiler used), sendmail
is in its last version (8.12.11), and Sendmail:Milter is 0.18.
First I prepared sendmail 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 ran "sh Build" to build libmilter.a. Also the "sh build" for sendmail worked fine.
But compiling Sendmail:Milter failed as appended below.
Any ideas out there, or is sendmail::milter not used on HP-UX?
TIA,
Michael Goerke
===============================================
$ 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
...
$ 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
is in its last version (8.12.11), and Sendmail:Milter is 0.18.
First I prepared sendmail 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 ran "sh Build" to build libmilter.a. Also the "sh build" for sendmail worked fine.
But compiling Sendmail:Milter failed as appended below.
Any ideas out there, or is sendmail::milter not used on HP-UX?
TIA,
Michael Goerke
===============================================
$ 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
...
$ 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
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 03:05 AM
04-27-2004 03:05 AM
Re: cannot compile successfully sendmail::milter
Hi
Patch Name: PHNE_29887
Patch Description: s700_800 11.11 cumulative ARPA Transport patch
Creation Date: 03/12/02
Post Date: 04/01/30
Hardware Platforms - OS Releases:
s700: 11.11
s800: 11.11
While building a 32-bit application with large files
support, "sys/socket.h" generates warnings due to
redeclaration of sendfile and sendpath prototypes.
There are a lot of dependencies but this should help
Steve Steel
Patch Name: PHNE_29887
Patch Description: s700_800 11.11 cumulative ARPA Transport patch
Creation Date: 03/12/02
Post Date: 04/01/30
Hardware Platforms - OS Releases:
s700: 11.11
s800: 11.11
While building a 32-bit application with large files
support, "sys/socket.h" generates warnings due to
redeclaration of sendfile and sendpath prototypes.
There are a lot of dependencies but this should help
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 06:47 PM
04-28-2004 06:47 PM
Re: cannot compile successfully sendmail::milter
Steve,
I applied the patch, but it didn't change anything. I will now re-build perl with gcc and try it again.
Thanks anyway,
Michael
I applied the patch, but it didn't change anything. I will now re-build perl with gcc and try it again.
Thanks anyway,
Michael
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP