<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hello Alex ,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you for your reply,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I'm not sure if I need to use a lower version compiler on Centos8?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I got some  crypto or SSL errors :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -pipe -D_REENTRANT -m64 -DMAXTCPLISTENPORTS=999999 -c PortCfg.cc  -fPIC -DPIC -o .libs/PortCfg.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">In file included from ../../include/util.h:37,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                 from ../../include/MemPool.h:31,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                 from ../../src/comm/Connection.h:18,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                 from ../../src/anyp/PortCfg.h:15,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                 from PortCfg.cc:10:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../include/squidNew.h:21:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">_squid_EXTERNNEW_ void *operator new(size_t size) throw (std::bad_alloc)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                     ^~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../include/squidNew.h:29:56: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">_squid_EXTERNNEW_ void *operator new[] (size_t size) throw (std::bad_alloc)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                        ^~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">In file included from ../../src/anyp/PortCfg.h:18,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                 from PortCfg.cc:10:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:83:45: error: ‘CRYPTO_LOCK_X509’ was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509> X509_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                             ^~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:83:45: note: suggested alternative: ‘CRYPTO_LOCK’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509> X509_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                             ^~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                             CRYPTO_LOCK<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:83:61: error: template argument 3 is invalid<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<X509, X509_free_cpp, CRYPTO_LOCK_X509> X509_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                             ^<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:89:53: error: ‘CRYPTO_LOCK_EVP_PKEY’ was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<EVP_PKEY, EVP_PKEY_free_cpp, CRYPTO_LOCK_EVP_PKEY> EVP_PKEY_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                     ^~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:89:53: note: suggested alternative: ‘CRYPTO_LOCK’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<EVP_PKEY, EVP_PKEY_free_cpp, CRYPTO_LOCK_EVP_PKEY> EVP_PKEY_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                     ^~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                     CRYPTO_LOCK<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:89:73: error: template argument 3 is invalid<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<EVP_PKEY, EVP_PKEY_free_cpp, CRYPTO_LOCK_EVP_PKEY> EVP_PKEY_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                                         ^<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:116:43: error: ‘CRYPTO_LOCK_SSL’ was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<SSL, SSL_free_cpp, CRYPTO_LOCK_SSL> SSL_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                           ^~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:116:43: note: suggested alternative: ‘CRYPTO_LOCK’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<SSL, SSL_free_cpp, CRYPTO_LOCK_SSL> SSL_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                           ^~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                           CRYPTO_LOCK<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">../../src/ssl/gadgets.h:116:58: error: template argument 3 is invalid<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">typedef LockingPointer<SSL, SSL_free_cpp, CRYPTO_LOCK_SSL> SSL_Pointer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">                                                          ^<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[3]: *** [Makefile:803: PortCfg.lo] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[3]: Leaving directory '/root/squid-3.5.25/src/anyp'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[2]: *** [Makefile:7498: all-recursive] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[2]: Leaving directory '/root/squid-3.5.25/src'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[1]: *** [Makefile:6353: all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make[1]: Leaving directory '/root/squid-3.5.25/src'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">make: *** [Makefile:580: all-recursive] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Here is GCC info :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Using built-in specs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">COLLECT_GCC=gcc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OFFLOAD_TARGET_NAMES=nvptx-none<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OFFLOAD_TARGET_DEFAULT=1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Target: x86_64-redhat-linux<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
 --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin
 --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thread model: posix<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Also found have openssl and openssl3 installed both on machine :<br>
<br>
<br>
openssl version -a<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OpenSSL 1.1.1k  FIPS 25 Mar 2021<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">built on: Fri Nov 12 17:53:47 2021 UTC<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">platform: linux-x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">options:  bn(64,64) md2(char) rc4(16x,int) des(int) idea(int) blowfish(ptr)
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM
 -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OPENSSLDIR: "/etc/pki/tls"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ENGINESDIR: "/usr/lib64/engines-1.1"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Seeding source: os-specific<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">engines:  rdrand dynamic <br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">openssl3 version -a<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">built on: Wed Mar 16 21:52:03 2022 UTC<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">platform: linux-x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">options:  bn(64,64)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3.0.1-20220316\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">OPENSSLDIR: "/etc/pki/tls"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ENGINESDIR: "/usr/lib64/engines-3"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">MODULESDIR: "/usr/lib64/ossl-modules"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Seeding source: os-specific<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0x21cbfbb<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">squid-users <squid-users-bounces@lists.squid-cache.org> on behalf of Alex Rousskov <rousskov@measurement-factory.com><br>
