Re: Error at the time of compiling netmap-fwd on -CURRENT

2017-03-27 Thread John Jasen
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

Re: Error at the time of compiling netmap-fwd on -CURRENT

2017-03-27 Thread Kevin Bowling
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

Error at the time of compiling netmap-fwd on -CURRENT

2017-03-24 Thread Caraballo-vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP]
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