RE: compile problem with IPv6 branch ??

From: Gavin Davenport <gavdav@dont-contact.us>
Date: Wed, 19 Mar 2003 10:37:10 -0000

Hi there Henrik, thanks for the tips.
> automake-1.5
> autoconf-2.13
I went and found and installed those versions of the tool, and have had more
success. The bootstrap.sh runs to completion with the following warnings:
bash-2.03# ./bootstrap.sh
configure.in:1263: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1703: warning: AC_TRY_RUN called without default to allow cross
compiling
automake: configure.in: installing `cfgaux/install-sh'
automake: configure.in: installing `cfgaux/mkinstalldirs'
automake: configure.in: installing `cfgaux/missing'
automake: configure.in: installing `cfgaux/config.guess'
automake: configure.in: installing `cfgaux/config.sub'
automake: configure.in: installing `cfgaux/depcomp'
automake: configure.in: installing `cfgaux/compile'
configure.in:1263: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1359: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1360: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1361: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1362: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1363: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1364: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1365: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1366: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1367: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1368: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1369: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1370: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1371: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1372: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1373: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1703: warning: AC_TRY_RUN called without default to allow cross
compiling
Autotool bootstrapping complete.

I then run:
 ./configure --enable-ipv6 --prefix=/usr/local/squid

which seems to complete ok (no warnings or errors)

I then run make, and I get warnings in
safe_inet_addr.c, acl.c client_db.c, fqdncache.c, ipcache.c, tools.c, and
then it finally bombs out in:

gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\
" -I. -I. -I../include -I. -I. -I../include -I../include -g -O2 -Wall -c
`test -f wccp.c || echo './'`wccp.c
wccp.c: In function `wccpLowestIP':
wccp.c:253: structure has no member named `s6_addr32'
*** Error code 1
make: Fatal error: Command failed for target `wccp.o'
Current working directory /usr/local/squid-ipv6/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/squid-ipv6/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/squid-ipv6/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

This is a 32 bit CPU - is that going to complicate things ?? Are there any
specific libraries I have to have installed ?

Has anyone else managed to extract and build the ipv6 code recently ??

Sorry about then length of the mail.

Gavin Davenport
Received on Wed Mar 19 2003 - 03:38:02 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:33 MST