FreeBSD 11 and prior, dprintf in stdio.h had to be specifically called
by setting particular defines.
These were removed in -CURRENT, which caused dprintf from
/usr/include/stdio.h to coflict with the declarations in netmap-fwd.
Commenting out the #define and the int dprintf statements in
netmap-f
Hi,
The DPRINTF macro in netmap-fwd is defined as #define *DPRINTF*(_fmt,
args...) if (verbose) dprintf(_fmt, ## args)
while dprintf is defined as dprintf(int fd, const char * restrict format,
...); in stdio.h
You could try, simplistically, to change DPRINTF macro to #define
*DPRINTF*(_fmt,
arg
Hello,
I am trying to compile netmap-fwd from git
(https://github.com/Netgate/netmap-fwd) on a Dell PE 530 with -CURRENT
updated from today (03/24/17). With the dependencies installed ( # pkg
install libucl libevent2 ) I run make and get the following error
followed by 8 warnings:
cc -O2 -fPIC -g