Project

General

Profile

Actions

Bug #1676

closed

gentoo build error

Added by Mike Zhong almost 9 years ago. Updated over 8 years ago.

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

Description

OS:gentoo

./configure --enable-af-packet --enable-pcre-jit --enable-luajit

Suricata Configuration:
AF_PACKET support: yes
PF_RING support: no
NFQueue support: no
NFLOG support: no
IPFW support: no
DAG enabled: no
Napatech enabled: no
Unix socket enabled: no
Detection enabled: yes

libnss support:                          no
libnspr support: no
libjansson support: no
Prelude support: no
PCRE jit: yes
LUA support: yes
libluajit: yes
libgeoip: no
Non-bundled htp: no
Old barnyard2 support: no
CUDA enabled: no
Suricatasc install:                      yes
Unit tests enabled:                      no
Debug output enabled: no
Debug validation enabled: no
Profiling enabled: no
Profiling locks enabled: no
Coccinelle / spatch: no

Generic build parameters:
Installation prefix (--prefix): /usr/local
Configuration directory (--sysconfdir): /usr/local/etc/suricata/
Log directory (--localstatedir) : /usr/local/var/log/suricata/

Host:                                    armv7l-unknown-linux-gnueabihf
GCC binary: gcc
GCC Protect enabled: no
GCC march native enabled: yes
GCC Profile enabled: no

To build and install run 'make' and 'make install'.

You can run 'make install-conf' if you want to install initial configuration
files to /usr/local/etc/suricata/. Running 'make install-full' will install configuration
and rules and provide you a ready-to-run suricata.

To install Suricata into /usr/bin/suricata, have the config in
/etc/suricata and use /var/log/suricata as log dir, use:
./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/

make

/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
suricata.c: In function 'SCPrintBuildInfo':
suricata.c:777:50: error: 'defined' undeclared (first use in this function)
printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);
^
suricata.c:777:50: note: each undeclared identifier is reported only once for each function it appears in
suricata.c:777:50: error: expected ')' before numeric constant
printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);

Actions

Also available in: Atom PDF