Checking if your kit is complete... Looks good Writing Makefile for Socket::MsgHdr cp MsgHdr.pm blib/lib/Socket/MsgHdr.pm /home/cpanrun/ia64/build/5.8.2/bin/perl /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/ExtUtils/typemap MsgHdr.xs > MsgHdr.xsc && mv MsgHdr.xsc MsgHdr.c cc -c -I. -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 +DSitanium2 +Ofltacc=strict -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" +Z "-I/home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/CORE" MsgHdr.c Error 187: "MsgHdr.xs", line 52 # Referenced object 'msg_control' is not a member of struct msghdr ["/usr/include/sys/socket.h", line 344]. mh->m.msg_control = (( (*svp)->sv_flags & ( 0x00040000| ( 0x00800000| ^^^^^^^^^^^ Error 187: "MsgHdr.xs", line 53 # Referenced object 'msg_controllen' is not a member of struct msghdr ["/usr/include/sys/socket.h", line 344]. mh->m.msg_controllen = dlen; ^^^^^^^^^^^^^^ Error 187: "MsgHdr.xs", line 57 # Referenced object 'msg_flags' is not a member of struct msghdr ["/usr/include/sys/socket.h", line 344]. mh->m.msg_flags = ( ( (*svp)->sv_flags & 0x00010000) ? ((XPVIV*) (*svp ^^^^^^^^^ Error 359: "MsgHdr.xs", line 85 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'cmsghdr *' and 'struct cmsghdr' has not been defined yet. cm->cmsg_len = CMSG_LEN(len); ^^ Error 359: "MsgHdr.xs", line 86 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'cmsghdr *' and 'struct cmsghdr' has not been defined yet. cm->cmsg_level = ( ( ((*Perl_Tstack_base_ptr(((PerlInterpreter * ^^ Error 359: "MsgHdr.xs", line 87 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'cmsghdr *' and 'struct cmsghdr' has not been defined yet. cm->cmsg_type = ( ( ((*Perl_Tstack_base_ptr(((PerlInterpreter *) ^^ Error 187: "MsgHdr.xs", line 103 # Referenced object 'msg_control' is not a member of struct msghdr ["/usr/include/sys/socket.h", line 344]. dummy.msg_control = (struct cmsghdr *) (( (cmsv)->sv_flags & ( 0x00040 ^^^^^^^^^^^ Error 187: "MsgHdr.xs", line 104 # Referenced object 'msg_controllen' is not a member of struct msghdr ["/usr/include/sys/socket.h", line 344]. dummy.msg_controllen = len; ^^^^^^^^^^^^^^ Warning 942: "MsgHdr.xs", line 108 # Types 'cmsghdr *' and 'int' are not assignment-compatible. cm = CMSG_FIRSTHDR(&dummy); ^^^^^^^^^^^^^^^^^^^^^ Warning 942: "MsgHdr.xs", line 109 # Types 'cmsghdr *' and 'int' are not assignment-compatible. for (; cm; cm = CMSG_NXTHDR(&dummy, cm)) { ^^^^^^^^^^^^^^^^^^^^^^^ Error 359: "MsgHdr.xs", line 110 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'cmsghdr *' and 'struct cmsghdr' has not been defined yet. rlInterpreter *)pthread_getspecific((*Perl_Gthr_key_ptr(0L)))), cm->cmsg_level)))); } while (0) ; ^^ Error 359: "MsgHdr.xs", line 111 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'cmsghdr *' and 'struct cmsghdr' has not been defined yet. rlInterpreter *)pthread_getspecific((*Perl_Gthr_key_ptr(0L)))), cm->cmsg_type)))); } while (0) ; ^^ Error 359: "MsgHdr.xs", line 112 # The expression on the left side of the '->' (arrow member access operator) must be a pointer to completed struct object type; the type of the left side is 'cmsghdr *' and 'struct cmsghdr' has not been defined yet. )pthread_getspecific((*Perl_Gthr_key_ptr(0L)))), CMSG_DATA(cm),(cm->cmsg_len - aligned_cmsghdr_sz))))); } while (0) ; ^^ Error 187: "MsgHdr.xs", line 155 # Referenced object 'msg_controllen' is not a member of struct msghdr ["/usr/include/sys/socket.h", line 344]. do { ; (((XPV*) (*svp)->sv_any)->xpv_cur = mh.m.msg_controllen); } while (0) ; ^^^^^^^^^^^^^^ Error 699: "MsgHdr.xs", line 155 # Error limit reached; halting compilation. do { ; (((XPV*) (*svp)->sv_any)->xpv_cur = mh.m.msg_controllen); } while (0) ; ^^^^^^^^^^^^^^ make: *** [MsgHdr.o] Error 2