Hi,
I am currently using Suricata 6.0.4 version. i need to build with --enable-debug option to get “SCLogDebug(”“)” messages. when i enable --enable-debug option build failure occurs.
suricata makefile searching for rust/target/debug/libsuricata.a where as it got generated in rust/target/release/libsuricata.a
Error:
make[2]: *** No rule to make target ‘…/rust/target/aarch64-cnos-linux/debug/libsuricata.a’, needed by ‘suricata’. Stop.
Makefile:1965: recipe for target ‘all’ failed
make[1]: *** [all] Error 2
where as libsuricata.a gnerated in directory rust/target/release/
enable-debug option not honored by rust makefile.