+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pakemon-0.3.1nb12/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pakemon-0.3.1nb12/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pakemon-0.3.1nb12 --- pakemon.o --- --- util.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c util.c --- pakemon.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c pakemon.c --- signature.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c signature.c --- pakemon.o --- pakemon.c: In function 'read_payload': pakemon.c:586:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 586 | *( capital + ip_packet->payload_len ) = (u_char)NULL; | ^ pakemon.c: In function 'text_dump_payload': pakemon.c:718:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 718 | letter = ip_packet->payload + i; | ^ In file included from /usr/include/ctype.h:100, from pakemon.h:38, from pakemon.c:25: pakemon.c:720:16: warning: array subscript has type 'char' [-Wchar-subscripts] 720 | if ( isprint( *letter ) ) | ^ In file included from /usr/include/stdio.h:595, from /usr/include/pcap/pcap.h:97, from pakemon.h:33, from pakemon.c:25: pakemon.c: In function 'bin_dump_payload': pakemon.c:765:10: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] 765 | sprintf(tmp_buff, "%2x ", *letter); | ^~~~~~~~ | | | u_char * {aka unsigned char *} pakemon.c:765:10: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} In file included from /usr/include/string.h:127, from interface.h:41, from pakemon.c:27: pakemon.c:766:9: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] 766 | strcat(bin_buff, tmp_buff); | ^~~~~~~~ | | | u_char * {aka unsigned char *} pakemon.c:766:9: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} pakemon.c:766:19: warning: pointer targets in passing argument 2 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] 766 | strcat(bin_buff, tmp_buff); | ^~~~~~~~ | | | u_char * {aka unsigned char *} pakemon.c:766:19: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} pakemon.c:766:9: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] 766 | strcat(bin_buff, tmp_buff); | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 90 | __ssp_bos_icheck2_restrict(strcat, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pakemon.c:766:19: warning: pointer targets in passing argument 2 of '__strcat_ichk' differ in signedness [-Wpointer-sign] 766 | strcat(bin_buff, tmp_buff); | ^~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/ssp/string.h:90:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 90 | __ssp_bos_icheck2_restrict(strcat, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pakemon.c:769:13: warning: pointer targets in passing argument 1 of '__builtin___strncat_chk' differ in signedness [-Wpointer-sign] 769 | strncat( text_buff, letter, 1); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} pakemon.c:769:13: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} pakemon.c:769:24: warning: pointer targets in passing argument 2 of '__builtin___strncat_chk' differ in signedness [-Wpointer-sign] 769 | strncat( text_buff, letter, 1); | ^~~~~~ | | | u_char * {aka unsigned char *} pakemon.c:769:24: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} pakemon.c:769:13: warning: pointer targets in passing argument 1 of '__strncat_ichk' differ in signedness [-Wpointer-sign] 769 | strncat( text_buff, letter, 1); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/ssp/string.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __ssp_bos_icheck3_restrict(strncat, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pakemon.c:769:24: warning: pointer targets in passing argument 2 of '__strncat_ichk' differ in signedness [-Wpointer-sign] 769 | strncat( text_buff, letter, 1); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/ssp/string.h:92:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __ssp_bos_icheck3_restrict(strncat, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pakemon.c:771:13: warning: pointer targets in passing argument 1 of '__builtin___strncat_chk' differ in signedness [-Wpointer-sign] 771 | strncat( text_buff, ".", 1); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} pakemon.c:771:13: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} pakemon.c:771:13: warning: pointer targets in passing argument 1 of '__strncat_ichk' differ in signedness [-Wpointer-sign] 771 | strncat( text_buff, ".", 1); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/ssp/string.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __ssp_bos_icheck3_restrict(strncat, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- signature.o --- In file included from /usr/include/ctype.h:100, from pakemon.h:38, from signature.h:38, from signature.c:25: signature.c: In function 'get_next_str': signature.c:44:20: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | while ( isspace( **reader ) ) | ^ signature.c:59:21: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | while ( !isspace( *next ) ) | ^ signature.c: In function 'new_c_node': signature.c:138:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 138 | if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from signature.h:30, from signature.c:25: /usr/include/string.h:61:16: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 61 | size_t strlen(const char *); | ^~~~~~~~~~~~ signature.c:138:46: warning: pointer targets in passing argument 1 of 're_compile_pattern' differ in signedness [-Wpointer-sign] 138 | if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from match.h:37, from signature.h:39, from signature.c:25: regex.h:410:26: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 410 | _RE_ARGS ((const char *pattern, int length, | ~~~~~~~~~~~~^~~~~~~ regex.h:394:24: note: in definition of macro '_RE_ARGS' 394 | #define _RE_ARGS(args) args | ^~~~ signature.c:138:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 138 | if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ | ^~~~~~ In file included from /usr/include/ctype.h:100, from pakemon.h:38, from signature.h:38, from signature.c:25: signature.c: In function 'make_pattern': signature.c:729:17: warning: array subscript has type 'char' [-Wchar-subscripts] 729 | if( isxdigit( *( ++sig_reader ) ) ) | ^ signature.c:731:21: warning: array subscript has type 'char' [-Wchar-subscripts] 731 | if( isxdigit( *( sig_reader + 1 ) ) ) | ^ In file included from /usr/include/stdio.h:595, from signature.h:29, from signature.c:25: signature.c:736:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 736 | (char)NULL ); | ^ signature.c:743:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 743 | (char)NULL ); | ^ signature.c:802:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 802 | *sig_writer = (u_char)NULL; | ^ In file included from /usr/include/ctype.h:100, from pakemon.h:38, from signature.h:38, from signature.c:25: signature.c: In function 'make_bin_pattern': signature.c:830:23: warning: array subscript has type 'char' [-Wchar-subscripts] 830 | while( isspace( *bin_reader) ) | ^ signature.c:833:21: warning: array subscript has type 'char' [-Wchar-subscripts] 833 | if( isxdigit( *( bin_reader ) ) ) | ^ signature.c:835:18: warning: array subscript has type 'char' [-Wchar-subscripts] 835 | if( isxdigit( *( bin_reader + 1 ) ) ) | ^ In file included from /usr/include/stdio.h:595, from signature.h:29, from signature.c:25: signature.c:840:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 840 | (char)NULL ); | ^ signature.c:847:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 847 | (char)NULL ); | ^ signature.c: In function 'detect_signature': signature.c:885:21: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 885 | u_char *payload = (char *)NULL; | ^ signature.c:911:15: warning: pointer targets in passing argument 2 of 're_search' differ in signedness [-Wpointer-sign] 911 | ip_packet->payload, | ~~~~~~~~~^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from match.h:37, from signature.h:39, from signature.c:25: regex.h:426:60: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 426 | _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string, | ~~~~~~~~~~~~^~~~~~ regex.h:394:24: note: in definition of macro '_RE_ARGS' 394 | #define _RE_ARGS(args) args | ^~~~ In file included from /usr/include/stdio.h:595, from signature.h:29, from signature.c:25: signature.c: In function 'make_bin_pattern': signature.c:837:29: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 837 | sprintf( bin_buffer, "%c%c%c", | ^~~~~~~~ signature.c:837:36: note: format string is defined here 837 | sprintf( bin_buffer, "%c%c%c", | ^ In file included from /usr/include/stdio.h:595, from signature.h:29, from signature.c:25: signature.c:837:8: note: '__builtin___sprintf_chk' output 4 bytes into a destination of size 3 837 | sprintf( bin_buffer, "%c%c%c", | ^~~~~~~ --- interface.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c interface.c --- signature.o --- signature.c: In function 'make_pattern': signature.c:733:25: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 733 | sprintf( bin_buffer, "%c%c%c", | ^~~~~~~~ signature.c:733:32: note: format string is defined here 733 | sprintf( bin_buffer, "%c%c%c", | ^ In file included from /usr/include/stdio.h:595, from signature.h:29, from signature.c:25: signature.c:733:4: note: '__builtin___sprintf_chk' output 4 bytes into a destination of size 3 733 | sprintf( bin_buffer, "%c%c%c", | ^~~~~~~ --- interface.o --- interface.c: In function 'open_pcap': interface.c:48:7: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 48 | device_name = pcap_lookupdev( errbuf ); | ^~~~~~~~~~~ In file included from interface.h:36, from interface.c:25: /usr/include/pcap/pcap.h:332:16: note: declared here 332 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ --- match.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c match.c --- tcp.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c tcp.c --- match.o --- match.c: In function 'qd_match': match.c:93:12: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] 93 | if( !memcmp( i_data, pattern, pattern_length ) ) | ^~~~~~ match.c:93:37: warning: 'memcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 93 | if( !memcmp( i_data, pattern, pattern_length ) ) | ^~~~~~~~~~~~~~ <built-in>: note: built-in 'memcmp' declared here --- tcp.o --- tcp.c: In function 'tcp_callback': tcp.c:75:25: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 75 | ip_packet.payload = "[CONNECTION ESTABLISHED]"; | ^ tcp.c:77:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 77 | ip_packet.payload_len = strlen( ip_packet.payload ); | ~~~~~~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from signature.h:30, from tcp.c:26: /usr/include/string.h:61:16: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 61 | size_t strlen(const char *); | ^~~~~~~~~~~~ tcp.c:126:25: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 126 | ip_packet.payload = "[CONNECTION CLOSED]"; | ^ tcp.c:128:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 128 | ip_packet.payload_len = strlen(ip_packet.payload); | ~~~~~~~~~^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from signature.h:30, from tcp.c:26: /usr/include/string.h:61:16: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 61 | size_t strlen(const char *); | ^~~~~~~~~~~~ tcp.c:166:25: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 166 | ip_packet.payload = hlf->data; | ^ tcp.c:170:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 170 | ip_packet.endof_payload = hlf->data + a_tcp->read; | ^ tcp.c: In function 'read_tcp': tcp.c:245:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 245 | *( capital + ip_packet->payload_len ) = (u_char)NULL; | ^ --- udp.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c udp.c --- icmp.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c icmp.c --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status creating config.h config.h is unchanged --- config.h --- --- regex.o --- cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/libnet10 -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -c regex.c regex.c: In function 're_match_2': regex.c:3796:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3796 | if ((int) old_regend[r] >= (int) regstart[r]) | ^ regex.c:3796:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3796 | if ((int) old_regend[r] >= (int) regstart[r]) | ^ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2438:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2438 | PUSH_FAILURE_ITEM (lowest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:3802:19: note: in expansion of macro 'PUSH_FAILURE_POINT' 3802 | PUSH_FAILURE_POINT (p1 + mcnt, d, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2441:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2441 | PUSH_FAILURE_ITEM (highest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:3802:19: note: in expansion of macro 'PUSH_FAILURE_POINT' 3802 | PUSH_FAILURE_POINT (p1 + mcnt, d, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2438:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2438 | PUSH_FAILURE_ITEM (lowest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:3949:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 3949 | PUSH_FAILURE_POINT (p + mcnt, NULL, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2441:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2441 | PUSH_FAILURE_ITEM (highest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:3949:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 3949 | PUSH_FAILURE_POINT (p + mcnt, NULL, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2438:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2438 | PUSH_FAILURE_ITEM (lowest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:4002:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 4002 | PUSH_FAILURE_POINT (p + mcnt, d, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2441:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2441 | PUSH_FAILURE_ITEM (highest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:4002:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 4002 | PUSH_FAILURE_POINT (p + mcnt, d, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2526:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2526 | high_reg = (unsigned) POP_FAILURE_ITEM (); \ | ^ regex.c:4108:13: note: in expansion of macro 'POP_FAILURE_POINT' 4108 | POP_FAILURE_POINT (sdummy, pdummy, | ^~~~~~~~~~~~~~~~~ regex.c:2529:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2529 | low_reg = (unsigned) POP_FAILURE_ITEM (); \ | ^ regex.c:4108:13: note: in expansion of macro 'POP_FAILURE_POINT' 4108 | POP_FAILURE_POINT (sdummy, pdummy, | ^~~~~~~~~~~~~~~~~ regex.c:4105:25: warning: variable 'sdummy' set but not used [-Wunused-but-set-variable] 4105 | const char *sdummy; | ^~~~~~ regex.c:4104:28: warning: variable 'pdummy' set but not used [-Wunused-but-set-variable] 4104 | unsigned char *pdummy; | ^~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2438:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2438 | PUSH_FAILURE_ITEM (lowest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:4141:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 4141 | PUSH_FAILURE_POINT (0, 0, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2441:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2441 | PUSH_FAILURE_ITEM (highest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:4141:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 4141 | PUSH_FAILURE_POINT (0, 0, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2438:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2438 | PUSH_FAILURE_ITEM (lowest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:4154:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 4154 | PUSH_FAILURE_POINT (0, 0, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2359:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2359 | fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item | ^ regex.c:2441:5: note: in expansion of macro 'PUSH_FAILURE_ITEM' 2441 | PUSH_FAILURE_ITEM (highest_active_reg); \ | ^~~~~~~~~~~~~~~~~ regex.c:4154:11: note: in expansion of macro 'PUSH_FAILURE_POINT' 4154 | PUSH_FAILURE_POINT (0, 0, -2); | ^~~~~~~~~~~~~~~~~~ regex.c:2526:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2526 | high_reg = (unsigned) POP_FAILURE_ITEM (); \ | ^ regex.c:4322:11: note: in expansion of macro 'POP_FAILURE_POINT' 4322 | POP_FAILURE_POINT (d, p, | ^~~~~~~~~~~~~~~~~ regex.c:2529:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2529 | low_reg = (unsigned) POP_FAILURE_ITEM (); \ | ^ regex.c:4322:11: note: in expansion of macro 'POP_FAILURE_POINT' 4322 | POP_FAILURE_POINT (d, p, | ^~~~~~~~~~~~~~~~~ regex.c:210:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | #define alloca __builtin_alloca | ^ regex.c:3147:26: note: in expansion of macro 'alloca' 3147 | #define FREE_VARIABLES() alloca (0) | ^~~~~~ regex.c:3319:11: note: in expansion of macro 'FREE_VARIABLES' 3319 | FREE_VARIABLES (); | ^~~~~~~~~~~~~~ regex.c:210:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | #define alloca __builtin_alloca | ^ regex.c:3147:26: note: in expansion of macro 'alloca' 3147 | #define FREE_VARIABLES() alloca (0) | ^~~~~~ regex.c:3337:7: note: in expansion of macro 'FREE_VARIABLES' 3337 | FREE_VARIABLES (); | ^~~~~~~~~~~~~~ regex.c:210:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | #define alloca __builtin_alloca | ^ regex.c:3147:26: note: in expansion of macro 'alloca' 3147 | #define FREE_VARIABLES() alloca (0) | ^~~~~~ regex.c:3531:11: note: in expansion of macro 'FREE_VARIABLES' 3531 | FREE_VARIABLES (); | ^~~~~~~~~~~~~~ regex.c:210:16: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | #define alloca __builtin_alloca | ^ regex.c:3147:26: note: in expansion of macro 'alloca' 3147 | #define FREE_VARIABLES() alloca (0) | ^~~~~~ regex.c:4369:3: note: in expansion of macro 'FREE_VARIABLES' 4369 | FREE_VARIABLES (); | ^~~~~~~~~~~~~~ --- pakemon --- cc -pipe -O2 -I/usr/include -I/usr/pkg/include/libnet10 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Wall -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DLIBNET_LIL_ENDIAN -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lgthread-2.0 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/libnet10 -Wl,-R/usr/pkg/lib/libnet10 -L/usr/pkg/lib/libnet10 -L/usr/pkg/lib -o pakemon pakemon.o util.o signature.o interface.o match.o tcp.o udp.o icmp.o regex.o -L/usr/pkg/lib -lnids -L/usr/pkg/lib/libnet10 -lnet -lpcap