Closed IanSmith123 closed 5 months ago
For guys who might meet the same problem. I build success by change gcc14 to gcc13, with follow step:
pacman -S gcc13
CC
before run cmake
in file build.sh
export CC=gcc-13
export CXX=g++-13
cmake -DEXTRA_PROBE_MODULES=probe_modules/module_ja4tscan.c && make
Of course, another method is set CMAKE_C_COMPILER
flag.
cmake -DEXTRA_PROBE_MODULES=probe_modules/module_ja4tscan.c -D CMAKE_C_COMPILER=gcc-13 && make
Follow the instruction on: https://github.com/zmap/zmap/blob/main/INSTALL.md , I can build zmap source code without ja4tscan success. But when I run
bash build.sh
to add ja4tscan feature to zmap, I get Error:It's seem that gcc 14 not support this kind of pointer or other cause? I'm not sure because I'm not particularly proficient in writing C code, I would greatly appreciate your generous assistance :)
system info: