Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lnids Writing Makefile for Net::LibNIDS cp LibNIDS.pm blib/lib/Net/LibNIDS.pm cp example.pl blib/lib/Net/example.pl /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap LibNIDS.xs > LibNIDS.xsc && mv LibNIDS.xsc LibNIDS.c Please specify prototyping behavior for LibNIDS.xs (see perlxs manual) gcc -c -I. -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" LibNIDS.c LibNIDS.xs:7:18: LibNIDS.xs:7:18:error: nids.h: No such file or directoryerror: nids.h: No such file or directory LibNIDS.xs:24: warning: 'struct tcp_stream' declared inside parameter list LibNIDS.xs:24: warning: its scope is only this definition or declaration, which is probably not what you want LibNIDS.xs: In function 'tcp_callback_f': LibNIDS.xs:28: error: dereferencing pointer to incomplete type LibNIDS.xs:28: error: 'NIDS_JUST_EST' undeclared (first use in this function) LibNIDS.xs:24: warning: 'struct tcp_stream' declared inside parameter listLibNIDS.xs:28: error: (Each undeclared identifier is reported only once LibNIDS.xs:28: error: for each function it appears in.) LibNIDS.xs:24: warning: its scope is only this definition or declaration, which is probably not what you want LibNIDS.xs: In function 'tcp_callback_f': LibNIDS.xs:28: error: dereferencing pointer to incomplete type LibNIDS.xs:28: error: 'NIDS_JUST_EST' undeclared (first use in this function) LibNIDS.xs:28: error: (Each undeclared identifier is reported only once LibNIDS.xs:28: error: for each function it appears in.) LibNIDS.xs:45: error: dereferencing pointer to incomplete type LibNIDS.xs:46: error: dereferencing pointer to incomplete type LibNIDS.xs:47: error: dereferencing pointer to incomplete type LibNIDS.xs:48: error: dereferencing pointer to incomplete type LibNIDS.xs:49: error: dereferencing pointer to incomplete type LibNIDS.xs:50: error: 'NIDS_CLOSE' undeclared (first use in this function)LibNIDS.xs:45: error: dereferencing pointer to incomplete type LibNIDS.xs:50: error: dereferencing pointer to incomplete type LibNIDS.xs:46: error: dereferencing pointer to incomplete type LibNIDS.xs:51: error: 'NIDS_RESET' undeclared (first use in this function) LibNIDS.xs:47: error: dereferencing pointer to incomplete type LibNIDS.xs:48: error: dereferencing pointer to incomplete type LibNIDS.xs:49: error: dereferencing pointer to incomplete type LibNIDS.xs:50: error: 'NIDS_CLOSE' undeclared (first use in this function) LibNIDS.xs:50: error: dereferencing pointer to incomplete type LibNIDS.xs:51: error: 'NIDS_RESET' undeclared (first use in this function) LibNIDS.xs:55: error: dereferencing pointer to incomplete type LibNIDS.xs:56: error: dereferencing pointer to incomplete type LibNIDS.xs:55: error: dereferencing pointer to incomplete type LibNIDS.xs:56: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'state2string':LibNIDS.xs: In function 'state2string': LibNIDS.xs:64: error: 'NIDS_JUST_EST' undeclared (first use in this function)LibNIDS.xs:64: error: 'NIDS_JUST_EST' undeclared (first use in this function) LibNIDS.xs:66: error: 'NIDS_DATA' undeclared (first use in this function) LibNIDS.xs:66: error: 'NIDS_DATA' undeclared (first use in this function) LibNIDS.xs:68: error: 'NIDS_CLOSE' undeclared (first use in this function) LibNIDS.xs:68: error: 'NIDS_CLOSE' undeclared (first use in this function) LibNIDS.xs:70: error: 'NIDS_RESET' undeclared (first use in this function) LibNIDS.xs:70: error: 'NIDS_RESET' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_state': LibNIDS.xs:120: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_state': LibNIDS.xs:120: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_state_string': LibNIDS.xs:128: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_state_string': LibNIDS.xs:128: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_server': LibNIDS.xs:136: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_server': LibNIDS.xs:136: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_client': LibNIDS.xs:145: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_client': LibNIDS.xs:145: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_client_ip': LibNIDS.xs:155: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_client_ip': LibNIDS.xs:155: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_server_ip': LibNIDS.xs:163: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_server_ip': LibNIDS.xs:163: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_client_port': LibNIDS.xs:171: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_client_port': LibNIDS.xs:171: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_server_port': LibNIDS.xs:179: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream_server_port': LibNIDS.xs:179: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_on': LibNIDS.xs:191: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_on': LibNIDS.xs:191: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_off': LibNIDS.xs:197: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_off': LibNIDS.xs:197: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect': LibNIDS.xs:203: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect': LibNIDS.xs:203: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_urg_on': LibNIDS.xs:211: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_urg_on': LibNIDS.xs:211: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_urg_off': LibNIDS.xs:217: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_urg_off': LibNIDS.xs:217: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_urg': LibNIDS.xs:223: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_collect_urg': LibNIDS.xs:223: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_count': LibNIDS.xs:231: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_count': LibNIDS.xs:231: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_count_new': LibNIDS.xs:239: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_count_new': LibNIDS.xs:239: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_offset': LibNIDS.xs:247: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_offset': LibNIDS.xs:247: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_data': LibNIDS.xs:255: error: dereferencing pointer to incomplete type LibNIDS.xs:255: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_data': LibNIDS.xs:255: error: dereferencing pointer to incomplete type LibNIDS.xs:255: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_curr_ts': LibNIDS.xs:263: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS__tcp_stream__half_curr_ts': LibNIDS.xs:263: error: dereferencing pointer to incomplete type LibNIDS.xs: In function 'XS_Net__LibNIDS_nids_init': LibNIDS.xs:277: error: 'nids_errbuf' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS_nids_init': LibNIDS.xs:277: error: 'nids_errbuf' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_device': LibNIDS.xs:300: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_device': LibNIDS.xs:300: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_device': LibNIDS.xs:308: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_filename': LibNIDS.xs:314: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_device': LibNIDS.xs:308: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_filename': LibNIDS.xs:322: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_filename': LibNIDS.xs:314: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_pcap_filter': LibNIDS.xs:327: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_filename': LibNIDS.xs:322: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_pcap_filter':LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_pcap_filter': LibNIDS.xs:335: error: 'nids_params' undeclared (first use in this function)LibNIDS.xs:327: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_n_tcp_streams': LibNIDS.xs:341: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_pcap_filter': LibNIDS.xs:335: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_n_tcp_streams': LibNIDS.xs:349: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_n_tcp_streams': LibNIDS.xs:341: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_n_hosts': LibNIDS.xs:355: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_n_tcp_streams': LibNIDS.xs:349: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_n_hosts': LibNIDS.xs:363: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_n_hosts': LibNIDS.xs:355: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_sk_buff_size': LibNIDS.xs:368: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_n_hosts': LibNIDS.xs:363: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_sk_buff_size': LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_sk_buff_size':LibNIDS.xs:376: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs:368: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_dev_addon': LibNIDS.xs:381: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_sk_buff_size': LibNIDS.xs:376: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_dev_addon': LibNIDS.xs:389: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_dev_addon': LibNIDS.xs:381: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_syslog_level': LibNIDS.xs:395: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_dev_addon': LibNIDS.xs:389: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_syslog_level': LibNIDS.xs:403: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_syslog_level': LibNIDS.xs:395: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_scan_num_hosts': LibNIDS.xs:409: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_syslog_level': LibNIDS.xs:403: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_scan_num_hosts': LibNIDS.xs:417: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_scan_num_hosts': LibNIDS.xs:409: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_scan_num_ports': LibNIDS.xs:422: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_scan_num_hosts': LibNIDS.xs:417: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_scan_num_ports': LibNIDS.xs:430: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_scan_num_ports': LibNIDS.xs:422: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_scan_delay': LibNIDS.xs:435: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_scan_num_ports': LibNIDS.xs:430: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_scan_delay': LibNIDS.xs:443: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_scan_delay': LibNIDS.xs:435: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_promisc': LibNIDS.xs:448: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_scan_delay': LibNIDS.xs:443: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_promisc': LibNIDS.xs:456: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_promisc': LibNIDS.xs:448: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_one_loop_less': LibNIDS.xs:461: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_promisc': LibNIDS.xs:456: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_one_loop_less': LibNIDS.xs:469: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_get_one_loop_less': LibNIDS.xs:461: error: 'nids_params' undeclared (first use in this function) LibNIDS.xs: In function 'XS_Net__LibNIDS__param_set_one_loop_less': LibNIDS.xs:469: error: 'nids_params' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccuwk3vC.out (No such file or directory) make: *** [LibNIDS.o] Error 1