Openwrt Askey Unrecognized Command
In OpenWRT I use two ovpn or conf files with route no pull / route. Commands therein to perform the tunnel splitting and tun0 and tun1 interfaces. Linked to the conf files. All that can be done by modifying the /etc/config/xy files pretty quickly. Is there a way in DD-WRT to realize it similarly, preferably via command line? Attached to Project: OpenWrt/LEDE Project Opened by Zbyněk Kocur - Last edited by Hans Dedecker - FS#1751 - Compilation of netifd from 30.7.2018 fails Compilation last version of netifd fails.
- make[4]: Leaving directory `/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-0.9.30.1/extra/config'
- PATH='/home/locke/dev/openwrt/staging_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin:/home/locke/dev/openwrt/staging_dir/host/bin:/home/locke/dev/openwrt/staging_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin:/home/locke/dev/openwrt/staging_dir/host/bin:/home/locke/dev/openwrt/staging_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin:/home/locke/dev/openwrt/staging_dir/host/bin:/home/locke/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/locke/droid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin' make -C /home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-0.9.30.1 PREFIX='/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-dev/' DEVEL_PREFIX=/usr/ RUNTIME_PREFIX='/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-dev/' HOSTCC='gcc' CC='arm-openwrt-linux-uclibc-gcc' CPU_CFLAGS='-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float' ARCH='arm' pregen install_headers
- make[4]: Entering directory `/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-0.9.30.1'
- set -e;
- tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/nulltrue`;
- KERNEL_HEADERS='/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-dev/usr/include/' top_builddir=. CC='arm-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float'/bin/sh extra/scripts/gen_bits_syscall_h.sh> $tmp;
- if cmp include/bits/sysnum.h $tmp >/dev/null 2>&1; then
- else
- fi
- cc1: error: unrecognized command line option '-mips32r2'
- cc1: error: unrecognized command line option '-mips32r2'
- if grep -q __NR_ include/bits/sysnum.h; then true;else
- echo 'ERROR: Could not generate syscalls.';
- echo 'Make sure that you have proper kernel headers.';
- echo 'Your .config in KERNEL_HEADERS='' was set to:';
- echo '/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-dev/usr/include/';
- fi
- Make sure that you have proper kernel headers.
- /home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/linux-dev/usr/include/
- make[4]: Leaving directory `/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-0.9.30.1'
- make[3]: *** [/home/locke/dev/openwrt/build_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc-0.9.30.1/.prepared] Error 2
- make[3]: Leaving directory `/home/locke/dev/openwrt/toolchain/uClibc'
- make[2]: Leaving directory `/home/locke/dev/openwrt'
- make[1]: *** [/home/locke/dev/openwrt/staging_dir/toolchain-arm_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/stamp/.toolchain_install] Error 2
- make[1]: Leaving directory `/home/locke/dev/openwrt'
- locke@locke-server:~/dev/openwrt$
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHave 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
Comments
commented Apr 21, 2015
Boost 1.58 does not build for MIPS32 on a x86_64 machine. It worked fine for boost 1.57. The error message is 'mips-openwrt-linux-gcc: error: unrecognized command line option '-m32' Setting the 32-bit option in <pkg_build_dir>/bin.v2/project-cache.jam to false solves the compiler error. Didn't test the resulting package yet. |
commented Apr 23, 2015
I will work on it ASAP. |
commented Apr 23, 2015
I have a patch that fixes the build but in my opinion not the source of the problem. The target platform is Atheros AR231x/AR5312 btw. |
commented Apr 23, 2015
I'm trying an other thing. From the previous version (1.57) I removed a patch which was also patching gcc.jam. Since that was the only thing I changed, related to the CPU arch, it was probably the thing that broke everything without me noticing. Thank you for your suggestion. |
commented Apr 23, 2015
It seems that the cause for the problem was this change: boostorg/boost@beb53b6 I confirm that your patch work. I will create a pull-request ASAP and also add support for Python 3.4 I also found a problem which needs to be Addressed. It seems that Boost.Locale is not being correctly built because, despite ICONV_DEPENDS is expressly used in the Boost Makefile to add and request iconv-full to be built, such is not happening for some unknown reason to me... Cheers |
added a commit to ClaymorePT/packages that referenced this issue Apr 24, 2015
Added patch for Boost.Build
This was referenced Apr 24, 2015
added a commit to ClaymorePT/packages that referenced this issue Apr 24, 2015
Openwrt Askey Unrecognized Command Manager
Added patch for Boost.Build
referenced this issue Apr 24, 2015
Mergedboost 1.58.0: added mips fix patch #1186
commented Apr 24, 2015
Pull request added (#1186) |