Enviado em 23/09/2020 - 14:54h
Galera, estou com um problema na instalação do squid para bloqueios de https, quando vou dar o comando "MAKE" me retorna o seguinte erro:root@SRVLINUX:~/squid-3.5.22# make
Making all in compat
make[1]: Entering directory '/root/squid-3.5.22/compat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/squid-3.5.22/compat'
Making all in lib
make[1]: Entering directory '/root/squid-3.5.22/lib'
Making all in snmplib
make[2]: Entering directory '/root/squid-3.5.22/lib/snmplib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/squid-3.5.22/lib/snmplib'
Making all in rfcnb
make[2]: Entering directory '/root/squid-3.5.22/lib/rfcnb'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/squid-3.5.22/lib/rfcnb'
Making all in smblib
make[2]: Entering directory '/root/squid-3.5.22/lib/smblib'
depbase=`echo smblib-util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -isystem /usr/include/mit-krb5 -I../../lib -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -Wall -g -O2 -MT smblib-util.lo -MD -MP -MF $depbase.Tpo -c -o smblib-util.lo smblib-util.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -isystem /usr/include/mit-krb5 -I../../lib -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -Wall -g -O2 -MT smblib-util.lo -MD -MP -MF .deps/smblib-util.Tpo -c smblib-util.c -fPIC -DPIC -o .libs/smblib-util.o
smblib-util.c: In function ‘SMB_Negotiate’:
smblib-util.c:400:9: error: ‘strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Werror=stringop-truncation]
strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smblib-util.c:423:9: error: ‘strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Werror=stringop-truncation]
strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smblib-util.c: In function ‘SMB_TreeConnect’:
smblib-util.c:537:5: error: ‘strncpy’ specified bound 129 equals destination size [-Werror=stringop-truncation]
strncpy(tree -> path, path, sizeof(tree -> path));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smblib-util.c:538:5: error: ‘strncpy’ specified bound 20 equals destination size [-Werror=stringop-truncation]
strncpy(tree -> device_type, device, sizeof(tree -> device_type));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:776: smblib-util.lo] Error 1
make[2]: Leaving directory '/root/squid-3.5.22/lib/smblib'
make[1]: *** [Makefile:1043: all-recursive] Error 1
make[1]: Leaving directory '/root/squid-3.5.22/lib'
make: *** [Makefile:581: all-recursive] Error 1
root@SRVLINUX:~/squid-3.5.22#
Enviar mensagem ao usuário trabalhando com as opções do php.ini
Meu Fork do Plugin de Integração do CVS para o KDevelop
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Compartilhamento de Rede com samba em modo Público/Anônimo de forma simples, rápido e fácil
Cups: Mapear/listar todas as impressoras de outro Servidor CUPS de forma rápida e fácil
Criando uma VPC na AWS via CLI
Tem como instalar o gerenciador AMD Adrenalin no Ubuntu 24.04? (15)
Tenho dois Link's ( IP VÁLIDOS ), estou tentando fazer o failover... (0)
Pendrive não formata de jeito nenhum (4)