<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10pt"><div style="" class="">Hi,<br style="" class=""> I'm trying to cross compile Suricata using a mips toolchain.<br style="" class="">Compared to Suricata version that existed 4 months ago, the latest version 2.0.1<br style="" class="">is much more amenable to cross compilation.<br style="" class=""><br style="" class="">My configure command line is<br style="" class="">./configure --host=mips64-nlm-linux --with-libpcre-includes=<path> --with-libpcre-libraries=path> --with-libyaml-includes=<path> --with-libyaml-libraries=<path> --with-libpcap-includes=<path> --with-libpcap-libraries=<path> --with-libnet-includes=<path> --with-libnet-libraries=<path> --with-libcap_ng-includes=<path> --with-libcap_ng-libraries=<path>
--with-libmagic-includes=<path> --with-libmagic-libraries=<path> --prefix=<path><br style="" class=""><br style="" class="">I am exporting the following.<br style="" class=""><br style="" class="">export ac_cv_func_malloc_0_nonnull=yes<br style="" class=""><br style="" class="">The configure script runs fine to completion. But when doing 'make' I'm getting the following errors.<br style="" class=""><br style="" class="">app-layer-dcerpc.o: In function `StubDataParser':<br style="" class="">app-layer-dcerpc.c:(.text+0x4948): undefined reference to `rpl_realloc'<br style="" class="">app-layer-dcerpc-udp.o: In function `FragmentDataParser':<br style="" class="">app-layer-dcerpc-udp.c:(.text+0x12c): undefined reference to `rpl_realloc'<br style="" class="">app-layer-events.o: In function `AppLayerDecoderEventsSetEventRaw':<br style="" class="">app-layer-events.c:(.text+0x628): undefined reference to `rpl_realloc'<br style=""
class="">app-layer-ftp.o: In function `FTPGetLineForDirection':<br style="" class="">app-layer-ftp.c:(.text+0x598): undefined reference to `rpl_realloc'<br style="" class="">app-layer-ftp.c:(.text+0x9f0): undefined reference to `rpl_realloc'<br style="" class="">app-layer-ftp.o:app-layer-ftp.c:(.text+0x11ac): more undefined references to `rpl_realloc' follow<br style="" class="">../libhtp/htp/.libs/libhtp.so: undefined reference to `inflateEnd'<br style="" class="">../libhtp/htp/.libs/libhtp.so: undefined reference to `inflateInit2_'<br style="" class="">../libhtp/htp/.libs/libhtp.so: undefined reference to `inflate'<br style="" class="">../libhtp/htp/.libs/libhtp.so: undefined reference to `crc32'<br style="" class=""><br style="" class="">Could someone please point out what I'm missing to help fix these errors ?<br style="" class=""><br style="" class="">Thank you<br style="" class="">Mahendra<br style="" class=""></div></div></body></html>