From owner-freebsd-net@freebsd.org Mon Mar 27 17:25:36 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 8F758D20556 for ; Mon, 27 Mar 2017 17:25:36 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (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 4A0FBB43 for ; Mon, 27 Mar 2017 17:25:36 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: by mail-qt0-x22b.google.com with SMTP id i34so43737974qtc.0 for ; Mon, 27 Mar 2017 10:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=tZHiRZRW4RJ7nt9vUKJWO892Ew8FqgBBNJuk9D9szZ4=; b=eq17R9RN+hErLdgZOUbQ8qj8ejqevljs20Dbbxb2ICn6jJ+o45uyfMiZvtKlpxn4nf aAn39r+FXlEc04i2GXVm1gSxy4U4mS0U0iIYsrdj0JTrSY9HV227AN7Wtbpmy8h7A8Zf rM0gEuE3tpsrqMJBdgw++iY2dHsL9EADrfvNDsu9OdWchboePZyEODWN3loNoNDR/spT f2NUZH3u0slWCe1e8NxN6M++JiYRtpbKhf5Tou5LYzydkodAI2r8E4Ukg8SOpbUQErs2 hd+gP4lRLa3BaDx5I8jQd0uRBiMoBrEH2ixbp3j4ahQVizu/v0YiwwCzUhSQtxTrNev9 om6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=tZHiRZRW4RJ7nt9vUKJWO892Ew8FqgBBNJuk9D9szZ4=; b=IzXkiQZpPBrHj1wWr4czagmgSp7ybtJraugx+3cv0v2ptCKYm3nBZgBcQFw545kULK xcKygjZh+MaymUHCKzO+ZpGa81cb06rGhZDWETNq/tCeKzIrNdegMSSPNNAoAp3kx0z0 IKhx85T6Gkloev+C+1+ampt4D7Qv5fMEpMdqYAdg9ISccW/8XzsYH4sHELq/Vu/PeJtp 5tSOiOjlBgTNgj9hpoLrYakub+nWP7gYubyZW5CBqZT+qFVkHZtJoQBU9/s7zh4dRWyH 9FDeZhHrMg0WH7Ds4h5eIP0utQXfVc9r8B/qehly7h9n+aBznPkf1OwBT2bSNccuZwgt Hraw== X-Gm-Message-State: AFeK/H0HkkiuXJBUGWpjFe/aXXKDo+TA0Z1nZpAtoy/I5MhYzEbDp2T5y20f+xeGoIXOeQ== X-Received: by 10.200.40.42 with SMTP id 39mr21616471qtq.149.1490635535198; Mon, 27 Mar 2017 10:25:35 -0700 (PDT) Received: from [10.1.28.127] ([198.119.59.10]) by smtp.googlemail.com with ESMTPSA id q188sm795324qkf.20.2017.03.27.10.25.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 10:25:34 -0700 (PDT) Subject: Re: Error at the time of compiling netmap-fwd on -CURRENT To: freebsd-net@freebsd.org References: From: John Jasen Message-ID: Date: Mon, 27 Mar 2017 13:25:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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: Mon, 27 Mar 2017 17:25:36 -0000 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-fwd/util.h and util.c allowed it to compile and mostly work.