After installing missing flex and bison, I get a “can’t find file Kconfig”
DKMS make.log for dahdi-DEB_VERSION for kernel 6.0.8-00789-g99a6460d70b3 (aarch64)
Wed Nov 16 06:25:31 UTC 2022
make -C /lib/modules/6.0.8-00789-g99a6460d70b3/build SUBDIRS=/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/DEB_VERSION/build/include DAHDI_MODULES_EXTRA=“dahdi_dummy.o dahdi_echocan_oslec.o " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory ‘/usr/src/linux-headers-6.0.8-00789-g99a6460d70b3’
SYNC include/config/auto.conf.cmd
can’t find file Kconfig
make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[2]: *** [Makefile:632: syncconfig] Error 2
make[1]: *** [Makefile:734: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-6.0.8-00789-g99a6460d70b3’
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/6.0.8-00789-g99a6460d70b3/build SUBDIRS=/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/DEB_VERSION/build/include DAHDI_MODULES_EXTRA=” " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory ‘/usr/src/linux-headers-6.0.8-00789-g99a6460d70b3’
SYNC include/config/auto.conf.cmd
can’t find file Kconfig
make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[2]: *** [Makefile:632: syncconfig] Error 2
make[1]: *** [Makefile:734: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-6.0.8-00789-g99a6460d70b3’
make: *** [Makefile:74: modules] Error 2
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory ‘/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi/firmware’
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
–2022-11-16 06:25:36-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com (downloads.digium.com)… 170.249.154.172
Connecting to downloads.digium.com (downloads.digium.com)|170.249.154.172|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’0K .......... .......... .......... .......... .......... 34% 259K 0s 50K .......... .......... .......... .......... .......... 68% 331K 0s
100K … … … … … 100% 332K=0.5s
2022-11-16 06:25:37 (302 KB/s) - ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’ saved [149360/149360]
make[1]: Leaving directory ‘/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi/firmware’
make -C /lib/modules/6.0.8-00789-g99a6460d70b3/build SUBDIRS=/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/DEB_VERSION/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory ‘/usr/src/linux-headers-6.0.8-00789-g99a6460d70b3’
SYNC include/config/auto.conf.cmdcan’t find file Kconfig
make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[2]: *** [Makefile:632: syncconfig] Error 2
make[1]: *** [Makefile:734: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-6.0.8-00789-g99a6460d70b3’
make: *** [Makefile:74: modules] Error 2
What headers do I need to have for the Libre Computer Raspbian Portability project patched image?
root@repeater:~# apt-get install linux-headers-‘uname -r’
Reading package lists… Done
Building dependency tree
Reading state information… Done
linux-headers-6.0.8-00789-g99a6460d70b3:arm64 is already the newest version (6.0.8-00789-g99a6460d70b3-1).
linux-headers-6.0.8-00789-g99a6460d70b3:arm64 set to manually installed.
Thanks!