Subject: | Failure installing Authen-Prot on HP 11.11 |
I am attempting to use your Perl module Authen_Prot-1.08.
The make of the module is failing on several points:
xsgen.pl does not understand the type int16_t and int32_t. Found in /usr/include/prot.h.
I tried adding the following subroutines to xsgen.pl
sub int16_t { return 'var = (short) SvIV(ST(1));' }
sub int32_t { return 'var = (int) SvIV(ST(1));' }
This gets by the first set of problems but now it gets the following messages:
cc -c -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=\"1.08\" -DXS_VERSION=\"1.08\" +Z
"-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE" -Dhpux Prot.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: "xsgen.pl |", line 11: error 1588: "na" undefined.
cc: "xsgen.pl |", line 11: warning 563: Argument #3 is not the correct type.
cc: "xsgen.pl |", line 11: warning 527: Integral value implicitly converted to pointer in assignment.
cc: "xsgen.pl |", line 11: warning 563: Argument #4 is not the correct type.
cc: "xsgen.pl |", line 25: error 1588: "na" undefined.
cc: "xsgen.pl |", line 25: warning 563: Argument #3 is not the correct type.
cc: "xsgen.pl |", line 25: warning 527: Integral value implicitly converted to pointer in assignment.
cc: "xsgen.pl |", line 25: warning 563: Argument #4 is not the correct type.
These messages repeat several times them the make stops.
The machine is an HP rp7400 running HPUX 11i 64-bit. The Perl version is 5.8.2. And compiler is the HP ANSI-C.
enclosed is a copy of the /usr/include/prot.h file
Output of a uname -a
HP-UX w1hsyp01 B.11.11 U 9000/800 1616329336 unlimited-user license
Message body is not shown because it is too large.