[Oisf-devel] compil pb on suricata v0.8.0

rmkml rmkml at free.fr
Sat Jan 2 05:50:00 UTC 2010


Hi,
ok all pb are solved by added absolute path in configure option... (and removed all my commentend line code)
thx for help
Im continue suricata testing
Regards
Rmkml


On Sat, 2 Jan 2010, Gurvinder Singh wrote:

> 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
>
>
> _______________________________________________
> Oisf-devel mailing list
> Oisf-devel at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
>


More information about the Oisf-devel mailing list