Evan_RK 发表于 2017-3-1 15:50:47

RK3288编译android5.1报错:提示找不到文件:libwpa_client/wpa_ctrl.h

本帖最后由 Evan_RK 于 2017-3-1 15:54 编辑

使用官方SDK:firefly-rk3288_android5.1_git_20170224,按照官方说明编译android时报错,提示找不到文件:libwpa_client/wpa_ctrl.h,请问这是啥问题?


编译系统为:Ubuntu14.04。

报错信息:
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/wifi/rk_wifi_ctrl.c
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/qemu/qemu.c
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/qemu_tracing/qemu_tracing.c
hardware/libhardware_legacy/wifi/rk_wifi_ctrl.c:27:36: fatal error: libwpa_client/wpa_ctrl.h: No such file or directory
#include "libwpa_client/wpa_ctrl.h"
                                    ^
compilation terminated.
make: *** Error 1
make: *** Waiting for unfinished jobs....
target thumb C: libnetutils <= system/core/libnetutils/dhcpclient.c
hardware/libhardware_legacy/qemu/qemu.c: In function 'qemu_channel_open_tty':
hardware/libhardware_legacy/qemu/qemu.c:157:38: warning: unused parameter 'mode' [-Wunused-parameter]
                        int         mode )
                                    ^

#### make failed to build some targets (14:43 (mm:ss)) ####

file:///C:\Users\Zhengcl\Documents\Tencent Files\693505775\Image\Group\N)ZIQQT$E7JN.png

暴走的阿Sai 发表于 2017-3-1 16:21:25

那估计在android的一些支持包还没有装好,可以单独apt-get install试试 每个支持包试试
git-core gnupg flex bison gperf libsdl1.2-dev \
libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl \
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev \
lib32readline-gplv2-dev gcc-multilib libswitch-perl \
libssl1.0.0 libssl-dev

Evan_RK 发表于 2017-3-2 18:24:46

改成单线程编译,直接make 正常。
是我机器配置不行,还是什么原因?没搞懂
页: [1]
查看完整版本: RK3288编译android5.1报错:提示找不到文件:libwpa_client/wpa_ctrl.h