On Tue, 2011-12-20 at 20:18 +0200, yusuf özbilgin wrote:
> Hi,
>
> I am getting error when compile helpers/external_acl/session on freebsd 7.4.
> Error details are below.
>
> What can be the problem?
>
> Thanks,
> Yusuf
>
>
> squid version is squid-3.2.0.14-20111219-r11470
> berkeley db version is 4.8
>
>
> $make
>
> /usr/local/bin/bash ../../../libtool --tag=CXX --mode=link c++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -pipe -I/usr/local/include -g -I/usr/local/include -rpath=/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -o ext_session_acl ext_session_acl.o -L../../../compat
> libtool: link: c++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -pipe -I/usr/local/include -g -I/usr/local/include -rpath=/usr/local/lib -Wl,-R/usr/local/lib -o ext_session_acl ext_session_acl.o -L/usr/local/lib -L/home/user1/squid/squid-3.2.0.14-20111219-r11470/compat
> ext_session_acl.o(.text+0x3ff): In function `init_db':
> /home/user1/squid/squid-3.2.0.14-20111219-r11470/helpers/external_acl/session/ext_session_acl.cc:68: undefined reference to `db_env_create'
> ext_session_acl.o(.text+0x4a6):/home/user1/squid/squid-3.2.0.14-20111219-r11470/helpers/external_acl/session/ext_session_acl.cc:74: undefined reference to `db_create'
> ext_session_acl.o(.text+0x57c):/home/user1/squid/squid-3.2.0.14-20111219-r11470/helpers/external_acl/session/ext_session_acl.cc:87: undefined reference to `db_create'
> *** Error code 1
> Stop in /home/user1/squid/squid-3.2.0.14-20111219-r11470/helpers/external_acl/session.
Looks like it hasn't found your db.inc. Try a "grep HAVE_DB_H
config.log" in the source tree. You should see something like "HAVE_DB_H
1". If not, then it's not found db.h, hence the compilation errors
above.
Andy
Received on Tue Dec 20 2011 - 19:59:24 MST
This archive was generated by hypermail 2.2.0 : Wed Dec 21 2011 - 12:00:03 MST