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

Confusing README related to KERNEL_SRC #36

Open
jbjorkang opened this issue May 8, 2023 · 0 comments
Open

Confusing README related to KERNEL_SRC #36

jbjorkang opened this issue May 8, 2023 · 0 comments

Comments

@jbjorkang
Copy link

I attempted to build ovpn-dco with a kernel different to that running on my system (6.3.0).

The README states:

If you want to build ovpn-dco against a kernel different from the one
running on the host, run:
$ make KERNEL_SRC=/path/to/the/kernel/tree

However it omits to mention that it should be a built kernel tree, rather than just the source code.

Suggestion:

If you want to build ovpn-dco against a kernel different from the one running on the host, ensure you have a built Linux kernel checked out at the desired version:
$ git clone https://github.com/OpenVPN/ovpn-dco.git
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
$ cd linux/
$ git checkout ...
$ make
$ cd ../ovpn-dco/
$ make KERNEL_SRC=../linux/
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

1 participant