buildroot编译错误
本帖最后由 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
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 *** Error 1
make *** Error 1
make *** Error 1
make *** Error 1
make *** Error 2
make *** Error 2
make: *** Error 2
make: Leaving directory `/build/allwinner_t3_0818/out/sun8iw11p1/linux/common/buildroot'
real 15m4.007s
user 40m5.897s
您这个是标点有问题吧,是不是丢标点了
context.cpp:1121:1: error: expected ',' or ';' before '{' token
{
^
context.cpp:1645:1: error: expected '}' at end of input
}
页:
[1]