- 积分
- 75
贡献350
飞刀109 FD
注册时间2021-3-12
在线时间23 小时
扫一扫,手机访问本帖
|
我的步骤
1、使用官方提供的开发环境。
2、源码解压缩,比对md5,正确。
root@ubuntu:~/workspace/linux# md5sum lichee.tar.gz
4ade40ce210b7b89452190e6d1e61796 lichee.tar.gz
3、根据手册4.4,解压缩
tar xvf rootfs-a40i.tar.gz
4、./build.sh config
5、./build.sh
编译之后报错:
checking for LIBFFI... no
configure: error: Package requirements (libffi >= 3.0.0) were not met:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [/root/workspace/linux/lichee/out/sun8iw11p1/linux/common/buildroot/build/libglib2-2.50.1/.stamp_configured] Error 1
make: Leaving directory `/root/workspace/linux/lichee/buildroot-201611'
ERROR: build buildroot Failed
查询libffi的版本可以查到,满足条件。
root@ubuntu:~/workspace/linux/lichee# pkg-config --modversion libffi
3.0.11-rc1
请问我是否操作的步骤有误,或者有什么解决方法吗?
|
|