On 23/04/14 11:24, govardhan sn wrote:
> Hi,
>
> i stated using netmap rumpkernel, while compiling this i am coming across
> the following compilation error, this is happening as i may not be using
> the correct header file.
>
> rumpcomp_user.c: In function 'receiver':
> rumpcomp_user.c:149:14: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c:172:3: error: implicit declaration of function
> 'NETMAP_RING_NEXT' [-Werror=implicit-function-declaration]
> rumpcomp_user.c:173:7: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c: In function 'rumpcomp_netmap_send':
> rumpcomp_user.c:230:25: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c:243:10: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c:260:7: error: 'struct netmap_ring' has no member named
> 'avail'
> cc1: all warnings being treated as error
>
> Could you please let me know how to resolve this compilation issue.

Hi,

Have a look at https://github.com/rumpkernel/netmap-rumptcpip/pull/6

Looks like there's a new API for netmap and the old one has been 
retired.  I asked the netmap authors about this some moments ago, 
waiting for their response do determine what to do with the pull request.

> i have downloaded the netmap from https://github.com/fichtner/netmap is
> this the correct one ?

Not sure, I always get it from http://info.iet.unipi.it/~luigi/netmap/
(my understanding is that the official netmap repo is on google code, 
but I'm not affiliated with netmap, so don't take my word for it)

   - antti

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to