New to linux/compiling and I need help with compiling aqc111.ko module from manufacture driver in Kernel 5.4.41-1
I installed PVE headers 5.4.41-1, and build-essentials (headers and build-essential complied successfully under 5.3)
Attempted to run make with 5.4.41-1 and was prompted for flex and bison and installed missing items.
But receive new error/unclear message:
root@pve1:/opt/Linux# make
make -C /lib/modules/5.4.41-1-pve/build SUBDIRS=/opt/Linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.41-1-pve'
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:36: can't open file "Documentation/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:73: syncconfig] Error 1
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.41-1-pve'
make: *** [Makefile:26: default] Error 2
issue seems to be:
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:36: can't open file "Documentation/Kconfig"
Am I missing something to compile the module in 5.4.41-1?
Thanks
I installed PVE headers 5.4.41-1, and build-essentials (headers and build-essential complied successfully under 5.3)
Attempted to run make with 5.4.41-1 and was prompted for flex and bison and installed missing items.
But receive new error/unclear message:
root@pve1:/opt/Linux# make
make -C /lib/modules/5.4.41-1-pve/build SUBDIRS=/opt/Linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.41-1-pve'
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:36: can't open file "Documentation/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:73: syncconfig] Error 1
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.41-1-pve'
make: *** [Makefile:26: default] Error 2
issue seems to be:
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:36: can't open file "Documentation/Kconfig"
Am I missing something to compile the module in 5.4.41-1?
Thanks