[Oisf-users] Problem with non-bundled libhtp

Cooper F. Nelson cnelson at ucsd.edu
Wed Jul 17 04:46:27 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Still throwing an error:

> gcc -DHAVE_CONFIG_H -I. -I..   -I./../libhtp/ -I/usr/include/nspr  -I/usr/include/nss -I/usr/include/nspr  -DLOCAL_STATE_DIR=\"/var\" -g -O2 -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -no-unused-parameter -std=gnu99 -march=native -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DHAVE_LIBNET_ICMPV6_UNREACH  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCP_NG -DREVISION="f4dcba6" -MT app-layer-htp.o -MD -MP -MF .deps/app-layer-htp.Tpo -c -o app-layer-htp.o app-layer-htp.c
> app-layer-htp.c: In function 'HTPCallbackDoubleDecodeQuery':
> app-layer-htp.c:1970:5: error: implicit declaration of function 'htp_urldecode_inplace' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors


On 7/16/2013 7:51 PM, Anoop Saldanha wrote:
> 
> Yes, it has been unbundled.   We have now moved to libhtp-0.5.x.  If
> you are rebuilding you will have to do so from Ivan's repo and pull
> out the 0.5.x branch - https://github.com/ironbee/libhtp/tree/0.5.x
> 
> Rebuilding wise it works the same as before.  Let's cal the suricata
> directory as SURICATA_ROOT.  If you have libhtp-0.5.x contents in
> libhtp folder of $SURICATA_ROOT, .configure/make should work for both
> suricata and libhtp directly from $SURICATA_ROOT, without
> necessitating --enable-non-bundled-htp option.  Or you can pull it to
> some other directory and build it using --enable-non-bundled-option.
> 


- -- 
Cooper Nelson
Network Security Analyst
UCSD ACT Security Team
cnelson at ucsd.edu x41042
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJR5iGjAAoJEKIFRYQsa8FW7W8IALpzPyVTuUMUX1FXHqk2rlGr
aktTdIVAA75Q7ZDo/vPT/dvtLlrwOyLyDf5QYrOaTjIMVl7FC3ET31j3C3ZXyyeQ
g4JufLbIlgsjZRMcR62kYoKD0UbDk+spHuS1leixYWh0VYxLznWsYyRspGYo7xvc
QTdVt2Fj38uvfpkYZukW2Q/t8YIxB60oEdHDFRtYPgga6gxMILYo/VSHcnznSxnL
PuOJSv16Lzu1aAplOdFs8pyKxKROhp4muRiC9z0QGTZd/xJrpiyUNBqhgE/MkQW1
ialexa1xqd7HJMa1Zi8xDbgd/DDPTsQu4uVQxFc557uPMhP3IgT3RrWkvdr08rY=
=+hBG
-----END PGP SIGNATURE-----



More information about the Oisf-users mailing list