Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile #10

Open
jcanderle opened this issue Oct 26, 2017 · 0 comments
Open

Can't compile #10

jcanderle opened this issue Oct 26, 2017 · 0 comments

Comments

@jcanderle
Copy link

jcanderle commented Oct 26, 2017

Hi Tobias,

I have been using your built in my NAS 4220 from 14 Mar 2013, and I have decided to update the built, so I have followed your instructions:
#git clone git@github.com:tobiaswaldvogel/openwrt-ib42x0.git
git clone https://github.com/tobiaswaldvogel/openwrt-ib42x0.git openwrt-ib4220
cd openwrt-ib4220/
cp default-config .config
scripts/feeds update
scripts/feeds install
make package/symlinks
make
but it fails to compile:

make[3]: Entering directory '/hdd/home/scaleo/projects/openwrt-ib4220/tools/mkimage'
make -C /hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10 defconfig
make[4]: Entering directory '/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10'
configuration written to .config
Default configuration is based on 'sandbox_defconfig'
make[4]: Leaving directory '/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10'
make -C /hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10 tools-only
make[4]: Entering directory '/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
GEN include/autoconf.mk
In file included from include/linux/compiler.h:54:0,
from /hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10/arch/sandbox/include/asm/bitops.h:20,
from include/linux/bitops.h:110,
from /hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10/include/common.h:20:
include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No such file or directory compilation terminated.
/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10/scripts/Makefile.autoconf:64: recipe for target 'include/autoconf.mk' failed
make[6]: *** [include/autoconf.mk] Error 1
/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10/Makefile:464: recipe for target 'silentoldconfig' failed
make[5]: *** [silentoldconfig] Error 1
make[4]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
make[4]: Leaving directory '/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10'
Makefile:46: recipe for target '/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10/.built' failed
make[3]: *** [/hdd/home/scaleo/projects/openwrt-ib4220/build_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/hdd/home/scaleo/projects/openwrt-ib4220/tools/mkimage'
tools/Makefile:122: recipe for target 'tools/mkimage/compile' failed
make[2]: *** [tools/mkimage/compile] Error 2

I have tried to pull LEDE project: https://lede-project.org/docs/guide-developer/quickstart-build-images
I has compiled and built the image for the IB4220, but with wrong sizes, so it won't fit into flash:
-rw-r--r-- 1 scaleo scaleo 9123 říj 20 18:35 config.seed
-rw-r--r-- 1 scaleo scaleo 2516 říj 20 18:35 lede-gemini-raidsonic-default.manifest
-rw-r--r-- 1 scaleo scaleo 10092544 říj 20 18:35 lede-gemini-raidsonic-nas4220-hddapp.tgz
-rw-r--r-- 1 scaleo scaleo 3801088 říj 20 18:35 lede-gemini-raidsonic-nas4220-rd.gz
-rw-r--r-- 1 scaleo scaleo 1492344 říj 20 18:35 lede-gemini-raidsonic-nas4220-zImage
-rw-r--r-- 1 scaleo scaleo 3801088 říj 20 18:35 lede-gemini-raidsonic-squashfs.img
-rw-r--r-- 1 scaleo scaleo 8615899 říj 20 18:35 lede-gemini-raidsonic-sysupgrade-ib4220.tar.gz
-rw-r--r-- 1 scaleo scaleo 35491639 říj 20 18:24 lede-toolchain-gemini-raidsonic_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64.tar.bz2
drwxr-xr-x 2 scaleo scaleo 16384 říj 20 20:18 packages/
-rw-r--r-- 1 scaleo scaleo 855 říj 20 18:35 sha256sums

I am trying to understand your default config files, and port them to LEDE. Could you give me some direction, how to port them?

Regards
Jiri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant