Checking if your kit is complete... Looks good Writing Makefile for Sys::Lastlog cp lib/Sys/Lastlog.pm blib/lib/Sys/Lastlog.pm /home/cpanrun/ia64-lp64/build/5.8.2/bin/perl /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/xsubpp -typemap /home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/ExtUtils/typemap Lastlog.xs > Lastlog.xsc && mv Lastlog.xsc Lastlog.c cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +DSitanium2 +Ofltacc=strict -DVERSION=\"1.5\" -DXS_VERSION=\"1.5\" +Z "-I/home/cpanrun/ia64-lp64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi-LP64/CORE" Lastlog.c Error 628: "Lastlog.xs", line 60 # "lastlog llent" ["Lastlog.xs", line 60] cannot be defined to have an incomplete type. static struct lastlog llent; ^^^^^ Error 244: "Lastlog.xs", line 69 # sizeof may not be applied to an undefined struct. if(read( ll_fd,&llent, sizeof( struct lastlog )) != sizeof( struct lastlog)) ^^^^^^^^^^^^^^ Error 628: "Lastlog.xs", line 82 # "lastlog llent" ["Lastlog.xs", line 82] cannot be defined to have an incomplete type. static struct lastlog llent; ^^^^^ Error 244: "Lastlog.xs", line 95 # sizeof may not be applied to an undefined struct. lseek(ll_fd, (off_t)(uid * sizeof( struct lastlog)), 0 ); ^^^^^^^^^^^^^^ Error 244: "Lastlog.xs", line 98 # sizeof may not be applied to an undefined struct. if(read( ll_fd,&llent, sizeof( struct lastlog )) != sizeof( struct lastlog)) ^^^^^^^^^^^^^^ Error 172: "Lastlog.xs", line 117 # Undeclared variable '_PATH_LASTLOG'. ll_fd = open(_PATH_LASTLOG, 0000000 ); ^^^^^^^^^^^^^ Error 359: "Lastlog.xs", line 143 # 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 'lastlog *' and 'struct lastlog' has not been defined yet. terpreter *)pthread_getspecific((*Perl_Gthr_key_ptr(0L)))), (IV)llent->ll_time),0) ; ^^^^^ Error 359: "Lastlog.xs", line 144 # 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 'lastlog *' and 'struct lastlog' has not been defined yet. rlInterpreter *)pthread_getspecific((*Perl_Gthr_key_ptr(0L)))), llent->ll_line,0),0) ; ^^^^^ Error 359: "Lastlog.xs", line 145 # 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 'lastlog *' and 'struct lastlog' has not been defined yet. rlInterpreter *)pthread_getspecific((*Perl_Gthr_key_ptr(0L)))), llent->ll_host,0),0) ; ^^^^^ make: *** [Lastlog.o] Error 2