Apparently a small oversight, although I didn't see any mention of it before.  
Perhaps the problem is with the FreeBSD headers:

$ diff -u source/nfdump-1.6.13/bin/ipfrag.c    built/nfdump-1.6.13/bin/ipfrag.c
--- source/nfdump-1.6.13/bin/ipfrag.c   2014-03-12 09:31:15.000000000 +0000
+++ built/nfdump-1.6.13/bin/ipfrag.c    2015-12-08 21:01:45.934951000 +0000
@@ -43,6 +43,7 @@
 #include <string.h>
 #include <errno.h>
 #include <sys/types.h>
+#include <netinet/in.h>
 #include <netinet/ip.h>
 #include <unistd.h>
 #include <stdint.h>
$


Some details on my environment:
$ uname -a
FreeBSD windu 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov  2 13:38:49 
UTC 2015     r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  
i386

$ pkg info
ap24-mod_wsgi3-3.5             Python WSGI adapter module for Apache
apache24-2.4.16_1              Version 2.4.x of Apache web server
apr-1.5.2.1.5.4                Apache Portability Library
bgpq3-0.1.31                   Lightweight prefix-list generator for Cisco and 
Juniper routers
bison-2.7.1,1                  Parser generator from FSF, (mostly) compatible 
with Yacc
bzip-0.21_1                    Block-sorting file compressor
bzip2-1.0.6                    Block-sorting file compressor
cairo-1.14.2,2                 Vector graphics library with cross-device output 
support
damageproto-1.2.1              Damage extension headers
db5-5.3.28_2                   The Oracle Berkeley DB, revision 5.3
dejavu-2.35                    Bitstream Vera Fonts clone with a wider range of 
characters
dialog4ports-0.1.5_2           Console Interface to configure ports
dri2proto-2.8                  DRI2 prototype headers
encodings-1.0.4_3,1            X.Org Encoding fonts
exabgp-3.4.12_1                BGP engine and route injector
expat-2.1.0_3                  XML 1.0 parser written in C
fixesproto-5.0                 Fixes extension headers
font-bh-ttf-1.0.3_3            X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.3_3     X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_3       X.Org miscellaneous Meltho font
font-util-1.3.1                Create an index of X font files in a directory
fontconfig-2.11.1,1            XML-based font configuration API for X Windows
fping-3.10                     Quickly ping multiple hosts without flooding the 
network
freetype2-2.6_1                Free and portable TrueType font rendering engine
gbm-10.6.8                     gbm library
gdbm-1.11_2                    GNU database manager
gettext-runtime-0.19.5.1       GNU gettext runtime libraries and programs
gettext-tools-0.19.5.1         GNU gettext development and translation tools
glib-2.44.1_1                  Some useful routines of C programming (current 
stable version)
glproto-1.4.17                 GLX extension headers
gmake-4.1_2                    GNU version of 'make' utility
graphite2-1.3.2                Rendering capabilities for complex non-Roman 
writing systems
harfbuzz-1.0.1                 OpenType text shaping engine
icu-55.1                       International Components for Unicode (from IBM)
indexinfo-0.2.3                Utility to regenerate the GNU info page index
iperf-2.0.5                    Tool to measure maximum TCP and UDP bandwidth
irrtoolset-5.0.1               Suite of routing policy tools to interact with 
the IRR
kbproto-1.0.6                  KB extension headers
libEGL-10.6.8                  OpenEGL library
libGL-10.6.8                   OpenGL library that renders using GLX or DRI
libX11-1.6.2_3,1               X11 library
libXau-1.0.8_3                 Authentication Protocol library for X11
libXdamage-1.1.4_3             X Damage extension library
libXdmcp-1.1.2                 X Display Manager Control Protocol library
libXext-1.3.3_1,1              X11 Extension library
libXfixes-5.0.1_3              X Fixes extension library
libXft-2.3.2_1                 Client-sided font API for X applications
libXrender-0.9.8_3             X Render extension library
libXv-1.0.10_3,1               X Video Extension library
libXvMC-1.0.9                  X Video Extension Motion Compensation library
libXxf86vm-1.1.4_1             X Vidmode Extension
libdevq-0.0.2_1                Generic Device Query and Monitor interface
libdrm-2.4.60,1                Userspace interface to kernel Direct Rendering 
Module services
libedit-3.1.20150325_1         Command line editor library
libffi-3.2.1                   Foreign Function Interface
libfontenc-1.1.2_3             The fontenc Library
libgcrypt-1.6.3                General purpose crypto library based on code 
used in GnuPG
libglapi-10.6.8                Common GL api library used by Mesa based ports
libgpg-error-1.20              Common error values for all GnuPG components
libiconv-1.14_8                Character set conversion library
libidn-1.31                    Internationalized Domain Names command line tool
libpciaccess-0.13.3            Generic PCI access library
libpthread-stubs-0.3_6         This library provides weak aliases for pthread 
functions
libxcb-1.11_1                  The X protocol C-language Binding (XCB) library
libxml2-2.9.3                  XML parser library for GNOME
libxshmfence-1.2               Shared memory 'SyncFence' synchronization 
primitive
libxslt-1.1.28_8               The XSLT C library for GNOME
libyaml-0.1.6_2                YAML 1.1 parser and emitter written in C
llvm36-3.6.2_2                 Low Level Virtual Machine
m4-1.4.17_1,1                  GNU m4
mkfontdir-1.0.7                Create an index of X font files in a directory
mkfontscale-1.1.2              Creates an index of scalable font files for X
mod_php56-5.6.14               PHP Scripting Language
mtr-nox11-0.86                 Traceroute and ping in a single network 
diagnostic tool
openbgpd-5.2.20121209_2        Free implementation of the Border Gateway 
Protocol, Version 4
openldap-client-2.4.43         Open source LDAP client implementation
p5-Algorithm-C3-0.10_1         Module for merging hierarchies using the C3 
algorithm
p5-AppConfig-1.71              Perl module for reading configuration files
p5-Authen-NTLM-1.09_1          Perl5 NTLM authentication module
p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
p5-Bit-Vector-7.4              Library of advanced math functions that includes 
a Perl OO module
p5-CGI-4.21                    Handle Common Gateway Interface requests and 
responses
p5-CGI-Session-4.48_1          Perl extension for persistent session management
p5-CPAN-Meta-2.150005          Distribution metadata for a CPAN dist
p5-CPAN-Meta-YAML-0.016        Read and write a subset of YAML for CPAN Meta 
files
p5-Carp-Clan-6.04_1            Report errors from perspective of caller of a 
"clan" of modules
p5-Class-C3-0.28               Pragma to use the C3 method resolution order 
algorithm
p5-Class-Data-Inheritable-0.08_1 Inheritable, overridable class data
p5-Config-Grammar-1.10_1       Grammar-based, user-friendly config parser
p5-Convert-ASN1-0.27_2         Perl5 module to encode and decode ASN.1 data 
structures
p5-Crypt-CBC-2.33_1            Perl5 interface to Cipher Block Chaining with 
DES and IDEA
p5-Crypt-DES-2.07_1            Perl5 interface to DES block cipher
p5-Devel-StackTrace-2.00       Stack trace and stack trace frame objects
p5-Devel-Symdump-2.1000_1      Perl5 module that dumps symbol names or the 
symbol table
p5-Digest-HMAC-1.03_1          Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.13_1          Perl interface to the SHA-1 Algorithm
p5-Encode-Locale-1.05          Determine the locale encoding
p5-Exception-Class-1.39        Real exception classes in Perl
p5-FCGI-0.77                   Modules for perl5, for enabling FastCGI support 
in CGI scripts
p5-File-Cache-0.16_1           Perl module implementing a persistent object 
store
p5-File-Listing-6.04_1         Parse directory listings
p5-Filter-1.55                 Number of source filters for perl5 programs
p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 
library
p5-HTML-Parser-3.71_1          Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20_1          Some useful data table in parsing HTML
p5-HTTP-Cookies-6.01_1         HTTP Cookie jars
p5-HTTP-Daemon-6.01_1          Simple HTTP server class
p5-HTTP-Date-6.02_1            Conversion routines for the HTTP protocol date 
formats
p5-HTTP-Message-6.11           Representation of HTTP style messages
p5-HTTP-Negotiate-6.01_1       Implementation of the HTTP content negotiation 
algorithm
p5-IO-HTML-1.001_1             Open an HTML file with automatic charset 
detection
p5-IO-Pty-Easy-0.09_1          Easy interface to IO::Pty
p5-IO-Socket-INET6-2.72_1      Perl module with object interface to AF_INET6 
domain sockets
p5-IO-Socket-IP-0.37           Drop-in replacement for IO::Socket::INET 
supporting IPv4 and IPv6
p5-IO-Socket-SSL-2.016         Perl5 interface to SSL sockets
p5-IO-Tty-1.12_1               Flexible I/O Perl5 module that allows 
manipulation of pseudo-TTYs
p5-Iterator-0.03_2             General-purpose iterator class
p5-Iterator-Util-0.02_1        Essential utilities for the Iterator class
p5-LWP-MediaTypes-6.02_1       Guess media type for a file or a URL
p5-MRO-Compat-0.12_1           Add mro::* interface compatibility for Perls < 
5.9.5
p5-Mail-Tools-2.14             Perl5 modules for dealing with Internet e-mail 
messages
p5-Math-BigInt-1.9993          Arbitrary size integer math perl package
p5-Module-Build-0.4214         Build and install Perl modules
p5-Module-Runtime-0.014_1      Perl module for runtime module handling
p5-Mozilla-CA-20141217         Perl extension for Mozilla CA cert bundle in PEM 
format
p5-Net-CIDR-0.18               Perl module to manipulate IPv4/IPv6 netblocks in 
CIDR notation
p5-Net-CIDR-Lite-0.21_1        Perl extension for merging IPv4 or IPv6 CIDR 
addresses
p5-Net-CIDR-Set-0.13_1         Manipulate sets of IP addresses
p5-Net-DNS-1.02                Perl5 interface to the DNS resolver, and dynamic 
updates
p5-Net-HTTP-6.09               Low-level HTTP client
p5-Net-IP-1.26_1               Perl extension for manipulating IPv4/IPv6 
addresses
p5-Net-OpenSSH-0.64            Perl SSH client package implemented on top of 
OpenSSH
p5-Net-SNMP-6.0.1_1            Object oriented interface to SNMP
p5-Net-SSLeay-1.72             Perl5 interface to SSL
p5-Net-Telnet-3.04_1           Perl5 module to access and use telnet protocol
p5-Net-Whois-RIPE-2.006        Implementation of RIPE Whois
p5-Parse-CPAN-Meta-1.44.14_1   Parse META.yml and other similar CPAN metadata 
files
p5-Pod-Coverage-0.23_1         Checks if the documentation of a module is 
comprehensive
p5-SNMP_Session-1.13_3         Perl5 module providing rudimentary access to 
SNMPv1 and v2 agents
p5-Socket-2.020                Networking constants and support functions
p5-Socket6-0.25_2              IPv6 related part of the C socket.h defines and 
structure manipulators
p5-Sub-Uplevel-0.2500          Appear to run a function in a higher stack frame
p5-Template-Toolkit-2.26       Extensive Toolkit for template processing
p5-Test-Class-0.50             Easily create test classes in an xUnit style
p5-Test-Exception-0.40         Test functions for exception based code
p5-Test-Pod-1.51               Check for POD errors in files
p5-Test-Pod-Coverage-1.10_1    Check for pod coverage in your distribution
p5-Test-Simple-1.001.014       Basic utilities for writing tests in perl
p5-TimeDate-2.30_2,1           Perl5 module containing a better/faster date 
parser for absolute dates
p5-Try-Tiny-0.22               Minimal try/catch with proper localization of $@
p5-URI-1.69                    Perl5 interface to Uniform Resource Identifier 
(URI) references
p5-WWW-RobotRules-6.02_1       Database of robots.txt-derived permissions
p5-XML-Filter-BufferText-1.01_1 Filter to put all characters() in one event
p5-XML-NamespaceSupport-1.11_1 Simple generic namespace support class
p5-XML-SAX-0.99_2              Simple API for XML
p5-XML-SAX-Base-1.08_1         Base class SAX Drivers and Filters
p5-XML-SAX-Writer-0.56         SAX2 XML Writer
p5-YAML-1.14                   YAML implementation in Perl
p5-YAML-LibYAML-0.59_1         Perl YAML Serialization using XS and libyaml
p5-YAML-Tiny-1.67              Read/Write YAML files with as little code as 
possible
p5-libwww-6.13                 Perl5 library for WWW access
p5-perl-ldap-0.6500            Client interface to LDAP (includes Net::LDAP)
pango-1.36.8_2                 Open-source framework for the layout and 
rendering of i18n text
pciids-20150924                Database of all known IDs used in PCI devices
pcre-8.37_4                    Perl Compatible Regular Expressions library
perl5-5.20.3_8                 Practical Extraction and Report Language
php56-5.6.14                   PHP Scripting Language
php56-session-5.6.14           The session shared extension for php
php56-sockets-5.6.14           The sockets shared extension for php
pixman-0.32.6_1                Low-level pixel manipulation library
pkg-1.6.1                      Package manager
png-1.6.20                     Library for manipulating PNG images
postgresql93-client-9.3.9      PostgreSQL database (client)
postgresql93-contrib-9.3.9_1   The contrib utilities from the PostgreSQL 
distribution
postgresql93-server-9.3.9_1    The most advanced open-source database available 
anywhere
py27-Babel-2.0                 Collection of tools for internationalizing 
Python applications
py27-Flask-0.10.1              Micro web framework
py27-Genshi-0.7_1              Python toolkit for stream-based generation of 
output for the web
py27-Jinja2-2.8                Fast and easy to use stand-alone template engine
py27-MarkupSafe-0.23           Implements a XML/HTML/XHTML Markup safe string 
for Python
py27-Paste-1.7.5.1_2           Tools for using a Web Server Gateway Interface 
stack
py27-PasteDeploy-1.5.2         Load, configure, and compose WSGI applications 
and servers
py27-PasteScript-1.7.5_2       Pluggable command-line frontend
py27-PyGreSQL-4.1.1_2,1        Python interface to PostgreSQL, both classic and 
DP-API 2.0
py27-Tempita-0.5.2             Small text templating language
py27-WebError-0.10.3_2         Web Error handling and exception catching
py27-WebTest-2.0.14            Helper to test WSGI applications
py27-asn1-0.1.8,1              ASN.1 toolkit for Python
py27-asn1-modules-0.0.7        Collection of ASN.1 data structures for py-asn1
py27-backports.ssl_match_hostname-3.4.0.2 Backport of ssl.match_hostname() 
function
py27-beaker-1.6.4_1            Session and Caching library with WSGI Middleware
py27-beautifulsoup-4.3.2       HTML/XML Parser for Python
py27-certifi-2015.04.28        Mozilla's SSL certificates
py27-cheetah-2.4.4_1           HTML template engine for Python
py27-dateutil-2.3              Extensions to the standard Python datetime module
py27-decorator-3.4.0_1         Better living through Python with decorators
py27-docutils-0.12             Python Documentation Utilities
py27-flup-1.0.2_2              Random assortment of WSGI servers, middleware
py27-formencode-1.2.6_2        HTML form validation, generation, and conversion 
package
py27-futures-3.0.3             Backport of the concurrent.futures package from 
Python 3.2
py27-ipy-0.83                  Python module for handling IPv4 and IPv6 
Addresses and Networks
py27-itsdangerous-0.24         Various helpers to pass data in untrusted 
environments
py27-ldap-2.4.21               LDAP module for python, for OpenLDAP2
py27-mako-1.0.1                Super-fast templating language in Python
py27-markdown-2.4.1            Python implementation of Markdown
py27-mx-base-3.2.8             eGenix mx-Extension Series for Python
py27-nose-1.3.7                Discovery-based unittest extension
py27-parsedatetime-1.4         Python module for parsing 'human readable' 
date/time expressions
py27-psutil121-1.2.1_1         Process utilities module for Python
py27-psycopg2-2.6.1_1          High performance Python adapter for PostgreSQL
py27-pyPgSQL-2.5.1_4           Python DB-API 2 compliant library for using 
PostgreSQL databases
py27-pygments-2.0.2            Syntax highlighter written in Python
py27-pylons-1.0                Python based web framework
py27-pytz-2015.4,1             World Timezone Definitions for Python
py27-routes-2.0                Routing package for Python that matches URLs to 
dicts and vice versa
py27-setuptools27-17.0         Python packages installer
py27-simplejson-3.6.3          Simple, fast, extensible JSON encoder/decoder
py27-six-1.9.0                 Python 2 and 3 compatibility utilities
py27-sqlite3-2.7.10_6          Standard Python binding to the SQLite3 library
py27-sqlite3dbm-0.1.4_1        Sqlite-backed dictionary
py27-tornado-4.2.1             Python Web Server from FriendFeed
py27-waitress-0.8.10           Python WSGI server
py27-webhelpers-1.3            Python helper functions for writing templates in 
web applications
py27-webob-1.4                 WSGI request and response Python object
py27-werkzeug-0.10.4           Python utilities collection for building WSGI 
applications
py27-wsgi_xmlrpc-0.2.8_1       WSGI application for a simple XMLRPC method 
dispatching
py27-wsgiauth-0.1_1            WSGI authentication middleware
py27-wsgitools-0.3             Useful middlewares and filters for wsgi as well 
as scgi servers
py27-wsgiutils-0.7_2           Utility libraries for development of simple WSGI 
programs
py27-xmlrpclib-1.0.1           Python implementation of the XML-RPC protocol
python2-2_3                    The "meta-port" for version 2 of the Python 
interpreter
python27-2.7.10_1              Interpreted object-oriented programming language
renderproto-0.11.1             RenderProto protocol headers
rrdtool-1.4.8_9                Round Robin Database Tools
smokeping-2.6.11_4             Latency logging and graphing system
sqlite3-3.8.11.1_1             SQL database engine in a C library
videoproto-2.3.2               Video extension headers
wget-1.16.3                    Retrieve files from the Net via HTTP(S) and FTP
xcb-util-0.4.0_1,1             Module with libxcb/libX11 extension/replacement 
libraries
xcb-util-renderutil-0.3.9_1    Convenience functions for the Render extension
xextproto-7.3.0                XExt extension headers
xf86vidmodeproto-2.3.1         XFree86-VidModeExtension extension headers
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xproto-7.0.27                  X11 protocol headers

This is a fairly vanilla system install, with everything via the binary ports.  
Nfdump is the first widget I've built from original source on the box.

ERM

Evan R Moore
Network Engineer and Bitwrangler
Sovernet Communications
emo...@sover.net



------------------------------------------------------------------------------
_______________________________________________
Nfdump-discuss mailing list
Nfdump-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfdump-discuss

Reply via email to