Jump to content

Recommended Posts

Posted

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.

Posted
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: 

 

Posted

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/

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines