[squid-users] error compiling squid 3.0 stable 16

From: Gontzal <gontzalp_at_gmail.com>
Date: Wed, 1 Jul 2009 11:42:17 +0200

Hello everybody!

I've a problem compiling squid 3.0 stable 16 on a opensuse 10.3 box.
These are my configure options:

./configure --prefix=/usr --sysconfdir=/etc/squid --bindir=/usr/sbin
--sbindir=/usr/sbin --localstatedir=/var --libexecdir=/usr/sbin
--datadir=/usr/share/squid --libdir=/usr/lib --with-dl
--sharedstatedir=/var/squid --enable-storeio=aufs,diskd,null,ufs
--enable-disk-io=AIO,Blocking,DiskDaemon,DiskThreads
--enable-removal-policies=heap,lru --enable-icmp --enable-delay-pools
--enable-http-violations --enable-esi --enable-icap-client
--enable-useragent-log --enable-referer-log --enable-kill-parent-hack
--enable-snmp --enable-arp-acl --enable-htcp --enable-ssl
--enable-forw-via-db --enable-cache-digests --enable-poll
--enable-linux-netfilter --with-large-files --enable-underscores
--enable-auth=basic,digest,ntlm,negotiate
--enable-basic-auth-helpers=DB,LDAP,MSNT,NCSA,POP3,SASL,SMB,YP,getpwnam,multi-domain-NTLM,squid_radius_auth
--enable-ntlm-auth-helpers=SMB,no_check,fakeauth
--enable-negotiate-auth-helpers=squid_kerb_auth
--enable-digest-auth-helpers=eDirectory,ldap,password
--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group
--enable-ntlm-fail-open --enable-stacktraces
--enable-x-accelerator-vary --with-default-user=squid

No problem when configuring. And this is the error when doing make:

