hei-pa Posted July 21, 2018 Share Posted July 21, 2018 Hi, I need to compile armbian to set some kernel modules. Now the compiled kernel is installed and armbian is up. For some reason using armbin-add-overlay results in Missing dtc compiler in kernel headers directory. Please reinstall the kernel headers package I have installed the all packages I have build. . ├── linux-dtb-next-sunxi_5.53_armhf.deb ├── linux-headers-next-sunxi_5.53_armhf.deb ├── linux-image-next-sunxi_5.53_armhf.deb └── linux-u-boot-next-nanopineo_5.53_armhf.deb So the matching kernel headers should be installed. Link to comment Share on other sites More sharing options...
Igor Posted July 22, 2018 Share Posted July 22, 2018 13 hours ago, hei-pa said: For some reason using armbin-add-overlay results 4.17.y is still in works. This might be worth reading: Link to comment Share on other sites More sharing options...
hei-pa Posted July 28, 2018 Author Share Posted July 28, 2018 I found the root cause ... bison and flex were missing ... The kernel header package has a postinst command running make inside the new installed tree. make -s scripts >/dev/null 2>&1 exit 0 But this does not report anything by design and exits with success. So there was no resulting dtc binary inside /lib/modules/$(uname -r)/build/scripts/dtc/ Link to comment Share on other sites More sharing options...
Recommended Posts