Open pkopylov opened 1 month ago
It looks like Ubuntu 22.04 issue, which has an old libfdt. To fix the problem, the modern (1.7.0) libfdt should be installed. The farther commands were used to do so:
sudo apt-get install swig python3-dev
sudo apt remove libfdt1
git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git
cd dtc
make
sudo make install PREFIX=/usr
I tried to build OpenWRT with package/boot/sunxi-h618. Here is package Makefile header. Please pay attention it links to this repository commits:
So during the build process I encountered an error shown below:
The platform I use to build is Ubuntu22.04.