[Oisf-devel] compil pb on suricata v0.8.0
Gurvinder Singh
gurvindersinghdahiya at gmail.com
Sat Jan 2 05:15:57 UTC 2010
Hi,
I think the issue is that you have commented out the #include
<htp/htp.h> in src/app-layer-htp.h The error you faced
gcc -DHAVE_CONFIG_H -I. -I.. -I../yaml-0.1.3/include -I../htp-0.2.1 -g -O2 -Wall -fno-strict-aliasing -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBPCAP_VERSION_MAJOR=0 -MT suricata.o -MD -MP -MF .deps/suricata.Tpo -c -o suricata.o suricata.c
In file included from suricata.c:69:
app-layer-htp.h:26: erreur: expected specifier-qualifier-list before ‘htp_connp_t’
app-layer-htp.h:31: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
suricata.c: In function ‘main’:
suricata.c:298: attention : unused variable ‘regex_arg’
can be due to the two includes (due to some mysterious reasons :P ) in the app-layer-htp.c of app-layer-htp.h Can you try to compile after uncommenting the stuff in app-layer-htp.h and deleting the #include "app-layer-htp.h" on line 30 in src/app-layer-htp.c The error related to the detect-http-cookie are also caused by the commenting.
Cheers,
Gurvinder
More information about the Oisf-devel
mailing list