我无法使用openwrt工具链构建静态二进制文件。
# staging_dir/toolchain-i386_i686_gcc-4.8-linaro_glibc-2.21/bin/i486-openwrt-linux-gnu-gcc -o /tmp/main /tmp/main.c -static
/tmp/main.c: In function 'main':
/tmp/main.c:3:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by
root@OpenWrt:/man/ipk# iptables -I FORWARD -m string --algo bm --string "instagram" -j DROP
iptables: No chain/target/match by that name.
root@OpenWrt:/man/ipk#
Can有人建议为什么这不起作用?
我正在尝试在我的c++代码中使用wait()和fork()。但是我在编译阶段得到了以下错误
../test/my_test.cpp: In member function 'void MYClass::myMethod()':
../test/my_test.cpp:98: error: no matching function for call to 'wait::wait(int*)'
/data/backfire/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib/gcc/i486-openwr
当我试图设置root's密码时:
root@OpenWrt:~# passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
最大长度似乎是8。如果我试图设置大于8的密码,只有前8个字符是有效的。如何为root设置更长的密码?
我的OpenWrt版本:
Linux OpenWrt 4.14.108 #0 SMP We