Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility with linux kernel 3.13 #4

Open
tenmalin opened this issue Feb 11, 2015 · 2 comments
Open

compatibility with linux kernel 3.13 #4

tenmalin opened this issue Feb 11, 2015 · 2 comments

Comments

@tenmalin
Copy link

Several compiling errors occur when trying to install serval on Ubuntu (kernel version: 3.13).

Compiling errors for serval_sal.c, e.g.,
serval-master/src/stack/serval_sal.c:1686:49: error: ‘struct inet_request_sock’ has no member named ‘rmt_addr’
ireq->rmt_addr,
^
serval_sal.c:1687:49: error: ‘struct inet_request_sock’ has no member named ‘loc_addr’
ireq->loc_addr,
^
and so on.

@misaakidis
Copy link

@tenmalin give it a try with Ubuntu 11.04 and kernel version 2.6.38.

Alternatively, you can skip compilation of the serval kernel module by using the "--disable-kernel" flag at configuration. You will still be able to test serval in the user space.

In order to fix those issues, serval has to be updated to use the new Linux Kernel APIs.

@tenmalin
Copy link
Author

Sound great! 👍
Thanks for updating the alternative solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants