rdkafka = { version = "0.29.0", features = [ "cmake-build", "ssl-vendored" ], default-features = false }
[build-dependencies]
openssl-src = { version = "111.25.3+1.1.1t", features = [ "force-engine" ] }
In Arch linux I got the compilation working by installing: kernel-headers-musl. However, in ubuntu I can't fix the compilation by installing: linux-headers-generic.
I get the following error:
--- stderr
engines/e_afalg.c:24:10: fatal error: linux/version.h: No such file or directory
24 | #include <linux/version.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:5752: engines/e_afalg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:177: build_libs] Error 2
thread 'main' panicked at '
Hi,
I am trying to build my package for musl.
I have configured the following dependencies:
In Arch linux I got the compilation working by installing:
kernel-headers-musl
. However, in ubuntu I can't fix the compilation by installing:linux-headers-generic
.I get the following error: