I'm trying to do succesfull deb package in Debian Squeeze with ssl support. When I add line --enable-ssl \ in ./squid3-3.1.6/debian/rules I have such error without this line (...) ./squid3-3.1.6# debuild -us -uc -b works fine. What is wrong?
make[3]: Entering directory `/root/kompilacje/1/squid3-3.1.6/src' Making all in base make[4]: Entering directory `/root/kompilacje/1/squid3-3.1.6/src/base' /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m64 -g -O2 -g -Wall -O2 -c -o AsyncCall.lo AsyncCall.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m64 -g -O2 -g -Wall -O2 -c AsyncCall.cc -fPIC -DPIC -o .libs/AsyncCall.o In file included from ../../src/squid.h:272, from AsyncCall.cc:5: ../../src/ssl_support.h:58: error: expected constructor, destructor, or type conversion before ‘*’ token In file included from ../../src/squid.h:272, from AsyncCall.cc:5: ../../src/ssl_support.h:61: error: expected constructor, destructor, or type conversion before ‘*’ token ../../src/ssl_support.h:74: error: ‘SSL’ was not declared in this scope ../../src/ssl_support.h:74: error: ‘ssl’ was not declared in this scope ../../src/ssl_support.h:77: error: typedef ‘SSLGETATTRIBUTE’ is initialized (use decltype instead) ../../src/ssl_support.h:77: error: ‘SSL’ was not declared in this scope ../../src/ssl_support.h:77: error: expected primary-expression before ‘,’ token ../../src/ssl_support.h:77: error: expected primary-expression before ‘const’ ../../src/ssl_support.h:80: error: ‘SSLGETATTRIBUTE’ does not name a type ../../src/ssl_support.h:83: error: ‘SSLGETATTRIBUTE’ does not name a type ../../src/ssl_support.h:86: error: ‘SSL’ was not declared in this scope ../../src/ssl_support.h:86: error: ‘ssl’ was not declared in this scope ../../src/ssl_support.h:89: error: ‘SSL’ was not declared in this scope ../../src/ssl_support.h:89: error: ‘ssl’ was not declared in this scope In file included from ../../src/squid.h:318, from AsyncCall.cc:5: ../../src/structs.h:615: error: ISO C++ forbids declaration of ‘SSL_CTX’ with no type ../../src/structs.h:615: error: expected ‘;’ before ‘*’ token ../../src/structs.h:960: error: ISO C++ forbids declaration of ‘SSL_CTX’ with no type ../../src/structs.h:960: error: expected ‘;’ before ‘*’ token ../../src/structs.h:961: error: ISO C++ forbids declaration of ‘SSL_SESSION’ with no type ../../src/structs.h:961: error: expected ‘;’ before ‘*’ token make[4]: *** [AsyncCall.lo] Error 1 make[4]: Leaving directory `/root/kompilacje/1/squid3-3.1.6/src/base' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/kompilacje/1/squid3-3.1.6/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/kompilacje/1/squid3-3.1.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/kompilacje/1/squid3-3.1.6' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1325: dpkg-buildpackage -rfakeroot -D -us -uc -b failed