On Tue, 4 May 2010 17:53:31 +0200, Kinkie <gkinkie@xxxxxxxxx> wrote: > It's already fixed in trunk. > Amos, please import changes in revnos 10428 & 10431. Only impacts > system running bdb-4 but not 1.85 10428 is already in and not related to dbh. Did you mean 10432 which reverts a portion of 10431? Amos > > Kinkie > > On Tue, May 4, 2010 at 5:44 PM, Dean Weimer <dweimer@xxxxxxxxxxxx> wrote: >> I have run into the following compile error on both squid 3.1.2 and >> squid 3.1.3 on FreeBSD 8.0 using these options for >> ./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 >> Squid 3.1.1 Compiles fine on this system, has anyone else ran into this >> issue or have any ideas as to the cause. >> >> 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:62: warning: implicit declaration of function 'dbopen' >> squid_session.c:62: warning: assignment makes pointer from integer >> without a cast >> squid_session.c: In function 'shutdown_db': >> squid_session.c:71: error: too few arguments to function 'db->close' >> squid_session.c: In function 'session_active': >> squid_session.c:81: warning: passing argument 2 of 'db->get' from >> incompatible pointer type >> squid_session.c:81: error: too few arguments to function 'db->get' >> squid_session.c:85: warning: passing argument 2 of 'db->del' from >> incompatible pointer type >> squid_session.c:85: error: too few arguments to function 'db->del' >> squid_session.c: In function 'session_login': >> squid_session.c:103: warning: passing argument 2 of 'db->put' from >> incompatible pointer type >> squid_session.c:103: error: too few arguments to function 'db->put' >> squid_session.c: In function 'session_logout': >> squid_session.c:111: warning: passing argument 2 of 'db->del' from >> incompatible pointer type >> squid_session.c:111: error: too few arguments to function 'db->del' >> *** Error code 1 >> >> Stop in /usr/local/squid-3.1.3/helpers/external_acl/session. >> *** Error code 1 >> >> Stop in /usr/local/squid-3.1.3/helpers/external_acl. >> *** Error code 1 >> >> Stop in /usr/local/squid-3.1.3/helpers. >> *** Error code 1 >> >> Stop in /usr/local/squid-3.1.3. >> >> Thanks, >> Dean Weimer >> Network Administrator >> Orscheln Management Co >> >>