- 积分
- 69
贡献447
飞刀155 FD
注册时间2021-1-14
在线时间13 小时
关注我
|
本帖最后由 wolongtest 于 2021-8-19 15:08 编辑
进入buildroot-2016.11手动编译 make 全部包提示 libgpgme-1.7.1 包无法编译通过,经常提示编译错误如下:使用 ./build.sh 脚本编译错误一样,编译环境时 Ubuntu 20.04 + Docker, Docker环境如下:
test@d3c7b247491d:/build/allwinner_t3_0818/buildroot-201611$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.6 LTS
Release: 14.04
Codename: trusty
libgpgme编译错误.zip
(6.47 KB, 下载次数: 0)
- context.cpp:1094:87: error: invalid use of incomplete type 'class GpgME::Context'
- SigningResult Context::sign(const Data &plainText, Data &signature, SignatureMode mode)
- ^
- In file included from context.cpp:28:0:
- ./eventloopinteractor.h:32:7: note: forward declaration of 'class GpgME::Context'
- class Context;
- ^
- context.cpp:1103:87: error: invalid use of incomplete type 'class GpgME::Context'
- Error Context::startSigning(const Data &plainText, Data &signature, SignatureMode mode)
- ^
- In file included from context.cpp:28:0:
- ./eventloopinteractor.h:32:7: note: forward declaration of 'class GpgME::Context'
- class Context;
- ^
- context.cpp:1111:40: error: invalid use of incomplete type 'class GpgME::Context'
- SigningResult Context::signingResult() const
- ^
- In file included from context.cpp:28:0:
- ./eventloopinteractor.h:32:7: note: forward declaration of 'class GpgME::Context'
- class Context;
- ^
- context.cpp:1120:56: error: incomplete type 'GpgME::Context' used in nested name specifier
- static gpgme_encrypt_flags_t encryptflags2encryptflags(Context::EncryptionFlags flags)
- ^
- context.cpp:1121:1: error: expected ',' or ';' before '{' token
- {
- ^
- context.cpp:1645:1: error: expected '}' at end of input
- }
- ^
- make[6] *** [context.lo] Error 1
- make[5] *** [all-recursive] Error 1
- make[4] *** [all-recursive] Error 1
- make[3] *** [all-recursive] Error 1
- make[2] *** [all] Error 2
- make[1] *** [/build/allwinner_t3_0818/out/sun8iw11p1/linux/common/buildroot/build/libgpgme-1.7.1/.stamp_built] Error 2
- make: *** [_all] Error 2
- make: Leaving directory `/build/allwinner_t3_0818/out/sun8iw11p1/linux/common/buildroot'
- real 15m4.007s
- user 40m5.897s
复制代码
|
|