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

rtd1619b arch Compile error #176

Open
AlimFreight opened this issue Apr 27, 2023 · 1 comment
Open

rtd1619b arch Compile error #176

AlimFreight opened this issue Apr 27, 2023 · 1 comment

Comments

@AlimFreight
Copy link

AlimFreight commented Apr 27, 2023

Hi there,
Yesterday I tried to compile for rtd1619b arch, since it was added to 7.2. But I got this error.

In file included from <command-line>: /source/WireGuard/wireguard-linux-compat-1.0.20220627/src/compat/compat.h:41:2: error: #error "WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required." 41 | #error "WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required." | ^~~~~ scripts/Makefile.build:280: recipe for target '/source/WireGuard/wireguard-linux-compat-1.0.20220627/src/main.o' failed make[3]: *** [/source/WireGuard/wireguard-linux-compat-1.0.20220627/src/main.o] Error 1 Makefile:1822: recipe for target '/source/WireGuard/wireguard-linux-compat-1.0.20220627/src' failed make[2]: *** [/source/WireGuard/wireguard-linux-compat-1.0.20220627/src] Error 2 Makefile:26: recipe for target 'module' failed make[1]: *** [module] Error 2 make[1]: Leaving directory '/source/WireGuard/wireguard-linux-compat-1.0.20220627/src' Makefile:72: recipe for target 'wireguard-linux-compat-1.0.20220627/src/wireguard.ko' failed make: *** [wireguard-linux-compat-1.0.20220627/src/wireguard.ko] Error 2 [Error] Build project fail! Time cost: 00:00:12 [Build-->WireGuard] [INFO] Build WireGuard finished! ----------------- Time cost statistics ----------------- Time cost: 00:00:12 [Build-->WireGuard] ######################################################## Error(s) occurred on project "WireGuard" ########################################################

Is it any way I can I fix it?

@marcelschmidtdev
Copy link

Hey @AlimFreight, I managed to get it working with a patch. I created a pull request here #189

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