Project

General

Profile

Actions

Bug #1253

closed

Debian Build failure in util-profiling.c

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

./configure --enable-unittests --enable-old-barnyard2 --enable-debug --enable-profiling --enable-nfqueue --enable-nflog --enable-af-packet --enable-lua --enable-geoip --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make

util-profiling.c:100: error: expected declaration specifiers or '...' before '&' token
util-profiling.c:100: error: expected declaration specifiers or '...' before numeric constant
util-profiling.c:100: warning: data definition has no type or storage class
util-profiling.c:100: warning: type defaults to 'int' in declaration of 'pthread_spin_init'
util-profiling.c: In function 'ProfilingGenericTicksTest01':
util-profiling.c:1123: warning: comparison between signed and unsigned
make3: * [util-profiling.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

Actions #1

Updated by Raghunath Iyer almost 11 years ago

Removing --enable-profiling from the configure
allows the build to complete successfully.
Which is a temporary bypass.

Actions #2

Updated by Victor Julien almost 11 years ago

  • Status changed from New to Closed

Duplicate of #1207.

Actions

Also available in: Atom PDF