Making all in squid_kerb_auth
make[3]: Entering directory
`/tmp/squid-3.0.STABLE16/helpers/negotiate_auth/squid_kerb_auth'
gcc -DHAVE_CONFIG_H -I. -I../../../include -I./spnegohelp -I. -m32
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -MT
squid_kerb_auth.o -MD -MP -MF .deps/squid_kerb_auth.Tpo -c -o
squid_kerb_auth.o squid_kerb_auth.c
squid_kerb_auth.c:76:18: error: krb5.h: No such file or directory
squid_kerb_auth.c:77: error: expected â)â before âmajor_statusâ
squid_kerb_auth.c:133: error: expected â)â before âmajor_statusâ
squid_kerb_auth.c: In function âmainâ:
squid_kerb_auth.c:197: error: âOM_uint32â undeclared (first use in
this function)
squid_kerb_auth.c:197: error: (Each undeclared identifier is reported only once
squid_kerb_auth.c:197: error: for each function it appears in.)
squid_kerb_auth.c:197: error: expected â;â before âret_flagsâ
squid_kerb_auth.c:201: error: expected â;â before âmajor_statusâ
squid_kerb_auth.c:202: error: âgss_ctx_id_tâ undeclared (first use in
this function)
squid_kerb_auth.c:202: error: expected â;â before âgss_contextâ
squid_kerb_auth.c:203: error: âgss_name_tâ undeclared (first use in
this function)
squid_kerb_auth.c:203: error: expected â;â before âclient_nameâ
squid_kerb_auth.c:204: error: expected â;â before âserver_nameâ
squid_kerb_auth.c:205: error: âgss_cred_id_tâ undeclared (first use in
this function)
squid_kerb_auth.c:205: error: expected â;â before âserver_credsâ
squid_kerb_auth.c:206: error: expected â;â before âdelegated_credâ
squid_kerb_auth.c:207: error: âgss_buffer_descâ undeclared (first use
in this function)
squid_kerb_auth.c:207: error: expected â;â before âserviceâ
squid_kerb_auth.c:208: error: expected â;â before âinput_tokenâ
squid_kerb_auth.c:209: error: expected â;â before âoutput_tokenâ
squid_kerb_auth.c:245: error: âserviceâ undeclared (first use in this function)
squid_kerb_auth.c:286: warning: the address of âbufâ will always
evaluate as âtrueâ
squid_kerb_auth.c:303: warning: implicit declaration of function
âgss_release_bufferâ
squid_kerb_auth.c:303: error: âminor_statusâ undeclared (first use in
this function)
squid_kerb_auth.c:303: error: âinput_tokenâ undeclared (first use in
this function)
squid_kerb_auth.c:304: error: âoutput_tokenâ undeclared (first use in
this function)
squid_kerb_auth.c:306: warning: implicit declaration of function
âgss_release_credâ
squid_kerb_auth.c:306: error: âserver_credsâ undeclared (first use in
this function)
squid_kerb_auth.c:307: error: âdelegated_credâ undeclared (first use
in this function)
squid_kerb_auth.c:308: warning: implicit declaration of function
âgss_release_nameâ
squid_kerb_auth.c:308: error: âserver_nameâ undeclared (first use in
this function)
squid_kerb_auth.c:309: error: âclient_nameâ undeclared (first use in
this function)
squid_kerb_auth.c:310: warning: implicit declaration of function
âgss_delete_sec_contextâ
squid_kerb_auth.c:310: error: âgss_contextâ undeclared (first use in
this function)
squid_kerb_auth.c:313: error: âspnego_flagâ undeclared (first use in
this function)
squid_kerb_auth.c:341: error: âGSS_C_NO_CONTEXTâ undeclared (first use
in this function)
squid_kerb_auth.c:400: error: âmajor_statusâ undeclared (first use in
this function)
squid_kerb_auth.c:400: warning: implicit declaration of function
âgss_import_nameâ
squid_kerb_auth.c:401: error: âgss_OIDâ undeclared (first use in this function)
squid_kerb_auth.c:401: error: expected â)â before âGSS_C_NULL_OIDâ
squid_kerb_auth.c:404: error: âGSS_C_NO_NAMEâ undeclared (first use in
this function)
squid_kerb_auth.c:405: error: âGSS_S_COMPLETEâ undeclared (first use
in this function)
squid_kerb_auth.c:409: error: âGSS_C_NT_HOSTBASED_SERVICEâ undeclared
(first use in this function)
squid_kerb_auth.c:412: warning: implicit declaration of function âcheck_gss_errâ
squid_kerb_auth.c:415: warning: implicit declaration of function
âgss_acquire_credâ
squid_kerb_auth.c:415: error: âGSS_C_INDEFINITEâ undeclared (first use
in this function)
squid_kerb_auth.c:416: error: âGSS_C_NO_OID_SETâ undeclared (first use
in this function)
squid_kerb_auth.c:416: error: âGSS_C_ACCEPTâ undeclared (first use in
this function)
squid_kerb_auth.c:421: warning: implicit declaration of function
âgss_accept_sec_contextâ
squid_kerb_auth.c:425: error: âGSS_C_NO_CHANNEL_BINDINGSâ undeclared
(first use in this function)
squid_kerb_auth.c:429: error: âret_flagsâ undeclared (first use in
this function)
squid_kerb_auth.c:466: error: âGSS_S_CONTINUE_NEEDEDâ undeclared
(first use in this function)
squid_kerb_auth.c:473: warning: implicit declaration of function
âgss_display_nameâ
make[3]: *** [squid_kerb_auth.o] Error 1
make[3]: Leaving directory
`/tmp/squid-3.0.STABLE16/helpers/negotiate_auth/squid_kerb_auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/squid-3.0.STABLE16/helpers/negotiate_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/squid-3.0.STABLE16/helpers'
make: *** [all-recursive] Error 1

Can you please say me where can be the error. Thanks a lot.
Received on Wed Jul 01 2009 - 09:42:27 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 12:00:04 MDT