Bug #1253
closedDebian Build failure in util-profiling.c
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
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.