| 
 
贡献350 
飞刀109 FD
注册时间2021-3-12
在线时间23 小时积分75 
 
  
 扫一扫,手机访问本帖  | 
 
| 根据用户手册的附录四全源码编译:   报错:
 
 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.
 package/pkg-generic.mk:206: recipe for target '/home/merak/build/OKA40i/linux/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/libglib2-2.50.1/.stamp_configured' failed
 make[1]: *** [/home/merak/build/OKA40i/linux/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/build/libglib2-2.50.1/.stamp_configured] Error 1
 Makefile:76: recipe for target '_all' failed
 make: *** [_all] Error 2
 make: Leaving directory '/home/merak/build/OKA40i/linux/bsp/lichee/buildroot-201611'
 ERROR: build buildroot Failed
 
 
 
 
 请问如何解决?
 
 | 
 |