Closed gsankanna closed 10 years ago
hi, the latest netmap version is at code.google.com/p/netmap and as far as i know rumptcpip has been updated against that version. You are likely using an old version of rumpkernel.
cheers luigi
On Thu, Apr 24, 2014 at 8:03 AM, Thanegs notifications@github.com wrote:
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.
I have downloaded the netmap from https://github.com/fichtner/netmap . It seems there is a version mismatch here. Can you please point me to which version of netmap library I should be taking to compile rumpkernel netmap?
Thank you.
— Reply to this email directly or view it on GitHubhttps://github.com/rumpkernel/netmap-rumptcpip/issues/7 .
-----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2211611 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------
Thanks Luigi..
I was somewhat able to solve this issue by taking the Dec 2013 branch of netmap from git. If I take the latest code from netmap git and try to compile it with latest rump kernel from git then I see the above issue.
Now, I have another problem where I need your help.
Do I need to compile with the drivers. Am I missing anything else.
Steps followed -
Are you sure you have the latest netmap-rumptcpip? It was updated yesterday to address the problem you describe. (also, did you post to the mailing list? I responded with the same content there too)
For the second issue, can you please open a separate ticket? It's easier to manage things in the one-problem-per-issue style.
Thanks for you update..
I will pick the new netmap-rumptcpip which was uploaded yesterday. for other issue i will open a another ticket.
Thanks
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.
I have downloaded the netmap from https://github.com/fichtner/netmap . It seems there is a version mismatch here. Can you please point me to which version of netmap library I should be taking to compile rumpkernel netmap?
Thank you.