Re: FreeBSD CURRENT - Click Compilation --with-netmap fails

Outback Dingo <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAKYr3zzD40VcDb2S58xz0c0kv6gLYgRgfuVMu=Aud5UbQoB1qQ@mail.gmail.com>
On Fri, May 25, 2012 at 10:31 AM, Outback Dingo <[email protected]> wrote:
> On Fri, May 25, 2012 at 10:38 AM, Luigi Rizzo <[email protected]> wrote:
>> On Thu, May 24, 2012 at 10:30:37PM -0400, Outback Dingo wrote:
>>> building click from git, on FreeBSD CURRENT
>>> ./configure --with-netmap
>>
>> for the time being just rename the fields from *_queues to *_rings.
>> I was planning to send a suitable patch but have not had the time yet.
>
> Thanks, thats worked, successfully compiled with CLANG on CURRENT

Im going to go out on a limb here and figure that ./configure
--enable-bsdmodule --with-netmap

will result in a massive fail...... correct .. ??

>
>> cheers
>> luigi
>>
>>>
>>>   CXX ../elements/userlevel/fromdevice.cc
>>>   CXX ../elements/userlevel/fromdump.cc
>>>   CXX ../elements/userlevel/fromsocket.cc
>>>   CXX ../elements/userlevel/handlerproxy.cc
>>>   CXX ../elements/userlevel/ipflowrawsockets.cc
>>>   CXX ../elements/userlevel/kernelfilter.cc
>>>   CXX ../elements/userlevel/kerneltap.cc
>>>   CXX ../elements/userlevel/kerneltun.cc
>>>   CXX ../elements/userlevel/khandlerproxy.cc
>>>   CXX ../elements/userlevel/netmapinfo.cc
>>> ../elements/userlevel/netmapinfo.cc: In member function 'void
>>> NetmapInfo::ring::initialize_rings_rx(int)':
>>> ../elements/userlevel/netmapinfo.cc:94: error: 'struct netmap_if' has
>>> no member named 'ni_rx_queues'
>>> ../elements/userlevel/netmapinfo.cc:94: error: 'struct netmap_if' has
>>> no member named 'ni_rx_queues'
>>> ../elements/userlevel/netmapinfo.cc:94: error: 'struct netmap_if' has
>>> no member named 'ni_tx_queues'
>>> ../elements/userlevel/netmapinfo.cc: In member function 'void
>>> NetmapInfo::ring::initialize_rings_tx()':
>>> ../elements/userlevel/netmapinfo.cc:106: error: 'struct netmap_if' has
>>> no member named 'ni_tx_queues'
>>> ../elements/userlevel/netmapinfo.cc:106: error: 'struct netmap_if' has
>>> no member named 'ni_tx_queues'
>>> ../elements/userlevel/netmapinfo.cc:106: error: 'struct netmap_if' has
>>> no member named 'ni_rx_queues'
>>> gmake: *** [netmapinfo.o] Error 1
>>> *** [userlevel] Error code 2
>>> _______________________________________________
>>> click mailing list
>>> [email protected]
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.