Page MenuHomeSolus

Make error 2: ERROR: Kernel Configuration is invalid
Closed, WontfixPublic


Wireguard builds since December fail on Solus with the following error message. Earlier versions build fine. Re-installed kernel headers and system-devel. Any help much appreciated!

user@solus ~/bin/WireGuard-0.0.20171221/src $ make debug
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
mkdir -p /home/user/bin/WireGuard-0.0.20171221/src/.tmp_versions ; rm -f /home/user/bin/WireGuard-0.0.20171221/src/.tmp_versions/*
make -f ./scripts/ obj=/home/user/bin/WireGuard-0.0.20171221/src
make[2]: *** No rule to make target '/home/user/bin/WireGuard-0.0.20171221/src/main.o', needed by '/home/user/bin/WireGuard-0.0.20171221/src/wireguard.o'.  Stop.
make[1]: *** [Makefile:1504: _module_/home/user/bin/WireGuard-0.0.20171221/src] Error 2
make: *** [Makefile:39: module-debug] Error 2

Event Timeline

JoshStrobl closed this task as Wontfix.Jan 27 2018, 6:07 PM
JoshStrobl claimed this task.
JoshStrobl added a subscriber: JoshStrobl.

Should consult upstream Wireguard about this then, seeing as wireguard isn't something we've accepted for inclusion or support yet.