gpt4 book ai didi

c++ - Squid:由于 ssl,squid-3.HEAD 出现编译错误

转载 作者:行者123 更新时间:2023-11-28 07:57:03 36 4
gpt4 key购买 nike

我正在尝试在 Fedora 13 上构建 squid-3.HEAD 但我得到了以下编译错误。

/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -  I../..../../include -I../../lib -I../../src -I../../include
-I../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Werror -pipe -D_REENTRANT -g -O2 -std=c++0x -MT Acl.lo -MD -MP -MF
.deps/Acl.Tpo -c -o Acl.lo Acl.cc

libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -I../../libltdl -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
-g -O2 -std=c++0x -MT Acl.lo -MD -MP -MF .deps/Acl.Tpo -c Acl.cc
-fPIC -DPIC -o .libs/Acl.o

In file included from ../../src/ProtoPort.h:12:0,
from Acl.cc:40:

/src/ssl/gadgets.h:57:1: error: variable or field 'TXT_DB_free_cpp'
declared void
../../src/ssl/gadgets.h:57:1: error: 'TXT_DB' was not declared in this scope
../../src/ssl/gadgets.h:57:1: error: 'a' was not declared in this scope
../../src/ssl/gadgets.h:58:21: error: 'TXT_DB' was not declared in this scope
../../src/ssl/gadgets.h:58:29: error: 'TXT_DB_free_cpp' was not
declared in this scope
../../src/ssl/gadgets.h:58:44: error: template argument 1 is invalid
../../src/ssl/gadgets.h:58:44: error: template argument 2 is invalid
../../src/ssl/gadgets.h:58:60: error: invalid type in declaration
before ';' token

openssl 和 openssl-devel 已经安装并且是最新版本

Gcc(g++) 版本 = 4.4.5OpenSSL 版本 = 1.0.0d-1.fc13.i686

有什么建议吗?

最佳答案

在 voyage/Debian 上遇到同样的问题。我在某处读到你应该尝试旧版本。

关于c++ - Squid:由于 ssl,squid-3.HEAD 出现编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12477689/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com