Hi Peter,

I am able to compile the PortTracker now. I am using GNU / Linux, Kernel
Release 2.6.18-8.e15PAE. But now the problem is I am not able to see graphs
generated by PortTracker. However I am able to see the tables getting
populated with the data.

Please could you tell me whats wrong now ? Thanks.

Harshad

On Fri, Feb 29, 2008 at 2:48 AM, Peter Haag <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hmm .. the only know issue with 1.3 and PortTracker is the missing
> $NFDUMP/minilzo.o in the NFDUMP_OBJ
>
> Apart from that PortTracker compiles fine with nfdump-1.5.7.
> You need to build nfdump-1.5.7 beforehand. Tested on OpenBSD and Debian.
>
> What OS/version are you using?
>
>    - Peter
>
> - --On February 28, 2008 14:25:09 -0500 Harshad Janorkar <
> [EMAIL PROTECTED]> wrote:
>
> | Hi,
> |
> | I have downloaded the PortMapper Plugin and am trying to install it.
> When I
> | try to compile it using do_compile I get the following dump. Could
> someone
> | please tell me what is the problem ? Thanks a lot.
> |
> | Harshad
> |
> | $ ./do_compile
> | + NFDUMP=../nfdump-1.5.7
> | + RRDINCLUDE=/usr/local/rrdtool/include
> | + LIBRRD=/usr/local/rrdtool/lib
> | + NFDUMP_OBJ='../nfdump-1.5.7/util.o ../nfdump-1.5.7/nftree.o ../nfdump-
> | 1.5.7/grammar.o ../nfdump-1.5.7/scanner.o ../nfdump-1.5.7/nffile.o
> | ../nfdump-1.5.7/nf_common.o ../nfdump-1.5.7/panonymizer.o
> | ../nfdump-1.5.7/rijndael.o
> | ../nfdump-1.5.7/ipconv.o'
> | + INCLUDES='-I ../nfdump-1.5.7 -I /usr/local/rrdtool/include'
> | + CC='gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> | -D_FILE_OFFSET_BITS=64 -g -O2'
> | + gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -g
> | -O2 -c -I ../nfdump-1.5.7 -I /usr/local/rrdtool/include nftrack.c
> | In file included from nftrack.c:62:
> | ../nfdump-1.5.7/nftree.h:96: error: expected specifier-qualifier-list
> before
> | 'RB_ENTRY'
> | ../nfdump-1.5.7/nftree.h:102: error: expected specifier-qualifier-list
> | before 'RB_ENTRY'
> | In file included from nftrack.c:63:
> | ../nfdump-1.5.7/nfdump.h:56: error: function definition declared
> 'typedef'
> | ../nfdump-1.5.7/nfdump.h: In function 'RB_HEAD':
> | ../nfdump-1.5.7/nfdump.h:56: error: expected declaration specifiers
> before
> | 'IPlist_t'
> | ../nfdump-1.5.7/nfdump.h:59: error: expected '=', ',', ';', 'asm' or
> | '__attribute__' before 'ULongtree_t'
> | ../nfdump-1.5.7/nfdump.h:75: error: expected declaration specifiers
> before
> | 'RB_PROTOTYPE'
> | ../nfdump-1.5.7/nfdump.h:77: error: expected declaration specifiers
> before
> | 'RB_PROTOTYPE'
> | In file included from nftrack.c:64:
> | ../nfdump-1.5.7/util.h:58: error: storage class specified for parameter
> | 'stringlist_t'
> | ../nfdump-1.5.7/util.h:60: error: expected ')' before '*' token
> | ../nfdump-1.5.7/util.h:62: error: expected ')' before '*' token
> | In file included from nftrack.c:65:
> | ../nfdump-1.5.7/grammar.h:80: warning: empty declaration
> | y.tab.h:136: error: storage class specified for parameter 'YYSTYPE'
> | y.tab.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before
> | 'yylval'
> | In file included from nftrack.c:67:
> | nftrack_stat.h:5: error: storage class specified for parameter
> | 'data_element'
> | nftrack_stat.h:8: error: expected specifier-qualifier-list before
> | 'data_element'
> | nftrack_stat.h:9: error: storage class specified for parameter
> 'data_row'
> | nftrack_stat.h:12: warning: empty declaration
> | nftrack_stat.h:13: warning: empty declaration
> | nftrack_stat.h:21: error: expected declaration specifiers before
> 'data_row'
> | nftrack_stat.h:23: error: expected ')' before '*' token
> | nftrack_stat.h:25: error: expected ')' before '*' token
> | In file included from nftrack.c:68:
> | nftrack_rrd.h:4: error: expected declaration specifiers or '...' before
> | 'data_row'
> | nftrack_rrd.h:6: error: expected declaration specifiers before
> 'data_row'
> | nftrack_rrd.h:12: error: redefinition of parameter 'ISO2UNIX'
> | ../nfdump-1.5.7/util.h:70: error: previous definition of 'ISO2UNIX' was
> here
> | nftrack.c:74: error: storage class specified for parameter 'yydebug'
> | nftrack.c:82: error: storage class specified for parameter 'rcsid'
> | nftrack.c:82: error: parameter 'rcsid' is initialized
> | nftrack.c:85: error: storage class specified for parameter 'usage'
> | nftrack.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before
> | '*' token
> | nftrack.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before
> | '{' token
> | nftrack.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__'
> | before '*' token
> | nftrack.c:264: error: expected '=', ',', ';', 'asm' or '__attribute__'
> | before '{' token
> | nftrack.c:85: error: declaration for parameter 'usage' but no such
> parameter
> | nftrack.c:82: error: declaration for parameter 'rcsid' but no such
> parameter
> | nftrack.c:79: error: declaration for parameter 'packet_limit' but no
> such
> | parameter
> | nftrack.c:79: error: declaration for parameter 'byte_limit' but no such
> | parameter
> | nftrack.c:78: error: declaration for parameter 'packet_mode' but no such
> | parameter
> | nftrack.c:78: error: declaration for parameter 'byte_mode' but no such
> | parameter
> | nftrack.c:77: error: declaration for parameter 'Engine' but no such
> | parameter
> | nftrack.c:74: error: declaration for parameter 'yydebug' but no such
> | parameter
> | nftrack_rrd.h:12: error: declaration for parameter 'ISO2UNIX' but no
> such
> | parameter
> | nftrack_rrd.h:10: error: declaration for parameter 'RRD_First' but no
> such
> | parameter
> | nftrack_rrd.h:8: error: declaration for parameter 'RRD_LastUpdate' but
> no
> | such parameter
> | nftrack_rrd.h:4: error: declaration for parameter 'RRD_StoreDataRow' but
> no
> | such parameter
> | nftrack_rrd.h:2: error: declaration for parameter 'CreateRRDBs' but no
> such
> | parameter
> | nftrack_stat.h:19: error: declaration for parameter 'InitStatFile' but
> no
> | such parameter
> | nftrack_stat.h:17: error: declaration for parameter 'CloseStat' but no
> such
> | parameter
> | nftrack_stat.h:15: error: declaration for parameter 'InitStat' but no
> such
> | parameter
> | nftrack_stat.h:9: error: declaration for parameter 'data_row' but no
> such
> | parameter
> | nftrack_stat.h:5: error: declaration for parameter 'data_element' but no
> | such parameter
> | y.tab.h:136: error: declaration for parameter 'YYSTYPE' but no such
> | parameter
> | ../nfdump-1.5.7/util.h:76: error: declaration for parameter 'Setv6Mode'
> but
> | no such parameter
> | ../nfdump-1.5.7/util.h:74: error: declaration for parameter
> | 'GetCurrentFilename' but no such parameter
> | ../nfdump-1.5.7/util.h:72: error: declaration for parameter
> | 'SetupInputFileSequence' but no such parameter
> | ../nfdump-1.5.7/util.h:70: error: declaration for parameter 'ISO2UNIX'
> but
> | no such parameter
> | ../nfdump-1.5.7/util.h:68: error: declaration for parameter 'UNIX2ISO'
> but
> | no such parameter
> | ../nfdump-1.5.7/util.h:66: error: declaration for parameter 'TimeString'
> but
> | no such parameter
> | ../nfdump-1.5.7/util.h:64: error: declaration for parameter
> 'ScanTimeFrame'
> | but no such parameter
> | ../nfdump-1.5.7/util.h:58: error: declaration for parameter
> 'stringlist_t'
> | but no such parameter
> | ../nfdump-1.5.7/nfdump.h:72: error: declaration for parameter
> | 'ScreenIdentString' but no such parameter
> | ../nfdump-1.5.7/nfdump.h:70: error: declaration for parameter
> | 'ScreenIPString' but no such parameter
> | ../nfdump-1.5.7/nfdump.h:68: error: declaration for parameter 'lex_init'
> but
> | no such parameter
> | ../nfdump-1.5.7/nfdump.h:66: error: declaration for parameter
> 'lex_cleanup'
> | but no such parameter
> | ../nfdump-1.5.7/nfdump.h:64: error: declaration for parameter 'yylex'
> but no
> | such parameter
> | ../nfdump-1.5.7/nfdump.h:62: error: declaration for parameter 'yyparse'
> but
> | no such parameter
> | nftrack.c:459: error: expected '{' at end of input
> | + gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -g
> | -O2 -c -I ../nfdump-1.5.7 -I /usr/local/rrdtool/include nftrack_rrd.c
> | + gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -g
> | -O2 -c -I ../nfdump-1.5.7 -I /usr/local/rrdtool/include nftrack_stat.c
> | + gcc -o nftrack nftrack.o nftrack_rrd.o nftrack_stat.o ../nfdump-1.5.7
> /util.o
> | ../nfdump-1.5.7/nftree.o ../nfdump-1.5.7/grammar.o ../nfdump-1.5.7
> /scanner.o
> | ../nfdump-1.5.7/nffile.o ../nfdump-1.5.7/nf_common.o
> | ../nfdump-1.5.7/panonymizer.o
> | ../nfdump-1.5.7/rijndael.o ../nfdump-1.5.7/ipconv.o
> -L/usr/local/rrdtool/lib
> | -lrrd -L/usr/X11R6/lib -L/usr/local/lib
> | gcc: nftrack.o: No such file or directory
>
>
>
> - --
> _______ SWITCH - The Swiss Education and Research Network ______
> Peter Haag,  Security Engineer,  Member of SWITCH CERT
> PGP fingerprint: D9 31 D5 83 03 95 68 BA  FB 84 CA 94 AB FC 5D D7
> SWITCH, Werdstrasse 2, P.O. Box,  CH-8021   Zurich, Switzerland
> E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (Darwin)
>
> iQCVAwUBR8e4yP5AbZRALNr/AQLGAwQAoOW8/7ouze5MKzv+fbwmqTtGaxr3iglD
> lWP2o8Ke3oFr+Mop1/iWGtM8uORpgVmxcH70v64E9YBrtG7AwTFDdETALa/xYOfE
> SRsTsoFxAGN/c9WdWVhoeDRNdrhrjwyhEDCKKSkzzmOUvMmTrv2YWscMEJO6Lq6t
> M4dBNz9/4Qs=
> =xdzE
> -----END PGP SIGNATURE-----
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to