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#
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
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
Não to conseguindo resolver este problemas ao instalar o playonelinux (1)
Excluir banco de dados no xampp (1)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta