Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcap-snoop.c:98: error: initializer element is not constant #62

Open
unixchina opened this issue Aug 2, 2022 · 1 comment
Open

pcap-snoop.c:98: error: initializer element is not constant #62

unixchina opened this issue Aug 2, 2022 · 1 comment

Comments

@unixchina
Copy link

unixchina commented Aug 2, 2022

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 2

here 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
################################################

@wllm-rbnt
Copy link
Contributor

I can't reproduce this error on Debian 11. Which Linux distribution are you using ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants