Linux 内核 4.4 移植 hi3881 一直编译报错
In file included from /work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/oal_schedule.h:27:0,
from /work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/oal_net.h:32,
from /work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/plat_firmware.h:19,
from /work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/plat_pm.c:16:
/work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/oal_wakelock.h:27:29: error: field 'st_wakelock' has incomplete type
Traceback (most recent call last):
File "./scripts/gcc-wrapper.py", line 114, in <module>
status = run_gcc()
File "./scripts/gcc-wrapper.py", line 97, in run_gcc
print (line.decode("utf-8"), end="")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcb in position 56: invalid continuation byte
scripts/Makefile.build:277: recipe for target '/work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/plat_pm.o' failed
make[3]: *** [/work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver/oal/plat_pm.o] Error 1
Makefile:1479: recipe for target '_module_/work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver' failed
make[2]: *** [_module_/work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver] Error 2
make[2]: 离开目录“/work/apnring/rockchip/rk3399_linux/kernel”
Makefile:152: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: 离开目录“/work/apnring/rockchip/rk3399_linux/hi3881v100/Hi3881V100R001C00SPC020/driver”
Makefile:39: recipe for target 'linux_driver' failed
make: *** [linux_driver] Error 2
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/083479392976137.PNG "#left")