Re: Compiling squid 3.0 STABLE24 on AIX

From: <yaberger_at_ca.ibm.com>
Date: Mon, 15 Mar 2010 08:58:02 -0400

hi

< Amos Jeffries
< Greetings,
< before we go further please try the 3.1.0.18 release just out.
<
< 3.0 is fast approaching end-of-life and 3.1 would be the better one to
get debugged now.

I'm all for trying 3.1 but it's marked as BETA and 3.0 as STABLE
Do you have a documented release/support planning somewhere that could
help us to figure when 3.1 will be marked as STABLE and when you're
planning to drop support for 3.0 and/or other release?

now with 3.1.0.18 compilation

gzip -cd squid-3.1.0.18.tar.gz |tar xf -
cd squid-3.1.0.18
./configure --prefix=/usr/local/squid
make

...
Making all in lib
        source='MemPool.cc' object='MemPool.o' libtool=no DEPDIR=.deps
depmode=aix /bin/sh ../cfgaux/depcomp xlC_r -DHAVE_CONFIG_H -I..
-I../include -I../src -I../include -g -c -o MemPool.o MemPool.cc
        source='base64.c' object='base64.o' libtool=no DEPDIR=.deps
depmode=aix /bin/sh ../cfgaux/depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H
 -I.. -I../include -I../src -I../include -g -c base64.c
        source='charset.c' object='charset.o' libtool=no DEPDIR=.deps
depmode=aix /bin/sh ../cfgaux/depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H
 -I.. -I../include -I../src -I../include -g -c charset.c
        source='getfullhostname.c' object='getfullhostname.o' libtool=no
DEPDIR=.deps depmode=aix /bin/sh ../cfgaux/depcomp cc -qlanglvl=extc89
-DHAVE_CONFIG_H -I.. -I../include -I../src -I../include -g -c
getfullhostname.c
"getfullhostname.c", line 65.8: 1506-234 (W) Expecting a new-line
character on #endif directive.
"../include/rfc2181.h", line 24.1: 1506-046 (S) Syntax error.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

on line 24 in include/rfc2181.h
I've modified the /// comment by a /* */ comment
Do you think this could be modified in the HEAD branch? Let me know if you
need me to provide the patch and in which format.

< The better fix seems to be removing the static than the inline.
< Does that still work

Making all in lib
        source='rfc1738.c' object='rfc1738.o' libtool=no DEPDIR=.deps
depmode=aix /bin/sh ../cfgaux/depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H
 -I.. -I../include -I../src -I../include -g -c rfc1738.c
"rfc1738.c", line 184.1: 1506-277 (S) Syntax error: possible missing ';'
or ','?
"rfc1738.c", line 182.8: 1506-485 (S) Parameter declaration list is
incompatible with declarator for inline.
"rfc1738.c", line 198.21: 1506-045 (S) Undeclared identifier s.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

now that I get the same error in 3.1, trying to remove the static instead
of the inline
same problem

Making all in lib
        source='rfc1738.c' object='rfc1738.o' libtool=no DEPDIR=.deps
depmode=aix /bin/sh ../cfgaux/depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H
 -I.. -I../include -I../src -I../include -g -c rfc1738.c
"rfc1738.c", line 184.1: 1506-277 (S) Syntax error: possible missing ';'
or ','?
"rfc1738.c", line 182.1: 1506-485 (S) Parameter declaration list is
incompatible with declarator for inline.
"rfc1738.c", line 198.21: 1506-045 (S) Undeclared identifier s.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

Adding back the static and removing the inline

Making all in lib
        source='rfc3596.c' object='rfc3596.o' libtool=no DEPDIR=.deps
depmode=aix /bin/sh ../cfgaux/depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H
 -I.. -I../include -I../src -I../include -g -c rfc3596.c
"rfc3596.c", line 190.12: 1506-046 (S) Syntax error.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

another // comment to be replaced by /* */
Do you think this could be modified in the HEAD branch? Let me know if you
need me to provide the patch and in which format.

Making all in src
        /bin/sh ../libtool --tag=CXX --mode=link xlC_r -g -g -o
cf_gen cf_gen.o ../compat/libcompat.la -L../lib -lmiscutil
xlC_r -g -g -o cf_gen cf_gen.o ../compat/.libs/libcompat.a
-L/usr/src/squid-3.1.0.18/lib -lmiscutil
ld: 0711-317 ERROR: Undefined symbol: squid_curtime
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

hummm this is the kind of error I'm not too sure what to do with
Any idea?

< Ah cf_gen. This may change with 3.1 builds. At least I hope so.

< I think that may have something to do with the 32/64 bit differences
involved with large-files.
Will see on a later step if this error still exist with 3.1 and how we
could solve it

< These should work for you. Disabled components just removes potential
problems you may hit in the default build :)
agree unless enabling basic auth could add more errors

< On the languages side, please use the Squid language package (
http://www.squid-cache.org/Versions/langpack/) bundles now if possible.
The texts and display are more complete than the 3.0 ones.

Will take a look at them. Thanks for letting us know.

Yannick Bergeron
yaberger_at_ca.ibm.com
IT Specialist
AIX / Samba / Load Balancer / DCE/DFS / SCM / Apache / Security / Perl
scripting / etc.
Received on Mon Mar 15 2010 - 12:58:12 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 15 2010 - 12:00:06 MDT