-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
I'm following the guide on how to compile and run:
https://nasa-jpl.github.io/ION-DTN/ION-Quick-Start-Guide/#build-ion-413-and-earlier-versions-without-actual-cipher-suite
Getting the following error:
gcc -DHAVE_CONFIG_H -I. -I./bpv7/bpsec/instr -I./bpv7/bpsec/policy -I./bpv7/bpsec/sci -I./bpv7/bpsec/utils -I./bpv7/library -I./bpv7/library/ext -I./bpv7/library/ext/meb -I./bpv7/library/ext/bae -I./bpv7/include -I./bpv7/ipn -I./bpv7/ipnd -I./ici/libbloom-master -I./ici/libbloom-master/murmur2 -I./bpv7/dtn2 -I./bpv7/library/crypto -I./bpv7/tcp -I./bpv7/udp -I./ici/include -I./ici/library -I./bpv7/library/ext/snw -I./bpv7/bibe -I./bpv7/imc -DBP_EXTENDED -I./bpv7/saga -I./bpv7/library/ext/bpsec -I./bpv7/library/ext/hcb -I./bpv7/library/ext/pnb -I./bpv7/library/ext/bpq -I./bpv7/metadata -I./ici/crypto/NULL_SUITES -I./bpv7/imc -I./bpv7/library/ext/imc -Dunix -Ddarwin -DSPACE_ORDER=3 -m64 -DVNAME=ION-OPEN-SOURCE-4.1.3s -DBUILD_BPv7 -DENABLE_IMC -DENABLE_MANPAGES -DNULL_CRYPTO_SUITES -g -include config.h -I./ici/include -I./ltp/include -I./dgr/include -I./bpv7/include -I./tc/include -I./bss/include -I./dtpc/include -I./bssp/include -DSBSP -I./ams/include -I./cfdp/include -Wall -fPIC -Werror -I./ici/crypto/NULL_SUITES -I./ici/crypto -g -O2 -DNOEXPAT -MT bpv7/ipnd/ipnd-ipnd.o -MD -MP -MF bpv7/ipnd/.deps/ipnd-ipnd.Tpo -c -o bpv7/ipnd/ipnd-ipnd.o `test -f 'bpv7/ipnd/ipnd.c' || echo './'`bpv7/ipnd/ipnd.c
bpv7/ipnd/ipnd.c:1088:16: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
1088 | char *tokens[MAX_TOKENS];
| ^~~~~~~~~~
1 error generated.
Here is gcc version:
% gcc --version
Apple clang version 17.0.0 (clang-1700.4.4.1)
Target: arm64-apple-darwin24.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Reactions are currently unavailable