<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10pt">Hi,<br>   I'm trying to cross compile Suricata using a mips toolchain.<br>After crossing some hurdles, now I'm stuck at the following point.<br><br>My configure command line is<br>configure --enable-nfqueue --prefix=<path> --sysconfdir=<path> --localstatedir=<path> --host=<path> --with-libpcap-includes=<path> --with-libpcap-libraries=<path> --with-libpcre-includes=<path> --with-libpcre-libraries=<path>  --with-libyaml-includes=<path> --with-libyaml-libraries=<path> --with-libnfnetlink-includes=<path> --with-libnfnetlink-libraries=<path> --with-libnetfilter_queue-includes=<path> --with-libnetfilter_queue-libraries=<path><br><br>As can be seen, I've already cross compiled and installed all the
 dependencies.<br><br>The configure script stops at the following.<br>blah blah blah<br>checking libnfnetlink/libnfnetlink.h usability... yes<br>checking libnfnetlink/libnfnetlink.h presence... yes<br>checking for libnfnetlink/libnfnetlink.h... yes<br>checking for nfnl_fd in -lnfnetlink... yes<br>checking libnetfilter_queue/libnetfilter_queue.h usability... yes<br>checking libnetfilter_queue/libnetfilter_queue.h presence... yes<br>checking for libnetfilter_queue/libnetfilter_queue.h... yes<br>checking for nfq_open in -lnetfilter_queue... no<br>checking for nfq_set_queue_maxlen in -lnetfilter_queue... no<br>checking for nfq_set_verdict2 in -lnetfilter_queue... no<br>checking for nfq_set_queue_flags in -lnetfilter_queue... no<br>checking for signed nfq_get_payload payload argument... no<br>  ERROR!  libnetfilter_queue library not found, go get it<br>  from www.netfilter.org.<br>  we automatically append libnetfilter_queue when
 searching<br>  for headers etc. when the --with-libnfq-includes directive<br>  is used<br><br>I do have libnetfilter_queue library installed and its path passed to the configure script using --with-libnetfilter_queue-includes and --with-libnetfilter_queue-libraries options.<br>(Please also notice the error in the error message: There is no --with-libnfq-includes directive in the configure script).<br><br>As of today, I've a feeling that Suricata developers didn't pay attention to cross compiling aspect and focused only on x86.<br>On Internet, I can easily find step by step description of how to build Suricata on say Fedora/Ubuntu etc Linux, but am not finding any<br>webpage describing the same for cross compiling.<br><br>Could someone please clarify the steps for cross compiling Suricata ?<br><br>Thank you,<br>Mahendra<br><br><div><br></div></div></body></html>