Date: Fri, 24 Mar 2017 19:19:03 -0400 From: "Caraballo-vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP]" <jordancaraballo87@gmail.com> To: freebsd-net@freebsd.org Subject: Error at the time of compiling netmap-fwd on -CURRENT Message-ID: <ec32c207-3959-73b6-2eed-e3ff31259e57@gmail.com>
next in thread | raw e-mail | index | archive | help
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 -Wall -Wshadow -Wcast-qual -Wwrite-strings -Wredundant-decls -Wnested-externs -Winline -I/usr/local/include -c arp.c= In file included from arp.c:51: =2E/util.h:33:5: error: conflicting types for 'dprintf' int dprintf(const char *, ...); ^ /usr/include/stdio.h:364:6: note: previous declaration is here int dprintf(int, const char * __restrict, ...) __printflike(2, 3); ^ arp.c:394:11: warning: incompatible pointer to integer conversion passing 'const char [44]' to parameter of type 'int' [-Wint-conversion] DPRINTF("%s: discarding the packet, too short (%d).\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =2E/util.h:29:54: note: expanded from macro 'DPRINTF' Any idea or feedback would be greatly appreciated. Cheers, Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec32c207-3959-73b6-2eed-e3ff31259e57>