[squid-users] Squid 3.0 Compile error on FreeBSD 5.3

From: Dennis Neuman <d.neuman@dont-contact.us>
Date: Tue, 11 Jul 2006 11:08:12 +0200

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

Stop in /tmp/squid-3.0.PRE4-20060710/src.
*** Error code 1

Stop in /tmp/squid-3.0.PRE4-20060710/src.
*** Error code 1

Stop in /tmp/squid-3.0.PRE4-20060710/src.
*** Error code 1

Stop in /tmp/squid-3.0.PRE4-20060710.
monitor#

I hope someone can help me out here!

Regards,
Dennis
Received on Tue Jul 11 2006 - 03:08:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT