[Oisf-devel] Win32 Suricata compilation

Rich Rumble richrumble at gmail.com
Mon Jun 20 15:46:15 UTC 2011


I've followed the document to the letter this time, without using
the auto-installer that Mingw still ships with. While configure now
finishes, make fails:

In file included from app-layer-ssh.c:27:
suricata-common.h:158:10: warning: #warning Defaulting to __WORDSIZE 32
mv -f .deps/app-layer-ssh.Tpo .deps/app-layer-ssh.Po
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="e5cc6
8a" -MT defrag.o -MD -MP -MF .deps/defrag.Tpo -c -o defrag.o defrag.c
In file included from defrag.c:34:
suricata-common.h:158:10: warning: #warning Defaulting to __WORDSIZE 32
defrag.c: In function 'DefragTimeoutTracker':
defrag.c:1027: error: 'uint' undeclared (first use in this function)
defrag.c:1027: error: (Each undeclared identifier is reported only once
defrag.c:1027: error: for each function it appears in.)
defrag.c:1027: error: expected ')' before 'p'
make[3]: *** [defrag.o] Error 1
make[3]: Leaving directory `/mingw/oisf/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mingw/oisf/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mingw/oisf'
make: *** [all] Error 2

-rich



More information about the Oisf-devel mailing list