###
### Tue Aug 9 13:21:27 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for hping-2.0.0.2
### Current pkg count:  1 installed packages: digest-20050323
###
BULK> Full rebuild in progress...
BULK> Cleaning package hping-2.0.0.2 and pre-requisite packages
===> Cleaning for hping-2.0.0.2
BULK> Removing installed packages which are not needed to build hping-2.0.0.2
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> Installing packages which are required to build hping-2.0.0.2.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (hping-2.0.0.2)
===> Checking for vulnerabilities in hping-2.0.0.2
=> Checksum SHA1 OK for hping2.0.0-rc2.tar.gz.
=> Checksum RMD160 OK for hping2.0.0-rc2.tar.gz.
work -> /pkgobj/net/hping/work
===> Extracting for hping-2.0.0.2
===> Patching for hping-2.0.0.2
===> Applying pkgsrc patches for hping-2.0.0.2
===> Overriding tools for hping-2.0.0.2
===> Creating toolchain wrappers for hping-2.0.0.2
===> Configuring for hping-2.0.0.2
build byteorder.c...
"byteorder.c", line 4: warning: invalid directive
create byteorder.h...
--------------------------------------
system type: SUNOS

FORCE_LIBPCAP: 
LIBPCAP      : PCAP=-lpcap
PCAP_INCLUDE : 
MANPATH      : /usr/pkg/man

