[squid-users] Squid 3.4.9 on OpenBSD 5.6 on Sparc64

Monah Baki monahbaki at gmail.com
Sun Nov 16 23:03:19 UTC 2014


Hi all,


./configure  '--prefix=/usr/local/squid' '--enable-pf-transparent'
'--enable-follow-x-forwarded-for' '--with-large-files' '--enable-ssl'
'--disable-ipv6' '--enable-esi' '--enable-kill-parent-hack' '--enable-snmp'
'--with-pthreads' '--with-filedescriptors=65535'




$ make
Making all in compat
/bin/sh ../libtool  --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I../include -I../lib  -I../src -I../include    -I../libltdl    -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe
-D_REENTRANT -g -O2 -MT assert.lo -MD -MP -MF .deps/assert.Tpo -c -o
assert.lo assert.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I../include -I../lib -I../src
-I../include -I../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Wshadow -Werror -pipe -D_REENTRANT -g -O2 -MT assert.lo -MD -MP -MF
.deps/assert.Tpo -c assert.cc  -fPIC -DPIC -o .libs/assert.o
In file included from ../compat/compat.h:98,
                 from ../include/squid.h:66,
                 from assert.cc:32:
../include/squid_endian.h:129:1: error: "le16toh" redefined
In file included from /usr/include/sys/types.h:45,
                 from ../compat/types.h:59,
                 from ../compat/compat.h:51,
                 from ../include/squid.h:66,
                 from assert.cc:32:
/usr/include/sys/endian.h:63:1: error: this is the location of the previous
definition
In file included from ../compat/compat.h:98,
                 from ../include/squid.h:66,
                 from assert.cc:32:
../include/squid_endian.h:130:1: error: "le32toh" redefined
In file included from /usr/include/sys/types.h:45,
                 from ../compat/types.h:59,
                 from ../compat/compat.h:51,
                 from ../include/squid.h:66,
                 from assert.cc:32:
/usr/include/sys/endian.h:64:1: error: this is the location of the previous
definition
*** Error 1 in compat (Makefile:898 'assert.lo')
*** Error 1 in /home/mbaki/squid-3.4.9 (Makefile:587 'all-recursive')



Any help will be appreciated.


Thanks
Monah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20141116/91abd492/attachment.html>


More information about the squid-users mailing list