Hi, At 11.08 11/07/2006, Dennis Neuman wrote:
Hi, I am trying to build and install Squid 3.0 on a FreeBSD machine. Regular compiling and installing works fine but when I enable-ssl it doesn't! Configure works fine: ./configure --prefix=/usr/local/squid3 --enable-ssl --enable-snmp --disable-ident-lookups --disable-linux-netfilter Make results in an error: I keep getting the following error: depbase=`echo client_side.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; if g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid3/etc/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include -I../lib/cppunit-1.10.0/include -I ../lib/cppunit-1.10.0/include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT client_side.o -MD -MP -MF "$depbase.Tpo" -c -o client_side.o client_side.cc; then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi client_side.cc: In function `void clientNegotiateSSL(int, void*)': client_side.cc:2938: error: invalid conversion from `int (*)(...)' to `int (*)()' client_side.cc:2938: error: initializing argument 1 of `int PEM_ASN1_write(int (*)(), const char*, FILE*, char*, const EVP_CIPHER*, unsigned char*, int, int (*)(char*, int, int, void*), void*)' *** Error code 1
Please reopen this bug http://www.squid-cache.org/bugs/show_bug.cgi?id=1409 and specify the value of OPENSSL_VERSION_NUMBER in the opensslv.h Regards Guido - ======================================================== Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: guido.serassio@xxxxxxxxxxxxxxxxx WWW: http://www.acmeconsulting.it/