-
Notifications
You must be signed in to change notification settings - Fork 71
-
Notifications
You must be signed in to change notification settings - Fork 71
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
conf.c:21:10: fatal error: netlink/version.h: No such file or directory #107
Comments
Forcing --- a/Makefile.in 2021-09-21 10:27:24.966739165 +0200
+++ b/Makefile.in 2021-09-21 10:27:57.537003815 +0200
@@ -9,7 +9,7 @@
install-suid-root: exec_perms = 4755
CC ?= @CC@
-CFLAGS ?= @CFLAGS@ @LIBNL3_CLI_CFLAGS@
+CFLAGS = @CFLAGS@ @LIBNL3_CLI_CFLAGS@
CPPFLAGS ?= @CPPFLAGS@
LDFLAGS ?= @LDFLAGS@
DEFS ?= @DEFS@ |
Hi, thanks for reporting. This seems to be an error with Can you please past the output of pkg-config libnl-cli-3.0 --cflags # This should be -I/usr/include/libnl3
pkg-config libnl-cli-3.0 --libs # E.g. -lnl-cli-3 -lnl-genl-3 -lnl-nf-3 -lnl-route-3 -lnl-3 |
alarig@pikachu ~ % pkg-config libnl-cli-3.0 --cflags
-I/usr/include/libnl3
alarig@pikachu ~ % pkg-config libnl-cli-3.0 --libs
-lnl-cli-3 -lnl-genl-3 -lnl-nf-3 -lnl-route-3 -lnl-3
alarig@pikachu ~ % I’m not very cmake-fluent, but I guess that |
Can you try these steps:? make distclean
./configure
make -j 6 |
It doesn’t seem to add the
|
Sorry should have mentioned you need The second step of sudo make distclean; ./configure && make -j6 |
This was a fresh extract of the archive, so the directory was all clean, but I found when it fails, if
So it’s why my |
Thank you for testing. This is an interaction with an old change in eeaf804. Am able to reproduce this and am working on a fix. |
Thanks a lot! Don’t hesitate to ping me if you need some tests ;) |
Yes please - can you test if the following works for you:?
This adds your specific sudo make distclean
autoconf
CFLAGS="-O2 -pipe -march=native -mtune=native" ./configure
make -j6 |
It complexifies a bit the ebuild, but it works! https://git.grifon.fr/alarig/SwordArMor-gentoo-overlay/commit/2456ebc5672ef9f06ece203062507d4d3c67ae4d src_configure () {
CFLAGS="${CFLAGS}" econf
}
src_compile() {
unset CFLAGS
default
}
|
uoaerg/wavemon#107 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
Thank you; I will update the documentation shortly. The |
Hi,
netlink/version.h
was with libnl-1, it is now installed under/usr/include/libnl3/netlink/netlink.h
with libnl >= 3 and the configure requires libnl-cli-3.0 >= 3.2The text was updated successfully, but these errors were encountered: