我成功地在OpenWRT上安装了OpenWRT,没有任何错误--参见下面,但是我在登录时遇到了问题--它告诉我访问被拒绝了。但是根据我在互联网上发现的一切,默认的用户名是root,没有密码,所以我必须是一个特例。
请看下面:
root@OpenWrt:~# mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql
我正在尝试使用uClibc和openwrt工具链为ARM设备构建Snort2.9.9.0。
我经常有汇编问题,包括:
·libtool attempting to link library **/usr/lib/libdnet** rather than $TOOLCHAIN_DIR/usr/lib/libdnet
我怀疑我的问题来自于自动工具,因为所有必需的库都已经就绪,我的配置脚本在修改后运行,以防止交叉编译错误(“不能在交叉编译时进行配置”)。
我的问题是:
在此snort交叉编译上下文中使用自动工具进行交叉编译的正确方法是什么?
配置脚本试图执行已编译的程序并引发交叉编译错误,
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有人建议为什么这不起作用?
我试图从源代码交叉编译libnetfilter_queue-1.0.2,构建环境变量指向正确的跨工具链和依赖库路径。
不过,在./configure上仍然会出现以下错误
checking for LIBNFNETLINK... no
configure: error: Package requirements (libnfnetlink >= 0.0.41) were not met:
No package 'libnfnetlink' found
Consider adjusting the PKG_CONFIG_PATH environment variable
root@OpenWrt:~/poco-1.8.1-all# ./configure --no-tests --no-samples --omit=CppUnit,Data,MongoDB,PageCompiler,Redis,Zip
root@OpenWrt:~/poco-1.8.1-all# make
In file included from include/Poco/Crypto/CipherKeyImpl.h:22:0,
from include/Poco/Crypto/CipherKey.h:22,
from sr
我正在尝试交叉编译Openwrt的.c文件。我下载了Openwrt并在包目录中添加了我的文件,并为它创建了Makefile,但是在编译它时却跳过了。我不知道怎么回事
这是Makefile:
*
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=gav
PKG_VERSION:=1
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/gav
SECTION:=utils
CATEGORY:=Base system
TIT
我正在尝试使用OpenWRT工具链交叉编译用于OpenWRT Linux环境的POCO源代码包。我已经下载了POCO源代码包,并试图交叉编译它,但是我得到的错误日志如下所示
src/Error.cpp: In static member function 'static std::string
Poco::Error::getMessage(int)': src/Error.cpp:71:55: error: invalid
conversion from 'int' to 'const char*' [-fpermissive]
return