<b>Date: </b>Monday, July 11, 2022 at 10:20 AM<br>
<b>To: </b>squid-users@lists.squid-cache.org <squid-users@lists.squid-cache.org><br>
<b>Subject: </b>Re: [squid-users] squid 3.x on Centos8 not working<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/11/22 09:38, Ahmad Alzaeem wrote:<br>
<br>
> Anyone in the Dev team to help me out?<br>
<br>
In most cases, folks should not be using Squid v3. It is not a supported <br>
Squid version.<br>
<br>
You may be able to get your Squid to build by avoiding the -Werror <br>
compiler flag (e.g., by ./configuring Squid with <br>
--disable-strict-error-checking).<br>
<br>
<br>
HTH,<br>
<br>
Alex.<br>
<br>
<br>
<br>
> *From: *Ahmad Alzaeem <0xff1f@gmail.com><br>
> *Date: *Tuesday, June 28, 2022 at 6:28 AM<br>
> *To: *squid-users@lists.squid-cache.org <squid-users@lists.squid-cache.org><br>
> *Subject: *squid 3.x on Centos8 not working<br>
> <br>
> Hello Folks ,<br>
> <br>
> Trying to compile squid 3.x on Centos8 but have an errors below seems in <br>
> SMBLIB .<br>
> <br>
> Squid ver :<br>
> <br>
> squid-3.5.28<br>
> <br>
> GCC ver :<br>
> <br>
> gcc -v<br>
> <br>
> Using built-in specs.<br>
> <br>
> COLLECT_GCC=gcc<br>
> <br>
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper<br>
> <br>
> OFFLOAD_TARGET_NAMES=nvptx-none<br>
> <br>
> OFFLOAD_TARGET_DEFAULT=1<br>
> <br>
> Target: x86_64-redhat-linux<br>
> <br>
> Configured with: ../configure --enable-bootstrap <br>
> --enable-languages=c,c++,fortran,lto --prefix=/usr <br>
> --mandir=/usr/share/man --infodir=/usr/share/info <br>
> --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared <br>
> --enable-threads=posix --enable-checking=release --enable-multilib <br>
> --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions <br>
> --enable-gnu-unique-object --enable-linker-build-id <br>
> --with-gcc-major-version-only --with-linker-hash-style=gnu <br>
> --enable-plugin --enable-initfini-array --with-isl --disable-libmpx <br>
> --enable-offload-targets=nvptx-none --without-cuda-driver <br>
> --enable-gnu-indirect-function --enable-cet --with-tune=generic <br>
> --with-arch_32=x86-64 --build=x86_64-redhat-linux<br>
> <br>
> Thread model: posix<br>
> <br>
> gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)<br>
> <br>
> we are using ./configure  with default flags  ,  and have the errors below :<br>
> <br>
> make[2]: Entering directory '/root/squid-3.5.28/lib/rfcnb'<br>
> <br>
> depbase=`echo rfcnb-io.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   <br>
> -I../.. -I../../include -I../../lib -I../../src -I../../include    <br>
> -I../../lib  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT rfcnb-io.lo -MD -MP -MF $depbase.Tpo -c -o rfcnb-io.lo <br>
> rfcnb-io.c &&\<br>
> <br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT rfcnb-io.lo -MD -MP -MF .deps/rfcnb-io.Tpo -c <br>
> rfcnb-io.c  -fPIC -DPIC -o .libs/rfcnb-io.o<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT rfcnb-io.lo -MD -MP -MF .deps/rfcnb-io.Tpo -c <br>
> rfcnb-io.c -o rfcnb-io.o >/dev/null 2>&1<br>
> <br>
> depbase=`echo rfcnb-util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   <br>
> -I../.. -I../../include -I../../lib -I../../src -I../../include    <br>
> -I../../lib  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT rfcnb-util.lo -MD -MP -MF $depbase.Tpo -c -o <br>
> rfcnb-util.lo rfcnb-util.c &&\<br>
> <br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT rfcnb-util.lo -MD -MP -MF .deps/rfcnb-util.Tpo -c <br>
> rfcnb-util.c  -fPIC -DPIC -o .libs/rfcnb-util.o<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT rfcnb-util.lo -MD -MP -MF .deps/rfcnb-util.Tpo -c <br>
> rfcnb-util.c -o rfcnb-util.o >/dev/null 2>&1<br>
> <br>
> depbase=`echo session.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   <br>
> -I../.. -I../../include -I../../lib -I../../src -I../../include    <br>
> -I../../lib  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT session.lo -MD -MP -MF $depbase.Tpo -c -o session.lo <br>
> session.c &&\<br>
> <br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT session.lo -MD -MP -MF .deps/session.Tpo -c session.c  <br>
> -fPIC -DPIC -o .libs/session.o<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT session.lo -MD -MP -MF .deps/session.Tpo -c session.c <br>
> -o session.o >/dev/null 2>&1<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -Wpointer-arith <br>
> -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments <br>
> -Wshadow -Werror -pipe -D_REENTRANT -Wall -g -O2  -g -o librfcnb.la <br>
> rfcnb-io.lo rfcnb-util.lo session.lo<br>
> <br>
> libtool: link: /usr/bin/ar cru .libs/librfcnb.a .libs/rfcnb-io.o <br>
> .libs/rfcnb-util.o .libs/session.o<br>
> <br>
> libtool: link: ranlib .libs/librfcnb.a<br>
> <br>
> libtool: link: ( cd ".libs" && rm -f "librfcnb.la" && ln -s <br>
> "../librfcnb.la" "librfcnb.la" )<br>
> <br>
> make[2]: Leaving directory '/root/squid-3.5.28/lib/rfcnb'<br>
> <br>
> Making all in smblib<br>
> <br>
> make[2]: Entering directory '/root/squid-3.5.28/lib/smblib'<br>
> <br>
> depbase=`echo md4.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   <br>
> -I../.. -I../../include -I../../lib -I../../src -I../../include    <br>
> -I../../lib  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT md4.lo -MD -MP -MF $depbase.Tpo -c -o md4.lo md4.c &&\<br>
> <br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT md4.lo -MD -MP -MF .deps/md4.Tpo -c md4.c  -fPIC -DPIC <br>
> -o .libs/md4.o<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT md4.lo -MD -MP -MF .deps/md4.Tpo -c md4.c -o md4.o <br>
>  >/dev/null 2>&1<br>
> <br>
> depbase=`echo smblib.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   <br>
> -I../.. -I../../include -I../../lib -I../../src -I../../include    <br>
> -I../../lib  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT smblib.lo -MD -MP -MF $depbase.Tpo -c -o smblib.lo <br>
> smblib.c &&\<br>
> <br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT smblib.lo -MD -MP -MF .deps/smblib.Tpo -c smblib.c  <br>
> -fPIC -DPIC -o .libs/smblib.o<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT smblib.lo -MD -MP -MF .deps/smblib.Tpo -c smblib.c -o <br>
> smblib.o >/dev/null 2>&1<br>
> <br>
> depbase=`echo smblib-util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<br>
> <br>
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   <br>
> -I../.. -I../../include -I../../lib -I../../src -I../../include    <br>
> -I../../lib  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT smblib-util.lo -MD -MP -MF $depbase.Tpo -c -o <br>
> smblib-util.lo smblib-util.c &&\<br>
> <br>
> mv -f $depbase.Tpo $depbase.Plo<br>
> <br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../.. -I../../include <br>
> -I../../lib -I../../src -I../../include -I../../lib -Wall <br>
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes <br>
> -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT <br>
> -Wall -g -O2 -MT smblib-util.lo -MD -MP -MF .deps/smblib-util.Tpo -c <br>
> smblib-util.c  -fPIC -DPIC -o .libs/smblib-util.o<br>
> <br>
> smblib-util.c: In function ‘SMB_Negotiate’:<br>
> <br>
> smblib-util.c:400:9: error: ‘strncpy’ output may be truncated copying 79 <br>
> bytes from a string of length 79 [-Werror=stringop-truncation]<br>
> <br>
>           strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> <br>
> Svr_PDom) - 1);<br>
> <br>
>           <br>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> <br>
> smblib-util.c:423:9: error: ‘strncpy’ output may be truncated copying 79 <br>
> bytes from a string of length 79 [-Werror=stringop-truncation]<br>
> <br>
>           strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> <br>
> Svr_PDom) - 1);<br>
> <br>
>       <br>
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> <br>
> smblib-util.c: In function ‘SMB_TreeConnect’:<br>
> <br>
> smblib-util.c:537:5: error: ‘strncpy’ specified bound 129 equals <br>
> destination size [-Werror=stringop-truncation]<br>
> <br>
>       strncpy(tree -> path, path, sizeof(tree -> path));<br>
> <br>
>       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> <br>
> smblib-util.c:538:5: error: ‘strncpy’ specified bound 20 equals <br>
> destination size [-Werror=stringop-truncation]<br>
> <br>
>       strncpy(tree -> device_type, device, sizeof(tree -> device_type));<br>
> <br>
>       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> <br>
> cc1: all warnings being treated as errors<br>
> <br>
> make[2]: *** [Makefile:776: smblib-util.lo] Error 1<br>
> <br>
> make[2]: Leaving directory '/root/squid-3.5.28/lib/smblib'<br>
> <br>
> make[1]: *** [Makefile:1043: all-recursive] Error 1<br>
> <br>
> make[1]: Leaving directory '/root/squid-3.5.28/lib'<br>
> <br>
> make: *** [Makefile:581: all-recursive] Error 1<br>
> <br>
> Any help is welcome !<br>
> <br>
> Thanks<br>
> <br>
> <br>
> _______________________________________________<br>
> squid-users mailing list<br>
> squid-users@lists.squid-cache.org<br>
> <a href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
squid-users@lists.squid-cache.org<br>
<a href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><o:p></o:p></span></p>
</div>
</div>
</body>
</html>