squid-3.2.0.2 Beta Compiler Error

From: Goetz R schultz <nospam_at_suelze.de>
Date: Thu, 09 Sep 2010 22:08:32 +0100

Hi list,

I am not reading this by default, hence appologies if this has been
flagged before (I could not find it though):

Whilst compiling on FreeBSD 8.1 / AMD K6-450, I get the following error:

[All clear up to here]

gmake[4]: Entering directory
`/usr/local/src/squid-3.2.0.2/helpers/negotiate_auth/kerberos'
g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src
-I../../../include -I/usr/include -I/usr/include -I../../..
-I../../../include -I../../../src -I../../../include -I/usr/include
-I/usr/include -I. -I/usr/local/ssl/include -I/usr/include
-I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror
-pipe -D_REENTRANT -g -O2 -MT negotiate_kerberos_auth.o -MD -MP -MF
.deps/negotiate_kerberos_auth.Tpo -c -o negotiate_kerberos_auth.o
negotiate_kerberos_auth.cc
In file included from negotiate_kerberos_auth.cc:63:
/usr/include/gssapi/gssapi.h:316: error: previous declaration of
'gss_OID_desc_struct* GSS_KRB5_NT_PRINCIPAL_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:49: error: conflicts with new
declaration with 'C' linkage
/usr/include/gssapi/gssapi.h:324: error: previous declaration of
'gss_OID_desc_struct* GSS_KRB5_NT_USER_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:50: error: conflicts with new
declaration with 'C' linkage
/usr/include/gssapi/gssapi.h:332: error: previous declaration of
'gss_OID_desc_struct* GSS_KRB5_NT_MACHINE_UID_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:51: error: conflicts with new
declaration with 'C' linkage
/usr/include/gssapi/gssapi.h:340: error: previous declaration of
'gss_OID_desc_struct* GSS_KRB5_NT_STRING_UID_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:52: error: conflicts with new
declaration with 'C' linkage
gmake[4]: *** [negotiate_kerberos_auth.o] Error 1
gmake[4]: Leaving directory
`/usr/local/src/squid-3.2.0.2/helpers/negotiate_auth/kerberos'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/local/src/squid-3.2.0.2/helpers/negotiate_auth/kerberos'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/local/src/squid-3.2.0.2/helpers/negotiate_auth'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/squid-3.2.0.2/helpers'
gmake: *** [all-recursive] Error 1

The configure options:

./configure --enable-truncate --enable-ssl --enable-arp-acl
--enable-referer-log --enable-useragent-log --disable-loadable-modules

-- 
Thanks and regards
  Goetz R. Schultz
"I intend to live forever - so far, so good."
===============================================
Verify the GnuPG-Sig at www.goetz.co.uk
Get the rootcertificate at www.cacert.org
===============================================
 /"\
 \ /    ASCII Ribbon Campaign
  X      against HTML e-mail
 / \
"Si forte in alienas manus oberraverit hec peregrina epistola
incertis ventis dimissa, sed Deo commendata, precamur ut ei
reddatur cui soli destinata, nec preripiat quisquam non sibi parata."

Received on Thu Sep 09 2010 - 21:10:33 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 10 2010 - 12:00:10 MDT