2012-09-18 179 views
0

squid-3.HEAD的編譯錯誤我想在Fedora 13上構建squid-3.HEAD,但是編譯錯誤後我得到了 。魷魚:由於ssl

/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(克++)版本4.4.5 = OpenSSL的版本= 1.0.0d-1.fc13.i686

不限建議?

回答

1

在航行/ Debian上遇到同樣的問題。我讀過的某個地方應該嘗試更舊的版本。