[squid-users] RE: Help Cant Compile squid 3.1.10

From: Shawn <idealso00_at_gmail.com>
Date: Fri, 14 Jan 2011 20:47:24 -0500

./configure --prefix=/usr/local/squid3 --enable-kill-parent-hack
--with-large-files --with-openssl
--enable-auth=basic,ntlm,digest,negotiate
--enable-basic-auth-helpers=DB,getpwnam,MSNT,SMB,YP
--enable-ntlm-auth-helpers=fakeauth,mswin_sspi,no_check,smb_lm
--enable-digest-auth-helpers=eDirectory,ldap,password
--enable-negotiate-auth-helpers=mswin_sspi,squid_kerb_auth
--enable-follow-x-forwarded-for --enable-linux-tproxy
--enable-linux-netfilter --enable-pf-transparent
--enable-ipf-transparent --enable-ipfw-transparent
--enable-cache-digests --enable-ssl

In file included from libntlmssp.c:20:
ntlm.h:22:21: error: windows.h: No such file or directory
ntlm.h:23:18: error: sspi.h: No such file or directory
ntlm.h:24:22: error: security.h: No such file or directory
libntlmssp.c:24:16: error: lm.h: No such file or directory
libntlmssp.c:25:22: error: ntsecapi.h: No such file or directory
cc1: warnings being treated as errors
libntlmssp.c:29: error: no previous prototype for ‘Valid_Group’
libntlmssp.c: In function ‘Valid_Group’:
libntlmssp.c:31: error: ‘FALSE’ undeclared (first use in this function)
libntlmssp.c:31: error: (Each undeclared identifier is reported only once
libntlmssp.c:31: error: for each function it appears in.)
libntlmssp.c:32: error: ‘WCHAR’ undeclared (first use in this function)
libntlmssp.c:32: error: expected ‘;’ before ‘wszUserName’
libntlmssp.c:33: error: expected ‘;’ before ‘wszGroup’
libntlmssp.c:35: error: ‘LPLOCALGROUP_USERS_INFO_0’ undeclared (first use in this function)
libntlmssp.c:35: error: expected ‘;’ before ‘pBuf’
libntlmssp.c:36: error: expected ‘;’ before ‘pTmpBuf’
libntlmssp.c:37: error: ‘DWORD’ undeclared (first use in this function)
libntlmssp.c:37: error: expected ‘;’ before ‘dwLevel’
libntlmssp.c:38: error: expected ‘;’ before ‘dwFlags’
libntlmssp.c:39: error: expected ‘;’ before ‘dwPrefMaxLen’
libntlmssp.c:40: error: expected ‘;’ before ‘dwEntriesRead’
libntlmssp.c:41: error: expected ‘;’ before ‘dwTotalEntries’
libntlmssp.c:42: error: ‘NET_API_STATUS’ undeclared (first use in this function)
libntlmssp.c:42: error: expected ‘;’ before ‘nStatus’
libntlmssp.c:43: error: expected ‘;’ before ‘i’
libntlmssp.c:44: error: expected ‘;’ before ‘dwTotalCount’
libntlmssp.c:48: error: implicit declaration of function ‘MultiByteToWideChar’
libntlmssp.c:48: error: ‘CP_ACP’ undeclared (first use in this function)
libntlmssp.c:49: error: implicit declaration of function ‘strlen’
libntlmssp.c:49: error: incompatible implicit declaration of built-in function ‘strlen’
libntlmssp.c:49: error: ‘wszUserName’ undeclared (first use in this function)
libntlmssp.c:52: error: ‘wszGroup’ undeclared (first use in this function)
libntlmssp.c:62: error: ‘nStatus’ undeclared (first use in this function)
libntlmssp.c:62: error: implicit declaration of function ‘NetUserGetLocalGroups’
libntlmssp.c:64: error: ‘dwLevel’ undeclared (first use in this function)
libntlmssp.c:65: error: ‘dwFlags’ undeclared (first use in this function)
libntlmssp.c:66: error: ‘LPBYTE’ undeclared (first use in this function)
libntlmssp.c:66: error: expected expression before ‘)’ token
libntlmssp.c:70: error: ‘NERR_Success’ undeclared (first use in this function)
libntlmssp.c:71: error: ‘pTmpBuf’ undeclared (first use in this function)
libntlmssp.c:71: error: ‘pBuf’ undeclared (first use in this function)
libntlmssp.c:72: error: ‘i’ undeclared (first use in this function)
libntlmssp.c:72: error: ‘dwEntriesRead’ undeclared (first use in this function)
libntlmssp.c:77: error: implicit declaration of function ‘wcscmp’
libntlmssp.c:78: error: ‘TRUE’ undeclared (first use in this function)
libntlmssp.c:82: error: ‘dwTotalCount’ undeclared (first use in this function)
libntlmssp.c:91: error: implicit declaration of function ‘NetApiBufferFree’
libntlmssp.c: At top level:
libntlmssp.c:96: error: expected ‘)’ before ‘LsaStr’
libntlmssp.c:118: error: no previous prototype for ‘GetDomainName’
libntlmssp.c: In function ‘GetDomainName’:
libntlmssp.c:121: error: ‘LSA_HANDLE’ undeclared (first use in this function)
libntlmssp.c:121: error: expected ‘;’ before ‘PolicyHandle’
libntlmssp.c:122: error: ‘LSA_OBJECT_ATTRIBUTES’ undeclared (first use in this function)
libntlmssp.c:122: error: expected ‘;’ before ‘ObjectAttributes’
libntlmssp.c:123: error: ‘NTSTATUS’ undeclared (first use in this function)
libntlmssp.c:123: error: expected ‘;’ before ‘status’
libntlmssp.c:124: error: ‘PPOLICY_PRIMARY_DOMAIN_INFO’ undeclared (first use in this function)
libntlmssp.c:124: error: expected ‘;’ before ‘ppdiDomainInfo’
libntlmssp.c:125: error: ‘PWKSTA_INFO_100’ undeclared (first use in this function)
libntlmssp.c:125: error: expected ‘;’ before ‘pwkiWorkstationInfo’
libntlmssp.c:126: error: ‘DWORD’ undeclared (first use in this function)
libntlmssp.c:126: error: expected ‘;’ before ‘netret’
libntlmssp.c:132: error: implicit declaration of function ‘memset’
libntlmssp.c:132: error: incompatible implicit declaration of built-in function ‘memset’
libntlmssp.c:132: error: ‘ObjectAttributes’ undeclared (first use in this function)
libntlmssp.c:141: error: ‘netret’ undeclared (first use in this function)
libntlmssp.c:141: error: implicit declaration of function ‘NetWkstaGetInfo’
libntlmssp.c:141: error: ‘LPBYTE’ undeclared (first use in this function)
libntlmssp.c:141: error: expected expression before ‘)’ token
libntlmssp.c:142: error: ‘NERR_Success’ undeclared (first use in this function)
libntlmssp.c:150: error: ‘status’ undeclared (first use in this function)
libntlmssp.c:150: error: implicit declaration of function ‘LsaOpenPolicy’
libntlmssp.c:153: error: ‘GENERIC_READ’ undeclared (first use in this function)
libntlmssp.c:153: error: ‘POLICY_VIEW_LOCAL_INFORMATION’ undeclared (first use in this function)
libntlmssp.c:154: error: ‘PolicyHandle’ undeclared (first use in this function)
libntlmssp.c:161: error: implicit declaration of function ‘strrchr’
libntlmssp.c:161: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:161: error: assignment discards qualifiers from pointer target type
libntlmssp.c:168: error: implicit declaration of function ‘LsaQueryInformationPolicy’
libntlmssp.c:169: error: ‘PolicyPrimaryDomainInformation’ undeclared (first use in this function)
libntlmssp.c:170: error: ‘ppdiDomainInfo’ undeclared (first use in this function)
libntlmssp.c:172: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:172: error: assignment discards qualifiers from pointer target type
libntlmssp.c:176: error: implicit declaration of function ‘AllocStrFromLSAStr’
libntlmssp.c:176: error: assignment makes pointer from integer without a cast
libntlmssp.c:188: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:188: error: assignment discards qualifiers from pointer target type
libntlmssp.c:199: error: ‘pwkiWorkstationInfo’ undeclared (first use in this function)
libntlmssp.c:200: error: implicit declaration of function ‘LsaFreeMemory’
libntlmssp.c:200: error: ‘LPVOID’ undeclared (first use in this function)
libntlmssp.c:200: error: expected ‘)’ before ‘ppdiDomainInfo’
libntlmssp.c:202: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:202: error: assignment discards qualifiers from pointer target type
libntlmssp.c: In function ‘ntlm_check_auth’:
libntlmssp.c:220: error: ‘DNLEN’ undeclared (first use in this function)
libntlmssp.c:221: error: ‘UNLEN’ undeclared (first use in this function)
libntlmssp.c:226: error: ‘NTLM_LocalCall’ undeclared (first use in this function)
libntlmssp.c:231: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:231: error: assignment discards qualifiers from pointer target type
libntlmssp.c:235: error: ‘Use_Unicode’ undeclared (first use in this function)
libntlmssp.c:237: error: implicit declaration of function ‘WideCharToMultiByte’
libntlmssp.c:237: error: ‘CP_ACP’ undeclared (first use in this function)
libntlmssp.c:237: error: ‘LPCWSTR’ undeclared (first use in this function)
libntlmssp.c:237: error: expected ‘)’ before ‘tmp’
libntlmssp.c:239: error: ‘WCHAR’ undeclared (first use in this function)
libntlmssp.c:242: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:242: error: assignment discards qualifiers from pointer target type
libntlmssp.c:246: error: implicit declaration of function ‘memcpy’
libntlmssp.c:246: error: incompatible implicit declaration of built-in function ‘memcpy’
libntlmssp.c:251: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:251: error: assignment discards qualifiers from pointer target type
libntlmssp.c:257: error: expected ‘)’ before ‘tmp’
libntlmssp.c:262: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:262: error: assignment discards qualifiers from pointer target type
libntlmssp.c:266: error: incompatible implicit declaration of built-in function ‘memcpy’
libntlmssp.c:269: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:269: error: assignment discards qualifiers from pointer target type
libntlmssp.c:272: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:272: error: assignment discards qualifiers from pointer target type
libntlmssp.c:274: error: implicit declaration of function ‘SSP_ValidateNTLMCredentials’
libntlmssp.c:276: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:276: error: assignment discards qualifiers from pointer target type
libntlmssp.c:286: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:286: error: assignment discards qualifiers from pointer target type
libntlmssp.c:293: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:293: error: assignment discards qualifiers from pointer target type
libntlmssp.c:298: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:298: error: assignment discards qualifiers from pointer target type
libntlmssp.c:222: error: unused variable ‘credentials’
libntlmssp.c:221: error: unused variable ‘user’
libntlmssp.c:220: error: unused variable ‘domain’
libntlmssp.c: In function ‘ntlm_make_negotiate’:
libntlmssp.c:308: error: incompatible implicit declaration of built-in function ‘memset’
libntlmssp.c:309: error: incompatible implicit declaration of built-in function ‘memcpy’
libntlmssp.c:319: error: incompatible implicit declaration of built-in function ‘strrchr’
libntlmssp.c:319: error: assignment discards qualifiers from pointer target type
libntlmssp.c: In function ‘hex_dump’:
libntlmssp.c:357: error: implicit declaration of function ‘strncat’
libntlmssp.c:357: error: incompatible implicit declaration of built-in function ‘strncat’
libntlmssp.c:357: error: incompatible implicit declaration of built-in function ‘strlen’
libntlmssp.c:376: error: incompatible implicit declaration of built-in function ‘strlen’
make[3]: *** [libntlmssp.o] Error 1
make[3]: Leaving directory `/compile/squid-3.1.10/helpers/ntlm_auth/mswin_sspi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/compile/squid-3.1.10/helpers/ntlm_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/compile/squid-3.1.10/helpers'
make: *** [all-recursive] Error 1

Please Help
Received on Sat Jan 15 2011 - 01:45:54 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 15 2011 - 12:00:03 MST