Snort mailing list archives
Error compiling Snort 3.0.0-a1 with enable-linux-smp-stats
From: Y M <snort () outlook com>
Date: Mon, 19 Jan 2015 13:29:30 +0000
Hi, Not sure if this is a known issue or I am just missing something. When compiling Snort 3.0.0-a1 (Build 132) from 2.9.6-9 (github clone) using either cmake or autotools compilation breaks with below messages. This also happens with the previous release Snort 3.0.0-a1 (Build 130) from 2.9.6-9. The assumption that --enable-linux-smp-stats is available was based on its existence in the --help cmake:......[ 93%] Building CXX object src/CMakeFiles/snort.dir/main.cc.oLinking CXX executable snortnetwork_inspectors/perf_monitor/libperf_monitor.a(perf_base.cc.o): In function `GetProcessingTime':/usr/src/setup/snort3/src/network_inspectors/perf_monitor/perf_base.cc:544: undefined reference to `sfProcessProcPidStats(_SFPROCPIDSTATS*)'network_inspectors/perf_monitor/libperf_monitor.a(perf.cc.o): In function `InitPerfStats(_SFPERF*)':/usr/src/setup/snort3/src/network_inspectors/perf_monitor/perf.cc:566: undefined reference to `sfInitProcPidStats(_SFPROCPIDSTATS*)'network_inspectors/perf_monitor/libperf_monitor.a(perf_monitor.cc.o): In function `PerfMonitor::tterm()':/usr/src/setup/snort3/src/network_inspectors/perf_monitor/perf_monitor.cc:300: undefined reference to `FreeProcPidStats(_SFPROCPIDSTATS*)'collect2: error: ld returned 1 exit statusmake[2]: *** [src/snort] Error 1make[1]: *** [src/CMakeFiles/snort.dir/all] Error 2make: *** [all] Error 2 autotools:......sfprocpidstats.cc:236:23: error: ‘gpStatCPUs_2’ was not declared in this scope if(GetProcStatCpu(gpStatCPUs_2, giCPUs)) ^sfprocpidstats.cc:236:37: error: ‘giCPUs’ was not declared in this scope if(GetProcStatCpu(gpStatCPUs_2, giCPUs)) ^sfprocpidstats.cc:238:13: error: ‘iError’ was not declared in this scope if(!iError) ^sfprocpidstats.cc:253:26: error: ‘giCPUs’ was not declared in this scope for(iCtr = 0; iCtr < giCPUs; iCtr++) ^sfprocpidstats.cc:255:25: error: ‘gpStatCPUs_2’ was not declared in this scope ulCPUjiffies = (gpStatCPUs_2[iCtr].user - gpStatCPUs[iCtr].user) + ^sfprocpidstats.cc:255:51: error: ‘gpStatCPUs’ was not declared in this scope ulCPUjiffies = (gpStatCPUs_2[iCtr].user - gpStatCPUs[iCtr].user) + ^make[4]: *** [sfprocpidstats.o] Error 1make[4]: *** Waiting for unfinished jobs....make[4]: Leaving directory `/usr/src/setup/snort3/src/network_inspectors/perf_monitor'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/usr/src/setup/snort3/src/network_inspectors'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/usr/src/setup/snort3/src'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/src/setup/snort3'make: *** [all] Error 2 Thanks.YM
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Error compiling Snort 3.0.0-a1 with enable-linux-smp-stats Y M (Jan 19)
- Re: Error compiling Snort 3.0.0-a1 with enable-linux-smp-stats Russ Combs (rucombs) (Jan 20)