GEN include/usage_compressed.h
GEN include/usage_compressed.h
CC networking/libiproute/iplink.o
networking/libiproute/iplink.c: In function 'do_change':
networking/libiproute/iplink.c:337: error: 'IFLA_LINKINFO' undeclared (first use in this function)
networking/libiproute/iplink.c:337: error: (Each undeclared identifier is reported only once
networking/libiproute/iplink.c:337: error: for each function it appears in.)
networking/libiproute/iplink.c:338: error: 'IFLA_INFO_KIND' undeclared (first use in this function)
make[1]: *** [networking/libiproute/iplink.o] Error 1
make: *** [networking/libiproute] Error 2
其实这个错误的原因很交叉编译工具链的版本有问题换成最新就好了,在老的版本里面 include/linux/if_link.h 并没有IFLA_LINKINFO和IFLA_INFO_KIND,在新板本里面已经有了,所以我们只要去下载一个新的编译工具就可以了
下载交叉编译工具: GNU Toolchain for ARM Processors
下载地址:
http://www.codesourcery.com/gnu_toolchains/arm/download.html
选择GNU/Linux就个工具就可以了
希望对碰到同样问题人的有用
编译
busybox
是出现如下
错误
book@book-desktop:/lesson/starace/
busybox
/
busybox
-1.22.1$ make
CC networking/libiproute/iplink.o
networking/libiproute/iplink.c: In
function
`vlan_parse_opt':
networking/
Could not find an option named "androidx". Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.
AndroidStudio 创建flutter项目报个上面
错误
信息,可能因为flutter sdk 版本过低,下载最新版试试。
https://stackoverflow.com/questions/58236340/androidx-error-creating-new-flutter-project-in-android-studio
即可解决。
新建flutter项目时提示这个
错误
。flutter doctor发现有flutter和dart plugin未安装提示,但老项目运行正常,as中flutter等插件确定是已经安装过的。但是flutter doctor依然提示未安装。
中间更新过android-studio-dir,但感觉不是问题解决的根本原因。
最终能过flutter upgrade --force成功解决问题,能够新建flutter项目。这个命令需要多试几次,对网络质量要求应该比较高,试了三次才成功执行完。
LINK
busybox
_unstripped
Your linker does not support --sort-section,alignment
Your linker does not support --sort-common
Your linker does not support -Wl,--gc-sections
Trying libraries: m resolv...
找到OSS_COMPILE ?=
修改为:CROSS_COMPILE=/usr/local/arm/3.4.1/bin/arm-linux-
也可以运行make menuconfig,进入配置接口来配置,这样做的前提是必须在$PATH中已添加了交叉
编译
gcc
#make menuconfig
进入“
Busybox
BusyBox
是一个集成了三百多个最常用Linux命令和
工具
的软件。
BusyBox
包含了一些简单的
工具
,例如ls、cat和echo等等,还包含了一些更大、更复杂的
工具
,例grep、find、mount以及telnet。有些人将
BusyBox
称为 Linux
工具
里的瑞士军刀。简单的说
BusyBox
就好像是个大
工具
箱,它集成压缩了 Linux 的许多
工具
和命令,也包含了 Android 系统...