Closed kofec closed 8 years ago
During compilation I had below issue
make[5]: Nothing to be done for `all-target'. make[5]: Leaving directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x/build_dir/toolchain-mipsel_mips32r2_gcc-_-/gdb-7.10' make[4]: Leaving directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x/build_dir/toolchain-mipsel_mips32r2_gcc-_-/gdb-7.10' touch /media/kofec/Berryboot/openwrt/Entware-ng-3x/build_dir/toolchain-mipsel_mips32r2_gcc-_-/gdb-7.10/.built make[3]: Leaving directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x/toolchain/gdb' make[3]: Entering directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x/toolchain/gdb' mkdir -p /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin install -m0755 /media/kofec/Berryboot/openwrt/Entware-ng-3x/build_dir/toolchain-mipsel_mips32r2_gcc-_-/gdb-7.10/gdb/gdb /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb ln -fs mipsel-openwrt-linux-gdb /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb strip /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb strip: Warning: could not locate '/media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb'. reason: Too many levels of symbolic links make[3]: *** [/media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/stamp/.gdb_installed] Error 1 make[3]: Leaving directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x/toolchain/gdb' make[2]: *** [toolchain/gdb/install] Error 2 make[2]: Leaving directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x' make[1]: *** [/media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/stamp/.toolchain_install] Error 2 make[1]: Leaving directory `/media/kofec/Berryboot/openwrt/Entware-ng-3x' make: *** [world] Error 2 kofec@USBSeagate /media/kofec/Berryboot/openwrt/Entware-ng-3x $ ls -al /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb lrwxrwxrwx 1 kofec kofec 24 Aug 24 22:24 /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb -> mipsel-openwrt-linux-gdb kofec@USBSeagate /media/kofec/Berryboot/openwrt/Entware-ng-3x $ cd /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb bash: cd: /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/mipsel-openwrt-linux-gdb: Too many levels of symbolic links kofec@USBSeagate /media/kofec/Berryboot/openwrt/Entware-ng-3x $ cd /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin/ kofec@USBSeagate /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin $ ls mipsel-openwrt-linux-gdb kofec@USBSeagate /media/kofec/Berryboot/openwrt/Entware-ng-3x/staging_dir/toolchain-mipsel_mips32r2_gcc-_-/bin $ ls -al total 8 drwxr-xr-x 2 kofec kofec 4096 Aug 24 22:24 . drwxr-xr-x 6 kofec kofec 4096 Aug 24 22:05 .. lrwxrwxrwx 1 kofec kofec 24 Aug 24 22:24 mipsel-openwrt-linux-gdb -> mipsel-openwrt-linux-gdb
my config:
CONFIG_MODULES=y CONFIG_HAVE_DOT_CONFIG=y CONFIG_TARGET_mipsel_3x=y CONFIG_TARGET_mipsel_3x_Default=y CONFIG_TARGET_BOARD="mipsel-3x" CONFIG_TARGET_SUBTARGET="generic" CONFIG_TARGET_ARCH_PACKAGES="mipsel-3x" CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2" CONFIG_CPU_TYPE="mips32r2" CONFIG_LINUX_3_4=y CONFIG_DEFAULT_busybox=y CONFIG_DEFAULT_dropbear=y CONFIG_DEFAULT_libc=y CONFIG_DEFAULT_libgcc=y CONFIG_AUDIO_SUPPORT=y CONFIG_PCI_SUPPORT=y CONFIG_USB_SUPPORT=y CONFIG_mipsel=y CONFIG_ARCH="mipsel"
My guess is - you have not used the predefined config from configs folder. We recommend Debian-8/64 for building. It has no issues.
During compilation I had below issue
my config: