Search squid archive

RE: Compile Error on FreeBSD 8.0 with Squid 3.1.2 & 3.1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Henrik Nordström [mailto:henrik@xxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, June 08, 2010 1:01 PM
> To: Dean Weimer
> Cc: squid-users@xxxxxxxxxxxxxxx; Squid Developers
> Subject: RE:  Compile Error on FreeBSD 8.0 with Squid 3.1.2 &
> 3.1.3
> 
> tis 2010-06-08 klockan 11:13 -0500 skrev Dean Weimer:
> > As of 3.1.4 this compiles fine on FreeBSD 8.0, and 7.1.  However, the
> FreeBSD 7.2 system I have still has this problem with 3.1.4.
> 
> Odd.
> 
> What error do you get?
> 
> Regards
> Henrik

Compile options:
./configure \
--prefix=/usr/local/squid \
--enable-pthreads \
--enable-ssl \
--with-openssl=/usr/local \
--enable-async-io \
--enable-underscores \
--enable-storeio="ufs,aufs" \
--enable-delay-pools \
--disable-ipv6

End of output form make:
Making all in session
gcc -DHAVE_CONFIG_H  -I../../.. -I../../../include -I../../../src  -I../../../include  -I.   -I/usr/local/include -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -MT squid_session.o -MD -MP -MF .deps/squid_session.Tpo -c -o squid_session.o squid_session.c
cc1: warnings being treated as errors
squid_session.c: In function 'init_db':
squid_session.c:61: warning: implicit declaration of function 'dbopen'
squid_session.c:61: warning: assignment makes pointer from integer without a cast
squid_session.c: In function 'shutdown_db':
squid_session.c:70: error: too few arguments to function 'db->close'
squid_session.c: In function 'session_active':
squid_session.c:80: warning: passing argument 2 of 'db->get' from incompatible pointer type
squid_session.c:80: error: too few arguments to function 'db->get'
squid_session.c:84: warning: passing argument 2 of 'db->del' from incompatible pointer type
squid_session.c:84: error: too few arguments to function 'db->del'
squid_session.c: In function 'session_login':
squid_session.c:102: warning: passing argument 2 of 'db->put' from incompatible pointer type
squid_session.c:102: error: too few arguments to function 'db->put'
squid_session.c: In function 'session_logout':
squid_session.c:110: warning: passing argument 2 of 'db->del' from incompatible pointer type
squid_session.c:110: error: too few arguments to function 'db->del'
*** Error code 1

Stop in /usr/local/squid-3.1.4/helpers/external_acl/session.
*** Error code 1

Stop in /usr/local/squid-3.1.4/helpers/external_acl.
*** Error code 1

Stop in /usr/local/squid-3.1.4/helpers.
*** Error code 1

Stop in /usr/local/squid-3.1.4.

Thanks,
     Dean Weimer
     Network Administrator
     Orscheln Management Co



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux