On 1/03/2013 1:17 a.m., Markus Sonnenberg wrote:
On 2/28/2013 12:23 PM, Amos Jeffries wrote:
Wonderful. Thank you for that.
The fix then, is probably still as described here:
http://wiki.squid-cache.org/KnowledgeBase/Solaris#Compiling
If that works would you be able to make a patch for me to bundle with
Squid for just the com_err.h alteration?
Amos
Amos,
i changed com_err.h according to the article and gmake now ends with the following error.
<snip>
...
...
...
Making all in kerberos_ldap_group
gmake[3]: Entering directory `/Download/squid-3.3.1/helpers/external_acl/kerberos_ldap_group'
gmake[4]: Entering directory `/Download/squid-3.3.1/helpers/external_acl/kerberos_ldap_group'
/opt/csw/bin/g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../../include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../../libltdl -I../../.. -I../../../include -I../../../lib -I../../../src -I../../../include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../../libltdl -I. -I/usr/include -I/opt/csw/include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -pthreads -I/usr/include -I/opt/csw/include -I/usr/local/include -std=c++0x -MT kerberos_ldap_group.o -MD -MP -MF .deps/kerberos_ldap_group.Tpo -c -o kerberos_ldap_group.o kerberos_ldap_group.cc
In file included from support.h:46:0,
from kerberos_ldap_group.cc:39:
/usr/include/kerberosv5/krb5.h:10:0: error: ignoring #pragma ident [-Werror=unknown-pragmas]
cc1plus: all warnings being treated as errors
Ew. Looks like that #pragma is spreading.
Okay you are going to have to apply the industrial sledgehammer of a
workaround:
./configure --disable-strict-error-checking
This will remove -Werror completely from Squid build options, but that
will leave you unaware of any other hiding problems which might start to
bite in future builds. YHBW.
Amos