1748255 Members
4106 Online
108760 Solutions
New Discussion юеВ

Squid Compilation Errors

 
David Burgess
Esteemed Contributor

Squid Compilation Errors

I'm trying to compile squid on 11.11 on a D370.

I've run ./configure without any problems.

"make all" and "gmake all" fail. Any ideas?

Regards,

Dave.

Here's the output :-

using make :-

/huge/proxy-server/20040804/squid-2.5.STABLE6/lib > make all
source='Array.c' object='Array.o' libtool=no \
depfile='.deps/Array.Po' tmpdepfile='.deps/Array.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c `test -f A
rray.c || echo './'`Array.c
In file included from /usr/include/netdb.h:72,
from ../include/util.h:51,
from Array.c:52:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
*** Error exit code 1

Stop.

using gmake :-

/huge/proxy-server/20040804/squid-2.5.STABLE6/lib > gmake all
source='Array.c' object='Array.o' libtool=no \
depfile='.deps/Array.Po' tmpdepfile='.deps/Array.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -Wa
ll -c `test -f Array.c || echo './'`Array.c
In file included from /usr/include/netdb.h:72,
from ../include/util.h:51,
from Array.c:52:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
gmake: *** [Array.o] Error 1
4 REPLIES 4
David Burgess
Esteemed Contributor

Re: Squid Compilation Errors

Does anyone know if a Squid binary is available that has authentication switched on?

Regards,

Dave.
Steve Steel
Honored Contributor

Re: Squid Compilation Errors

Hi


You probably have not got the latest gcc

www.hp.com/dspp

GCC versions: 3.3.3 and 3.4.1

Get it there

Then try again


Steve steel


If you want truly to understand something, try to change it. (Kurt Lewin)
Muthukumar_5
Honored Contributor

Re: Squid Compilation Errors

Hai,

There is a Iexpress product with squid-2.5.5
for 11.11 over
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

Squid options will be containing authentication modules with that.

__muthu__
Easy to suggest when don't know about the problem!
rick jones
Honored Contributor

Re: Squid Compilation Errors

I think you are running afoul of gcc's need/desire to much about with system header files and its not getting it right.

The suggestions to try the newer gcc's and/or the precompiled stuff from the Internet Express software (software.hp.com) are good - you could also consider the HP compiler(s) :)
there is no rest for the wicked yet the virtuous have no pillows