Project

General

Profile

Actions

Bug #688

closed

i386 build proper detect of HTPConfigParseParameters

Added by Peter Manev over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

I just got an err building suricata on PPA on i386 Precise -
https://launchpadlibrarian.net/125935561/buildlog_ubuntu-precise-i386.suricata_1.4-4ubuntu4_FAILEDTOBUILD.txt.gz :

make[1]: Leaving directory `/build/buildd/suricata-1.4'
   dh_auto_build
make[1]: Entering directory `/build/buildd/suricata-1.4'
make  all-recursive
make[2]: Entering directory `/build/buildd/suricata-1.4'
Making all in src
make[3]: Entering directory `/build/buildd/suricata-1.4/src'
make  all-am
make[4]: Entering directory `/build/buildd/suricata-1.4/src'
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c alert-debuglog.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c alert-fastlog.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c alert-pcapinfo.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c alert-prelude.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c alert-syslog.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c alert-unified2-alert.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer-dcerpc.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer-dcerpc-udp.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer-detect-proto.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer-ftp.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer-htp-body.c
gcc -DHAVE_CONFIG_H -I. -I..    -D_FORTIFY_SOURCE=2 -I/usr/include/nspr -I/usr/include/nss/ -DLOCAL_STATE_DIR=\"/var\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -c app-layer-htp.c
app-layer-htp.c: In function 'HTPConfigParseParameters':
app-layer-htp.c:2257:17: error: implicit declaration of function 'htp_config_set_path_decode_u_encoding' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[4]: *** [app-layer-htp.o] Error 1
make[4]: Leaving directory `/build/buildd/suricata-1.4/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/build/buildd/suricata-1.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/suricata-1.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/suricata-1.4'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20121216-1601
FAILED [dpkg-buildpackage died]
*****************************************************************************
Actions

Also available in: Atom PDF