Compilation under MacOS

mespersen
 
Posts: 2
Joined: Mon Jul 04, 2016 2:11 pm

Compilation under MacOS

Tue Jul 05, 2016 8:18 am

Hi,

I'm trying to compile openwrt on MacOS (El Capitain) and get the following error:

make[5]: Entering directory `/Volumes/VoCore/openwrt/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/linux-ramips_rt305x/linux-4.4.4'
Makefile:653: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
/Volumes/VoCore/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/bin/mipsel-openwrt-linux-musl-gcc: /Volumes/VoCore/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/bin/mipsel-openwrt-linux-musl-gcc: cannot execute binary file
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
/bin/sh: /Volumes/VoCore/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/bin/mipsel-openwrt-linux-musl-gcc: cannot execute binary file
make[6]: *** [kernel/bounds.s] Error 126
make[5]: *** [prepare0] Error 2

Any suggestions of what may be missing?

The file binary seems fine:
ls -l /Volumes/VoCore/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/bin/mipsel-openwrt-linux-musl-gcc
-rwxr-xr-x@ 1 mespersen staff 2515316 9 Mar 19:50 /Volumes/VoCore/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/bin/mipsel-openwrt-linux-musl-gcc

Thanks

-Mikael

Vonger
 
Posts: 730
Joined: Sun Oct 19, 2014 6:00 am

Re: Compilation under MacOS

Fri Jul 08, 2016 12:25 pm

better to use VM in linux :)

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests