OpenWrt Forum Archive

Topic: configuration is out of sync

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

how to solve this any possible solution ? I am using ubuntu 14.04 LTS as root.

WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!
make[1]: Entering directory `/home/samad/openwrt'
make[2]: Entering directory `/home/samad/openwrt'
+ mkdir -p /home/samad/openwrt/staging_dir/target-mips_34kc_musl-1.1.14
+ cd /home/samad/openwrt/staging_dir/target-mips_34kc_musl-1.1.14
+ mkdir -p bin lib include stamp
mkdir -p /home/samad/openwrt/build_dir/target-mips_34kc_musl-1.1.14/stamp
touch /home/samad/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/.prepared
+ mkdir -p /home/samad/openwrt/staging_dir/host
+ cd /home/samad/openwrt/staging_dir/host
+ mkdir -p bin lib include stamp
mkdir -p /home/samad/openwrt/build_dir/host/stamp /home/samad/openwrt/staging_dir/host/include/sys
install -m0644 /home/samad/openwrt/tools/include/*.h /home/samad/openwrt/staging_dir/host/include/
install -m0644 /home/samad/openwrt/tools/include/sys/*.h /home/samad/openwrt/staging_dir/host/include/sys/
ln -sf lib /home/samad/openwrt/staging_dir/host/lib64
touch /home/samad/openwrt/staging_dir/host/.prepared
make[3]: Entering directory `/home/samad/openwrt/tools/flock'
make[3]: Leaving directory `/home/samad/openwrt/tools/flock'
make[3]: Entering directory `/home/samad/openwrt/tools/flock'
make[3]: Leaving directory `/home/samad/openwrt/tools/flock'
make[3]: Entering directory `/home/samad/openwrt/tools/tar'
make[3]: Leaving directory `/home/samad/openwrt/tools/tar'
make[3]: Entering directory `/home/samad/openwrt/tools/tar'
make[3]: Leaving directory `/home/samad/openwrt/tools/tar'
make[3]: Entering directory `/home/samad/openwrt/tools/patch'
make[3]: Leaving directory `/home/samad/openwrt/tools/patch'
make[3]: Entering directory `/home/samad/openwrt/tools/patch'
make[3]: Leaving directory `/home/samad/openwrt/tools/patch'
make[3]: Entering directory `/home/samad/openwrt/tools/sed'
make[3]: Leaving directory `/home/samad/openwrt/tools/sed'
make[3]: Entering directory `/home/samad/openwrt/tools/sed'
make[3]: Leaving directory `/home/samad/openwrt/tools/sed'
make[3]: Entering directory `/home/samad/openwrt/tools/m4'
make[3]: Leaving directory `/home/samad/openwrt/tools/m4'
make[3]: Entering directory `/home/samad/openwrt/tools/m4'
make[3]: Leaving directory `/home/samad/openwrt/tools/m4'
make[3]: Entering directory `/home/samad/openwrt/tools/autoconf'
make[3]: Leaving directory `/home/samad/openwrt/tools/autoconf'
make[3]: Entering directory `/home/samad/openwrt/tools/autoconf'
make[3]: Leaving directory `/home/samad/openwrt/tools/autoconf'
make[3]: Entering directory `/home/samad/openwrt/tools/pkg-config'
make   -C /home/samad/openwrt/build_dir/host/pkg-config-0.29.1 
make[4]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1'
make  all-recursive
make[5]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1'
Making all in glib
make[6]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib'
make  all-recursive
make[7]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib'
Making all in .
make[8]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib'
make[8]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib'
Making all in m4macros
make[8]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/m4macros'
make  all-am
make[9]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/m4macros'
make[9]: Nothing to be done for `all-am'.
make[9]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/m4macros'
make[8]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/m4macros'
Making all in glib
make[8]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib'
make  all-recursive
make[9]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib'
Making all in libcharset
make[10]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib/libcharset'
make  all-am
make[11]: Entering directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib/libcharset'
  CC       libcharset_la-localcharset.lo
libtool: Version mismatch error.  This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[11]: *** [libcharset_la-localcharset.lo] Error 63
make[11]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib/libcharset'
make[10]: *** [all] Error 2
make[10]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib/libcharset'
make[9]: *** [all-recursive] Error 1
make[9]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib/glib'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/glib'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/samad/openwrt/build_dir/host/pkg-config-0.29.1'
make[3]: *** [/home/samad/openwrt/build_dir/host/pkg-config-0.29.1/.built] Error 2
make[3]: Leaving directory `/home/samad/openwrt/tools/pkg-config'
make[2]: *** [tools/pkg-config/compile] Error 2
make[2]: Leaving directory `/home/samad/openwrt'
make[1]: *** [/home/samad/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.tools_install_yynyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make[1]: Leaving directory `/home/samad/openwrt'
make: *** [world] Error 2

I don't know if it'll help or not, or if you see this, but I hit a similar set of problems.

My mistake was running 'make menuconfig', then 'make defconfig', then 'make prereq'.  Once I only ran 1 command (make menuconfig), saved the config file, then typed make, I was OK.

I updated the wiki to reflect my pain.

-I can't link, so goto the 'howto' buildroot.exigence link, then see the edits I mentioned above.

The discussion might have continued from here.