User Tools

Site Tools


faq:common_errors_when_building_openwrt

Common errors when building OpenWrt

Unclean buildroot

  1. Files inside the buildroot are specific to host systems.
    Build dependency: Please install GNU find
    
    # old files in staging_dir/host
  2. remove untracked files with the help of svn or git
  3. use make targets depending on what you don't want
    make clean
    make dirclean
    make distclean
    make target/linux/clean *
    rm -rf tmp/
    rm .config .config.old
  4. Kernel Config change is not triggering rebuild, see: openwrt-devel

If you are running a buildroot inside a VM with many threads you might experience random build failures.

Setup: Host: i7 16GB RAM, VM on Harddisk, Win 7 64bit, VMWare Player Guest: Lubuntu 13.04 64bit 4GB RAM ext4 partition make -j 8

Errors: Build fails like

mv: cannot stat '.deps/dlog.Tpo': No such file or directory

or 

../libtool: line 46: -c: command not found
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.

Cleaning up buildroot helps sometimes, reduce concurrency.

  • …add links / resources here…
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
faq/common_errors_when_building_openwrt.txt · Last modified: 2019/09/14 08:30 by tmomas