Project

General

Profile

Actions

Bug #1252

closed

Debian Build failure

Added by Raghunath Iyer almost 11 years ago. Updated almost 11 years ago.

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

Description

On a Debian 5.0.5 MIPS machine suricata-2.0.2 build failed with following error

source-ipfw.c: In function 'ReceiveIPFWThreadInit':
source-ipfw.c:342: error: 'IPPROTO_DIVERT' undeclared (first use in this function)
source-ipfw.c:342: error: (Each undeclared identifier is reported only once
source-ipfw.c:342: error: for each function it appears in.)
make3: * [source-ipfw.o] Error 1
make3: Leaving directory `/root/suricata-2.0.2/src'
make2:
[all] Error 2
make2: Leaving directory `/root/suricata-2.0.2/src'
make1:
[all-recursive] Error 1
make1: Leaving directory `/root/suricata-2.0.2'
make: *
[all] Error 2

Followed instructions per Reference: https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Debian_Installation with some additional options.

apt-get install libpcre3 libpcre3-dbg libpcre3-dev build-essential autoconf automake libtool libpcap-dev libnet1-dev libyaml-0-2 libyaml-dev zlib1g zlib1g-dev libmagic-dev libcap-ng-dev pkg-config libnetfilter-queue-dev libnetfilter-queue1 libnfnetlink-dev libnfnetlink0
apt-get install libnetfilter-log-dev
apt-get install lua5.1 lua5.1-dev liblua5.1-0-dbg liblua5.1-0-dev
apt-get install libgeoip-dev
./configure --enable-unittests --enable-old-barnyard2 --enable-debug --enable-profiling --enable-ipfw --enable-nfqueue --enable-nflog --enable-af-packet --enable-lua --enable-geoip --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make

apt-get could not get libcap-ng-dev - not available for debian 5.0.5

Actions

Also available in: Atom PDF