Open unixchina opened 2 years ago
I am trying to run make, some error occured:
make all-am make[1]: Entering directory /root/ssldump-1.5' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -I./pcap -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -D_BSD_SOURCE=1 -O2 -MT base/ssldump-pcap-snoop.o -MD -MP -MF base/.deps/ssldump-pcap-snoop.Tpo -c -o base/ssldump-pcap-snoop.otest -f 'base/pcap-snoop.c' || echo './'base/pcap-snoop.c base/pcap-snoop.c:98: error: initializer element is not constant make[1]: *** [base/ssldump-pcap-snoop.o] Error 1 make[1]: Leaving directory/root/ssldump-1.5' make: *** [all] Error 2
/root/ssldump-1.5' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -I./pcap -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -D_BSD_SOURCE=1 -O2 -MT base/ssldump-pcap-snoop.o -MD -MP -MF base/.deps/ssldump-pcap-snoop.Tpo -c -o base/ssldump-pcap-snoop.o
base/pcap-snoop.c base/pcap-snoop.c:98: error: initializer element is not constant make[1]: *** [base/ssldump-pcap-snoop.o] Error 1 make[1]: Leaving directory
################################################ SSLDump build setup Host system: linux-gnu Host architecture: x86_64 Compiler: gcc -std=gnu99 Installation prefix: /usr/local CFLAGS: -O2 LDFLAGS: LIBS: -ljson-c -lnet -lssl -lpcap Optimizations enabled: yes Debug info enabled: no ASAN enabled: no ################################################
I can't reproduce this error on Debian 11. Which Linux distribution are you using ?
I am trying to run make, some error occured:
make all-am make[1]: Entering directory
/root/ssldump-1.5' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -I./pcap -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -D_BSD_SOURCE=1 -O2 -MT base/ssldump-pcap-snoop.o -MD -MP -MF base/.deps/ssldump-pcap-snoop.Tpo -c -o base/ssldump-pcap-snoop.o
test -f 'base/pcap-snoop.c' || echo './'base/pcap-snoop.c base/pcap-snoop.c:98: error: initializer element is not constant make[1]: *** [base/ssldump-pcap-snoop.o] Error 1 make[1]: Leaving directory
/root/ssldump-1.5' make: *** [all] Error 2here are configure info
################################################ SSLDump build setup Host system: linux-gnu Host architecture: x86_64 Compiler: gcc -std=gnu99 Installation prefix: /usr/local CFLAGS: -O2 LDFLAGS:
LIBS: -ljson-c -lnet -lssl -lpcap Optimizations enabled: yes Debug info enabled: no ASAN enabled: no ################################################