[Chicago-talk] cpan Question

packet fasteliteprogrammer at gmail.com
Sun Apr 25 17:18:21 PDT 2010


What does this error mean?

cpan[7]> force install Net:Ncap
Running install for module 'Net::Ncap'
Running make for M/MS/MSISK/Net-Ncap-1.01.tar.gz
Has already been unwrapped into directory 
/home/perlsyntax/.cpan/build/Net-Ncap-1.01-yCyCfl

CPAN.pm: Going to build M/MS/MSISK/Net-Ncap-1.01.tar.gz

cc -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.01\" 
-DXS_VERSION=\"1.01\" -fPIC 
"-I/usr/local/lib/perl5/5.12.0/i686-linux/CORE" Ncap.c
Ncap.xs:41:18: error: ncap.h: No such file or directory
Ncap.xs:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘ncap_collector’
Ncap.xs: In function ‘callback_wrapper’:
Ncap.xs:84: error: dereferencing pointer to incomplete type
Ncap.xs:85: error: dereferencing pointer to incomplete type
Ncap.xs:85: error: dereferencing pointer to incomplete type
Ncap.xs:85: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘signal_handler’:
Ncap.xs:123: error: ‘ncap_collector’ undeclared (first use in this function)
Ncap.xs:123: error: (Each undeclared identifier is reported only once
Ncap.xs:123: error: for each function it appears in.)
Ncap.xs: At top level:
Ncap.xs:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘collect_sigwrap’
Ncap.xs: In function ‘XS_Net__Ncap__ncap_errstr’:
Ncap.xs:230: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_add_if’:
Ncap.xs:246: error: dereferencing pointer to incomplete type
Ncap.xs:246: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_drop_if’:
Ncap.xs:256: error: dereferencing pointer to incomplete type
Ncap.xs:256: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_add_nf’:
Ncap.xs:267: error: dereferencing pointer to incomplete type
Ncap.xs:267: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_drop_nf’:
Ncap.xs:277: error: dereferencing pointer to incomplete type
Ncap.xs:277: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_add_pf’:
Ncap.xs:288: error: dereferencing pointer to incomplete type
Ncap.xs:288: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_drop_pf’:
Ncap.xs:298: error: dereferencing pointer to incomplete type
Ncap.xs:298: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_add_dg’:
Ncap.xs:309: error: dereferencing pointer to incomplete type
Ncap.xs:309: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_drop_dg’:
Ncap.xs:319: error: dereferencing pointer to incomplete type
Ncap.xs:319: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_filter’:
Ncap.xs:329: error: dereferencing pointer to incomplete type
Ncap.xs:329: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_collect_sighandle’:
Ncap.xs:343: error: ‘ncap_t’ undeclared (first use in this function)
Ncap.xs:343: error: expected ‘)’ before ‘THIS’
Ncap.xs:347: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_collect’:
Ncap.xs:360: error: dereferencing pointer to incomplete type
Ncap.xs:362: error: ‘ncap_callback_t’ undeclared (first use in this 
function)
Ncap.xs:362: error: expected ‘)’ before ‘callback_wrapper’
Ncap.xs:363: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_stop’:
Ncap.xs:371: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_write’:
Ncap.xs:381: error: dereferencing pointer to incomplete type
Ncap.xs:381: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_send’:
Ncap.xs:393: error: dereferencing pointer to incomplete type
Ncap.xs:393: error: ‘ncap_success’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_DESTROY’:
Ncap.xs:401: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_sec’:
Ncap.xs:411: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_nsec’:
Ncap.xs:420: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_user1’:
Ncap.xs:429: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_user2’:
Ncap.xs:438: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_nproto’:
Ncap.xs:448: error: dereferencing pointer to incomplete type
Ncap.xs:449: error: ‘ncap_ip4’ undeclared (first use in this function)
Ncap.xs:452: error: ‘ncap_ip6’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_tproto’:
Ncap.xs:463: error: dereferencing pointer to incomplete type
Ncap.xs:464: error: ‘ncap_tcp’ undeclared (first use in this function)
Ncap.xs:467: error: ‘ncap_udp’ undeclared (first use in this function)
Ncap.xs:470: error: ‘ncap_icmp’ undeclared (first use in this function)
Ncap.xs:471: error: dereferencing pointer to incomplete type
Ncap.xs:472: error: ‘ncap_ip4’ undeclared (first use in this function)
Ncap.xs:475: error: ‘ncap_ip6’ undeclared (first use in this function)
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_paylen’:
Ncap.xs:487: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_payload’:
Ncap.xs:496: error: dereferencing pointer to incomplete type
Ncap.xs:496: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_src_packed’:
Ncap.xs:504: error: dereferencing pointer to incomplete type
Ncap.xs:505: error: ‘ncap_ip4’ undeclared (first use in this function)
Ncap.xs:506: error: dereferencing pointer to incomplete type
Ncap.xs:506: error: dereferencing pointer to incomplete type
Ncap.xs:508: error: ‘ncap_ip6’ undeclared (first use in this function)
Ncap.xs:509: error: dereferencing pointer to incomplete type
Ncap.xs:509: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_dst_packed’:
Ncap.xs:519: error: dereferencing pointer to incomplete type
Ncap.xs:520: error: ‘ncap_ip4’ undeclared (first use in this function)
Ncap.xs:521: error: dereferencing pointer to incomplete type
Ncap.xs:521: error: dereferencing pointer to incomplete type
Ncap.xs:523: error: ‘ncap_ip6’ undeclared (first use in this function)
Ncap.xs:524: error: dereferencing pointer to incomplete type
Ncap.xs:524: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_type’:
Ncap.xs:534: error: dereferencing pointer to incomplete type
Ncap.xs:534: error: ‘ncap_icmp’ undeclared (first use in this function)
Ncap.xs:535: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_code’:
Ncap.xs:543: error: dereferencing pointer to incomplete type
Ncap.xs:543: error: ‘ncap_icmp’ undeclared (first use in this function)
Ncap.xs:544: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_offset’:
Ncap.xs:552: error: dereferencing pointer to incomplete type
Ncap.xs:552: error: ‘ncap_tcp’ undeclared (first use in this function)
Ncap.xs:553: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_flags’:
Ncap.xs:561: error: dereferencing pointer to incomplete type
Ncap.xs:561: error: ‘ncap_tcp’ undeclared (first use in this function)
Ncap.xs:562: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_sport’:
Ncap.xs:570: error: dereferencing pointer to incomplete type
Ncap.xs:571: error: ‘ncap_tcp’ undeclared (first use in this function)
Ncap.xs:572: error: dereferencing pointer to incomplete type
Ncap.xs:574: error: ‘ncap_udp’ undeclared (first use in this function)
Ncap.xs:575: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_dport’:
Ncap.xs:585: error: dereferencing pointer to incomplete type
Ncap.xs:586: error: ‘ncap_tcp’ undeclared (first use in this function)
Ncap.xs:587: error: dereferencing pointer to incomplete type
Ncap.xs:589: error: ‘ncap_udp’ undeclared (first use in this function)
Ncap.xs:590: error: dereferencing pointer to incomplete type
Ncap.xs: In function ‘XS_Net__Ncap__ncap_msg_DESTROY’:
Ncap.xs:599: error: dereferencing pointer to incomplete type
make: *** [Ncap.o] Error 1
MSISK/Net-Ncap-1.01.tar.gz
make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
MSISK/Net-Ncap-1.01.tar.gz : make NO





More information about the Chicago-talk mailing list