netmap-libpcap doesn't installs under FreeBSD10
Luigi Rizzo
rizzo at iet.unipi.it
Tue Mar 4 11:45:55 UTC 2014
On Tue, Mar 4, 2014 at 11:27 AM, C. L. Martinez <carlopmart at gmail.com>wrote:
> Hi all,
>
> When I try to compile netmap-libpcap, these errors appears:
>
> root at plzfsiem01:/tmp/j/netmap-libpcap # make
> cc -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g -O2
> -c ./pcap-bpf.c
> cc -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g -O2
> -c ./pcap-netmap.c
> ./pcap-netmap.c:117:9: warning: implicit declaration of function
> 'nm_dispatch' is invalid in C99 [-Wimplicit-function-declaration]
> ret = nm_dispatch((void *)d, cnt, (void
> *)pcap_netmap_filter, (void *)p);
>
almost surely you have an old version of netmap.h and netmap_user.h
in /usr/include/net
You should update to the version in stable/10 (at the very least
manually copy these two headers)
cheers
luigi
More information about the freebsd-net
mailing list