Qual é o meu problema com strongswan, ubuntu 17.10

1

Isso é o que eu recebo

    root@Dejected-Unicorn:~/strongswan-5.5.2# make
make  all-recursive
make[1]: Entering directory '/root/strongswan-5.5.2'
Making all in src
make[2]: Entering directory '/root/strongswan-5.5.2/src'
Making all in .
make[3]: Entering directory '/root/strongswan-5.5.2/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/strongswan-5.5.2/src'
Making all in include
make[3]: Entering directory '/root/strongswan-5.5.2/src/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/strongswan-5.5.2/src/include'
Making all in libstrongswan
make[3]: Entering directory '/root/strongswan-5.5.2/src/libstrongswan'
make  all-recursive
make[4]: Entering directory '/root/strongswan-5.5.2/src/libstrongswan'
Making all in .
make[5]: Entering directory '/root/strongswan-5.5.2/src/libstrongswan'
depbase='echo library.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'';\
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/lib/ipsec\" -DIPSEC_LIB_DIR=\"/usr/lib/ipsec\" -DPLUGINDIR=\"/usr/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/etc/strongswan.conf\"       -g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/strongswan-5.5.2/config.h -MT library.lo -MD -MP -MF $depbase.Tpo -c -o library.lo library.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/lib/ipsec\" -DIPSEC_LIB_DIR=\"/usr/lib/ipsec\" -DPLUGINDIR=\"/usr/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/etc/strongswan.conf\" -g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/strongswan-5.5.2/config.h -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.c  -fPIC -DPIC -o .libs/library.o
In file included from utils/utils.h:54:0,
                 from library.h:101,
                 from library.c:17:
utils/utils/memory.h: In function ‘memwipe_inline’:
utils/utils/memory.h:99:15: error: ‘uintptr_t’ undeclared (first use in this function); did you mean ‘__intptr_t’?
  for (i = 0; (uintptr_t)&c[i] % sizeof(long) && i < n; i++)
               ^~~~~~~~~
               __intptr_t
utils/utils/memory.h:99:15: note: each undeclared identifier is reported only once for each function it appears in
Makefile:1922: recipe for target 'library.lo' failed
make[5]: *** [library.lo] Error 1
make[5]: Leaving directory '/root/strongswan-5.5.2/src/libstrongswan'
Makefile:2008: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/root/strongswan-5.5.2/src/libstrongswan'
Makefile:1153: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/root/strongswan-5.5.2/src/libstrongswan'
Makefile:518: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/strongswan-5.5.2/src'
Makefile:579: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/strongswan-5.5.2'
Makefile:488: recipe for target 'all' failed
make: *** [all] Error 2

Obrigado por ter tempo para procurar

    
por Joshua S. 18.02.2018 / 03:37

1 resposta

0

Antes de mais nada, é enviado em repositório principal .

Você pode instalar a versão 5.5.1 com:

sudo apt-get install strongswan

Se você não usa opções especiais em ./configure , pode usar este pacote binário.

Mas se você realmente precisar compilá-lo, faça o seguinte:

wget https://download.strongswan.org/strongswan-5.5.2.tar.gz
tar -xvzf strongswan-5.5.2.tar.gz
cd strongswan-5.5.2/
sudo apt-get install build-essential
sudo apt-get build-dep strongswan
./configure
make 

mas eu recebo o mesmo erro com 5.5.2 e mesmo 5.5.1. Parece ser um erro 2425 no strongswan .

    
por N0rbert 18.02.2018 / 11:07

Tags