Cross compile util-linux for TI AM335x

Error:

checking needed scanf type modifiers... configure: error: in `/mnt/clfs/build/util-linux-2.20.1':
configure: error: cannot run test program while cross compiling

Solution:

echo "scanf_cv_type_modifier=as" > config.cache
./configure --host=arm-linux --build=i686 --cache-file=config.cache
make

留言

熱門文章