[strongSwan-dev] minimum gcc version
KenP at wti.com
Mon Oct 10 20:48:30 CEST 2022
We have been building Strongswan for a while and our last version we compiled successfully was 5.9.4.
We have tried to compile version 5.9.8 and we are getting these errors when compiling:
libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/local/libexec/ipsec\" -DIPSEC_LIB_DIR=\"/usr/local/lib/ipsec\" -DPLUGINDIR=\"/usr/local/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/usr/local/etc/strongswan.conf\" -Wno-format -Wno-format-security -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-pointer-sign -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -g -O2 -include /code/strongswan-5.9.8/config.h -MT asn1/asn1.lo -MD -MP -MF asn1/.deps/asn1.Tpo -c asn1/asn1.c -fPIC -DPIC -o asn1/.libs/asn1.o
asn1/asn1.c:32:1: error: initializer element is not constant
asn1/asn1.c:33:1: error: initializer element is not constant
asn1/asn1.c:34:1: error: initializer element is not constant
Our configure is pretty simple (with no errors):
./configure --enable-openssl --enable-eap-identity --enable-eap-mschapv2
our gcc --version is:
gcc (Linaro GCC 4.7-2013.02-01) 4.7.3 20130205
I assume it's the gcc version the is causing out trouble (which would be troublesome to update), but the configure didn't complain and was wondering what the minimum version is needed.
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev