From owner-freebsd-net@freebsd.org Fri Mar 24 23:19:06 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5EFAD1C098 for ; Fri, 24 Mar 2017 23:19:06 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 989E01ABD for ; Fri, 24 Mar 2017 23:19:06 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: by mail-yw0-x234.google.com with SMTP id p77so2746755ywg.1 for ; Fri, 24 Mar 2017 16:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=DMqf+BtNm3jZB+77yPo6hCWgfMbnBIbzG4d4Tx9kT6M=; b=EWHH2mulfMF5xXLXJfyBhxBTsWW46brB8jomAwz0UHND6c29WRQWpo4BMU3o5eOXwe MgJ13HTzrLxsmiuFIyEXGbRrmA/QChzK90M//ZBvBnR6/3lOznucEe8/iTOphYF4pt/q /W4wlScEZRUwrXpMz7FBowdU4OFmQIkWZcjmBHnMrLgj0ByWV4f7QZ+Q3Wss4IYUZnej wjgeI/S4EwNs9JJxGFBhgmpS4IYvPf3opfCMlYN2AGfNDEA5dR1d/RKeKXGck8fSs5mW fvntxEfMyBNeXzFpO/VZ/F7V6RqGkwmQJ5Dc3aGBHj11vkHLiC8B3t1RGJGXYpYESPaN 6EMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=DMqf+BtNm3jZB+77yPo6hCWgfMbnBIbzG4d4Tx9kT6M=; b=akn6XvYER38BISkVc6atcMU6jiib7JL4juKzkv/+69iOcmHrVCfe2Ip+A6nuPMXI47 iVbepc+uo0T1WpuEqlwD/pPb6TZnwR+51KFree/Ub2d7Fx66WcN0UdNmREZIvMQFP7lu ZzQ4gAyeSys7Fac7R6y5vGe/yhFgL8yHxs5qthaZDRvfQwKcHX9Laz5BiyeQQxYKXz0N uHXX7xuX3L9YZ+FKEIaAE0vAGAbrVkvGcEGY4ScIcWj6sF20NoObox27k/bzdr6osUFn bg5QmfrXFwe63gEU3PdXj2VQfdljejxrF7X4ryEP0NptzQbNvuyiIzV0kUT8uijId4lj IADg== X-Gm-Message-State: AFeK/H1WJKNkNJa4LnnE1Nrt3W0fZBxOQgNguPWD4DIlxltJWWTDTu21m68C4Zi7vP51ig== X-Received: by 10.129.31.87 with SMTP id f84mr7703114ywf.341.1490397545728; Fri, 24 Mar 2017 16:19:05 -0700 (PDT) Received: from [10.0.0.67] (adsl-64-237-185-120.prtc.net. [64.237.185.120]) by smtp.gmail.com with ESMTPSA id p68sm1440082ywf.27.2017.03.24.16.19.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Mar 2017 16:19:05 -0700 (PDT) From: "Caraballo-vega, Jordan A. (GSFC-6062)[COMPUTER SCIENCE CORP]" Subject: Error at the time of compiling netmap-fwd on -CURRENT To: freebsd-net@freebsd.org Message-ID: Date: Fri, 24 Mar 2017 19:19:03 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 23:19:06 -0000 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