Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2016 14:40:15 -0800
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: three new netmap tools: pcap player, link emulator, load distributor
Message-ID:  <CA%2BhQ2%2Bh13dOWm3T%2B2hyqsDrZ2wG5_OEQ%2BVv6BFJMMBpEf3GcbA@mail.gmail.com>
In-Reply-To: <20160222181603.GR68298@zxy.spb.ru>
References:  <CA%2BhQ2%2Bhma5%2B4a60j1p1bERm6fB0JEY9EKODDfzfMawLjqQhLkA@mail.gmail.com> <20160222121415.GG37895@zxy.spb.ru> <CA%2BhQ2%2Bjdgwo-XqkSza0HNP6yWUoXOOFC2K90y5s%2BG%2BHGrEKsTg@mail.gmail.com> <20160222181603.GR68298@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 22, 2016 at 10:16 AM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> On Mon, Feb 22, 2016 at 08:17:06AM -0800, Luigi Rizzo wrote:

>
>> Give this a try and let us know.
>
> I can't compile this.
>
> # cc -o lb lb.c
> lb.c:17:10: fatal error: 'ctrs.h' file not found
> #include "ctrs.h"
>          ^
> 1 error generated.
>
> ok, give ctrs.h from netmap/examples/
>
> # cc -o lb lb.c
> In file included from lb.c:18:
> ./lb.h:2:23: error: use of undeclared identifier 'ETH_ALEN'
>         unsigned char h_dest[ETH_ALEN];
>                              ^
> ./lb.h:3:25: error: use of undeclared identifier 'ETH_ALEN'
>         unsigned char h_source[ETH_ALEN];
>                                ^
> 2 errors generated.

please try now.

cheers
luigi



-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo@iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2217533               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2Bh13dOWm3T%2B2hyqsDrZ2wG5_OEQ%2BVv6BFJMMBpEf3GcbA>