Hi, <div>When I try to build suricata in mingw, the make throws next error:<div><br></div><div>********</div><div>...</div><div><div>make[2]: Entering directory `/oisf/src'</div><div>gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -DYAML_DECLARE_STATIC -Wextra -Wall -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99 -DOS_WIN32 -march=native -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DREVISION="c9f9e3f" -MT suricata.o -MD -MP -MF .deps/suricata.Tpo -c -o suricata.o suricata.c</div>
<div>In file included from threadvars.h:28:0,</div><div> from decode.h:30,</div><div> from detect-engine-alert.h:27,</div><div> from suricata-common.h:150,</div><div> from suricata.c:24:</div>
<div>util-affinity.h:48:5: error: expected specifier-qualifier-list before 'cpu_set_t'</div><div>suricata.c: In function 'main':</div><div>suricata.c:403:14: warning: unused variable 'groupid'</div>
<div>suricata.c:402:14: warning: unused variable 'userid'</div><div>suricata.c:401:13: warning: unused variable 'do_setgid'</div><div>suricata.c:400:13: warning: unused variable 'do_setuid'</div><div>
suricata.c:399:11: warning: unused variable 'group_name'</div><div>suricata.c:398:11: warning: unused variable 'user_name'</div><div>make[2]: *** [suricata.o] Error 1</div><div>make[2]: Leaving directory `/oisf/src'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/oisf'</div><div>make: *** [all] Error 2</div></div><div>--------</div><div>***************</div><div><br></div><div>I tried to compile it explicitly with </div>
<div>#define OS_FREEBSD </div><div>parameter set in util-affinity.h header to get the cpu_set_t and the cpuset_t defined, but simple steps didn't work.</div><div><br></div><div>Any advice is highly appreciated.</div><div>
<br></div><div>Eugene.</div>
</div>