(to modify try configure --help)
--------------------------------------
creating Makefile...
now you can try `make'
===> Building for hping-2.0.0.2
gcc -c -O2 -Wall -g  main.c
"hcmp.h", line 20: syntax error before or at: u_int8_t
"hping2.h", line 257: syntax error before or at: u_int8_t
"hping2.h", line 277: syntax error before or at: u_int16_t
"hping2.h", line 288: syntax error before or at: u_int16_t
"hping2.h", line 312: syntax error before or at: u_int8_t
"hping2.h", line 319: syntax error before or at: u_int16_t
"hping2.h", line 327: syntax error before or at: u_int32_t
"hping2.h", line 338: syntax error before or at: u_int32_t
"hping2.h", line 356: warning: unnamed struct member
"hping2.h", line 361: member cannot be function: nop
"hping2.h", line 362: member cannot be function: parse_options
"hping2.h", line 363: member cannot be function: get_if_name
"hping2.h", line 364: member cannot be function: get_linkhdr_size
"hping2.h", line 365: member cannot be function: open_sockpacket
"hping2.h", line 366: member cannot be function: close_sockpacket
"hping2.h", line 367: member cannot be function: open_sockraw
"hping2.h", line 368: member cannot be function: send_packet
"hping2.h", line 369: member cannot be function: send_rawip
"hping2.h", line 370: member cannot be function: send_tcp
"hping2.h", line 371: member cannot be function: send_udp
"hping2.h", line 372: member cannot be function: send_icmp
"hping2.h", line 373: syntax error before or at: type
"hping2.h", line 373: warning: undefined or missing type for: type
"hping2.h", line 373: warning: undefined or missing type for: arg
"hping2.h", line 373: member cannot be function: send_hcmp
"hping2.h", line 375: member cannot be function: send_ip
"hping2.h", line 376: member cannot be function: send_ip_handler
"hping2.h", line 378: member cannot be function: wait_packet
"hping2.h", line 379: member cannot be function: print_statistics
"hping2.h", line 380: member cannot be function: show_usage
"hping2.h", line 381: member cannot be function: show_version
"hping2.h", line 382: member cannot be function: resolve
"hping2.h", line 383: member cannot be function: log_icmp_unreach
"hping2.h", line 384: member cannot be function: log_icmp_timeexc
"hping2.h", line 385: member cannot be function: get_usec
"hping2.h", line 386: member cannot be function: get_midnight_ut_ms
"hping2.h", line 387: syntax error before or at: u_int16_t
"hping2.h", line 387: warning: syntax requires ";" after last struct/union member
"hping2.h", line 388: member cannot be function: inc_destparm
"hping2.h", line 389: member cannot be function: get_hostname
"hping2.h", line 390: member cannot be function: datafiller
"hping2.h", line 391: member cannot be function: data_handler
"hping2.h", line 392: member cannot be function: socket_broadcast
"hping2.h", line 393: member cannot be function: socket_iphdrincl
"hping2.h", line 394: member cannot be function: listenmain
"hping2.h", line 395: member cannot be function: memstr
"hping2.h", line 396: member cannot be function: tos_help
"hping2.h", line 397: member cannot be function: rtt
"hping2.h", line 398: member cannot be function: relativize_id
"hping2.h", line 399: member cannot be function: if_promisc_on
"hping2.h", line 400: member cannot be function: if_promisc_off
"hping2.h", line 401: member cannot be function: open_pcap
"hping2.h", line 402: member cannot be function: close_pcap
"hping2.h", line 403: member cannot be function: pcap_recv
"hping2.h", line 404: member cannot be function: memlock
"hping2.h", line 405: member cannot be function: memunlock
"hping2.h", line 406: member cannot be function: memlockall
"hping2.h", line 407: member cannot be function: memunlockall
"hping2.h", line 408: member cannot be function: ip_opt_build
"hping2.h", line 409: member cannot be function: display_ipopt
"hping2.h", line 410: member cannot be function: icmp_help
"hping2.h", line 411: member cannot be function: route_help
"hping2.h", line 412: member cannot be function: Signal
"hping2.h", line 413: member cannot be function: delaytable_add
"hping2.h", line 414: member cannot be function: read_packet
"hping2.h", line 416: member cannot be function: strlcpy
"main.c", line 31: cannot find include file: 
"main.c", line 36: warning: syntax requires ";" after last struct/union member
"main.c", line 36: syntax error before or at: =
"main.c", line 52: warning: syntax requires ";" after last struct/union member
"main.c", line 52: syntax error before or at: =
"main.c", line 55: warning: syntax requires ";" after last struct/union member
"main.c", line 62: warning: syntax requires ";" after last struct/union member
"main.c", line 62: syntax error before or at: =
"main.c", line 115: warning: syntax requires ";" after last struct/union member
"main.c", line 133: zero-sized struct/union
"main.c", line 133: warning: unnamed struct member
"main.c", line 141: warning: syntax requires ";" after last struct/union member
"main.c", line 141: syntax error before or at: =
"main.c", line 145: warning: syntax requires ";" after last struct/union member
"main.c", line 158: syntax error before or at: pcap_t
"main.c", line 159: undefined symbol: PCAP_ERRBUF_SIZE
"main.c", line 159: can not declare variably modified type at file scope
"main.c", line 160: incomplete struct/union/enum pcap_pkthdr: hdr
"main.c", line 165: member cannot be function: main
"main.c", line 165: warning: syntax requires ";" after last struct/union member
"main.c", line 165: syntax error before or at: {
"main.c", line 166: warning: syntax requires ";" after last struct/union member
"main.c", line 166: syntax error before or at: =
"main.c", line 170: syntax error before or at: sockraw
"main.c", line 188: warning: syntax requires ";" after last struct/union member
"main.c", line 188: syntax error before or at: =
"main.c", line 189: warning: syntax requires ";" after last struct/union member
"main.c", line 189: syntax error before or at: =
"main.c", line 200: syntax error before or at: )
"main.c", line 200: warning: syntax requires ";" after last struct/union member
"main.c", line 204: zero-sized struct/union
"main.c", line 204: warning: syntax requires ";" after last struct/union member
"main.c", line 207: zero-sized struct/union
"main.c", line 210: warning: syntax requires ";" after last struct/union member
"main.c", line 213: zero-sized struct/union
"main.c", line 215: warning: syntax requires ";" after last struct/union member
"main.c", line 218: zero-sized struct/union
"main.c", line 221: warning: function prototype parameters must have types
"main.c", line 221: member cannot be function: socket_broadcast
"main.c", line 223: syntax error before or at: socket_iphdrincl
"main.c", line 246: syntax error before or at: )
"main.c", line 246: warning: syntax requires ";" after last struct/union member
"main.c", line 278: zero-sized struct/union
"main.c", line 278: warning: syntax requires ";" after last struct/union member
"main.c", line 280: zero-sized struct/union
"main.c", line 281: member cannot be function: listenmain
"main.c", line 285: syntax error before or at: if
"main.c", line 285: warning: syntax requires ";" after last struct/union member
"main.c", line 288: zero-sized struct/union
"main.c", line 288: warning: syntax requires ";" after last struct/union member
"main.c", line 291: zero-sized struct/union
"main.c", line 291: warning: old-style declaration or incorrect type for: opt_udpmode
"main.c", line 291: syntax error before or at: {
"main.c", line 307: syntax error before or at: "HPING %s (%s %s): %s set, %d headers + %d data bytes\n"
"main.c", line 313: warning: function prototype parameters must have types
"main.c", line 313: warning: old-style declaration or incorrect type for: printf
"main.c", line 313: warning: identifier redeclared: printf
	current : function() returning int
	previous: function(pointer to const char, ...) returning int : "/usr/include/iso/stdio_iso.h", line 179
"main.c", line 316: syntax error before or at: if
"main.c", line 316: warning: old-style declaration or incorrect type for: opt_sign
"main.c", line 321: warning: old-style declaration or incorrect type for: opt_debug
"main.c", line 327: syntax error before or at: (
"main.c", line 327: warning: old-style declaration or incorrect type for: kill
"main.c", line 327: warning: syntax error:  empty declaration
"main.c", line 331: warning: old-style declaration or incorrect type for: wait_packet
"main.c", line 333: syntax error before or at: return
"main.c", line 333: warning: syntax error:  empty declaration
"main.c", line 334: cannot recover from previous errors
cc: acomp failed for main.c
*** Error code 2

Stop.
bmake: stopped in /pkgobj/net/hping/work/hping2-rc2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/hping
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/net/hping/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/hping

Please view the work log for hping-2.0.0.2


BULK> hping-2.0.0.2 was marked as broken:
-rw-r--r--   1 root     other      10489 Aug  9 13:21 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for hping
BULK> Marking all packages which depend upon hping-2.0.0.2 as broken:
BULK> Build for hping-2.0.0.2 was not successful, aborting.