From owner-freebsd-net@FreeBSD.ORG Tue Mar 4 12:00:15 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 564141F9 for ; Tue, 4 Mar 2014 12:00:15 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6C0E9E8 for ; Tue, 4 Mar 2014 12:00:14 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id a1so4886307wgh.22 for ; Tue, 04 Mar 2014 04:00:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=isIfRIqjSVlaKDoRa0vTN1ulPrulovApLqvHO+k/QFo=; b=wqwvWZZM9aHKndwUt0WUANOnBgDOa6gS0WPNu7Z1zTRlpp5I7vptJiiJ+ck/R9LI4n xRydQYFQmqNP7rmC1hI0UpCKVPQuGrMfXC9Nnoa6PeWD6leVF+0uIjTIaTImAOeckKI6 Di/f7NTvzIe/mUNj4NyrjcFX67wnMcJPPqRrdvk+N0fe3ncOe1P08wdp9r4pvZ2rtZ+L P3MK6P8Vx0EhMjBADCdeGKOUAMug1Fom+5z68zw/rYUTzpk5vGNRcyY/qPJI0hnKEY75 Ce7zJgsAN9bWpg+X/7f6d6HWakwJq4Sd1h9HGm5pr8CTX98dTP6gSyxY049peRqBWtEV cDXg== MIME-Version: 1.0 X-Received: by 10.194.82.35 with SMTP id f3mr25945330wjy.36.1393934413301; Tue, 04 Mar 2014 04:00:13 -0800 (PST) Received: by 10.194.29.163 with HTTP; Tue, 4 Mar 2014 04:00:13 -0800 (PST) In-Reply-To: References: Date: Tue, 4 Mar 2014 12:00:13 +0000 Message-ID: Subject: Re: netmap-libpcap doesn't installs under FreeBSD10 From: "C. L. Martinez" To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 12:00:15 -0000 On Tue, Mar 4, 2014 at 11:45 AM, Luigi Rizzo wrote: > > > > On Tue, Mar 4, 2014 at 11:27 AM, C. L. Martinez > wrote: >> >> Hi all, >> >> When I try to compile netmap-libpcap, these errors appears: >> >> root@plzfsiem01:/tmp/j/netmap-libpcap # make >> cc -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g -O2 >> -c ./pcap-bpf.c >> cc -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g -O2 >> -c ./pcap-netmap.c >> ./pcap-netmap.c:117:9: warning: implicit declaration of function >> 'nm_dispatch' is invalid in C99 [-Wimplicit-function-declaration] >> ret = nm_dispatch((void *)d, cnt, (void >> *)pcap_netmap_filter, (void *)p); > > > almost surely you have an old version of netmap.h and netmap_user.h > in /usr/include/net > > You should update to the version in stable/10 (at the very least > manually copy these two headers) > > cheers > luigi Thanks Luigi. Only netmap.h and netmap_user.h?? Can I use default files provided by FreeBSD 10-RELEASE under sys/dev/netmap or do I need to update them??