<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello</div><div><br></div><div>I use the rocko branch to compile a rootfs for my allwinner A20 board.</div><div>When build u-boot, it needs to compile a libfdt Python module, which shows as below:</div><div><br></div><div><div>    *** binman needs the Python libfdt library.</div><div>    *** Either install it on your system, or try:</div><div>    ***</div><div>    *** sudo apt-get install swig libpython-dev</div><div>    ***</div><div>    *** to have U-Boot build its own version.</div></div><div><br></div><div>So I add 'DEPENDS += "swig-native"' to the recipe.</div><div>After that, it show that:</div><div><br></div><div>    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory</div><div><br></div><div>It look like that libfdt should be compiled as a native library.</div><div>So I make a soft link named x86_64-linux-gnu-gcc to /usr/bin/gcc, and then it's OK to build u-boot.</div><div><br></div><div>How to correct this problem in a good manner?</div><div><br></div><div>Best regards</div><div>cddatemp</div><div><br></div><div><br></div></div><br><br><span title="neteasefooter"><p> </p></span>