Hi Danny, With nfdump-1.6.4, the nftrack sources have been moved into nfdump in order to make nftrack compile more reliable. The source in NfSen-1.3.5 were kept for users < nfdump-1.6.4. This should get back in sync with nfsen-1.3.6.
In order to compile nftrack in nfdump-1.6.4, use ./configure .... --enable-nftrack Regards - Peter On 8/26/11 9:38, Danny Buthge wrote: > Hello List, > > I've got problems with compiling Port Tracker. I get the following output: > >> root@coati:~/nfsen-1.3.5/contrib/PortTracker# ./do_compile >> + NFDUMP=/home/sysadm/nfdump-1.6.4 >> + RRDINCLUDE=/home/sysadm/rrdtool-1.2.30/src >> + LIBRRD=/usr/local/rrdtool-1.2.30/lib >> + NFDUMP_OBJ=/home/sysadm/nfdump-1.6.4/bin >> + NFDUMP_INC=/home/sysadm/nfdump-1.6.4 >> + OBJ=/home/sysadm/nfdump-1.6.4/bin/util.o >> /home/sysadm/nfdump-1.6.4/bin/nftree.o >> /home/sysadm/nfdump-1.6.4/bin/grammar.o >> /home/sysadm/nfdump-1.6.4/bin/scanner.o >> /home/sysadm/nfdump-1.6.4/bin/nffile.o /home/sysadm/nfdump-1.6.4/bin/flist.o >> /home/sysadm/nfdump-1.6.4/bin/nf_common.o >> /home/sysadm/nfdump-1.6.4/bin/nfx.o >> /home/sysadm/nfdump-1.6.4/bin/panonymizer.o >> /home/sysadm/nfdump-1.6.4/bin/rijndael.o >> /home/sysadm/nfdump-1.6.4/bin/ipconv.o >> /home/sysadm/nfdump-1.6.4/bin/minilzo.o >> + [ -f /home/sysadm/nfdump-1.6.4/bin/fts_compat.o ] >> + NFDUMP_OBJ=/home/sysadm/nfdump-1.6.4/bin >> /home/sysadm/nfdump-1.6.4/fts_compat.o >> + INCLUDES=-I /home/sysadm/nfdump-1.6.4 -I /home/sysadm/nfdump-1.6.4/bin >> -I/home/sysadm/rrdtool-1.2.30/src >> + CC=gcc -c -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes >> -Wmissing-declarations -Wmissing-noreturn >> + gcc -c -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes >> -Wmissing-declarations -Wmissing-noreturn -c -I /home/sysadm/nfdump-1.6.4 -I >> /home/sysadm/nfdump-1.6.4/bin -I/home/sysadm/rrdtool-1.2.30/src nftrack.c >> nftrack.c:61:21: error: version.h: Datei oder Verzeichnis nicht gefunden >> nftrack.c: In function ‘process’: >> nftrack.c:127: error: too many arguments to function ‘GetNextFile’ >> nftrack.c:127: warning: assignment makes integer from pointer without a cast >> nftrack.c:160: warning: passing argument 1 of ‘ReadBlock’ makes pointer from >> integer without a cast >> /home/sysadm/nfdump-1.6.4/bin/nffile.h:1423: note: expected ‘struct nffile_t >> *’ but argument is of type ‘int’ >> nftrack.c:160: error: too many arguments to function ‘ReadBlock’ >> nftrack.c:171: warning: passing argument 1 of ‘GetNextFile’ makes pointer >> from integer without a cast >> /home/sysadm/nfdump-1.6.4/bin/flist.h:49: note: expected ‘struct nffile_t *’ >> but argument is of type ‘int’ >> nftrack.c:171: error: too many arguments to function ‘GetNextFile’ >> nftrack.c:171: warning: assignment makes integer from pointer without a cast >> + gcc -c -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes >> -Wmissing-declarations -Wmissing-noreturn -c -I /home/sysadm/nfdump-1.6.4 -I >> /home/sysadm/nfdump-1.6.4/bin -I/home/sysadm/rrdtool-1.2.30/src nftrack_rrd.c >> + gcc -c -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes >> -Wmissing-declarations -Wmissing-noreturn -c -I /home/sysadm/nfdump-1.6.4 -I >> /home/sysadm/nfdump-1.6.4/bin -I/home/sysadm/rrdtool-1.2.30/src >> nftrack_stat.c >> + gcc -o nftrack nftrack.o nftrack_rrd.o nftrack_stat.o >> /home/sysadm/nfdump-1.6.4/bin/util.o /home/sysadm/nfdump-1.6.4/bin/nftree.o >> /home/sysadm/nfdump-1.6.4/bin/grammar.o >> /home/sysadm/nfdump-1.6.4/bin/scanner.o >> /home/sysadm/nfdump-1.6.4/bin/nffile.o /home/sysadm/nfdump-1.6.4/bin/flist.o >> /home/sysadm/nfdump-1.6.4/bin/nf_common.o >> /home/sysadm/nfdump-1.6.4/bin/nfx.o >> /home/sysadm/nfdump-1.6.4/bin/panonymizer.o >> /home/sysadm/nfdump-1.6.4/bin/rijndael.o >> /home/sysadm/nfdump-1.6.4/bin/ipconv.o >> /home/sysadm/nfdump-1.6.4/bin/minilzo.o -L/usr/local/rrdtool-1.2.30/lib >> -lrrd -L/usr/X11R6/lib -L/usr/local/lib >> gcc: nftrack.o: Datei oder Verzeichnis nicht gefunden > > Has anyone a solution for this issue? > > We're using NFdump 1.6.4 with NFSen 1.3.5 running on Ubuntu 10.04 LTS 64 > bit. > > btw: does the Events and the Botnet plugin work with the versions above? > > Thanks in advance. > > Regards, > > Danny Buthge -- -- Be nice to your netflow data ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss