Hi,

I'm trying to install nfdump-snapshot-1.5.7-20080815 on a fresh install
of Ubuntu 8 (2.6.24-19-server). After running 'make' I get the attached
errors. I run configure with
 ./configure --enable-nfprofile --prefix=/data/netflow/nfdump
When I run the configure without '--enable-nfprofile' it compiles
without any problem.

What am I doing wrong (previous similar installs on Gentoo systems
compiled without any problem)?

Any help is appreciated,

Koen
-- 
Koen Van Impe - BELNET CERT
[EMAIL PROTECTED]
PGP Key Id 0xED12AD79
Contact: http://cert.belnet.be/
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfcapd.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   collector.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   minilzo.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nffile.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfx.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nf_common.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   util.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   flist.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   panonymizer.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   rijndael.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   fts_compat.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfnet.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   netflow_v9.c
inline.c:175: warning: ‘Put_val24’ defined but not used
inline.c:198: warning: ‘Put_val40’ defined but not used
inline.c:225: warning: ‘Put_val56’ defined but not used
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   netflow_v5_v7.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   launch.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   bookkeeper.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   expire.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfstatfile.c
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn  -o nfcapd nfcapd.o collector.o 
minilzo.o nffile.o nfx.o nf_common.o util.o flist.o panonymizer.o rijndael.o 
fts_compat.o nfnet.o netflow_v9.o netflow_v5_v7.o launch.o bookkeeper.o 
expire.o nfstatfile.o  -lresolv
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfdump.c
bison -y -d -v grammar.y
mv y.tab.c grammar.c
mv y.tab.h grammar.h
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   grammar.c
flex -i scanner.l 
mv lex.yy.c scanner.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   scanner.c
lex.yy.c:1981: warning: no previous prototype for ‘yyget_lineno’
lex.yy.c:1990: warning: no previous prototype for ‘yyget_in’
lex.yy.c:1998: warning: no previous prototype for ‘yyget_out’
lex.yy.c:2006: warning: no previous prototype for ‘yyget_leng’
lex.yy.c:2015: warning: no previous prototype for ‘yyget_text’
lex.yy.c:2024: warning: no previous prototype for ‘yyset_lineno’
lex.yy.c:2036: warning: no previous prototype for ‘yyset_in’
lex.yy.c:2041: warning: no previous prototype for ‘yyset_out’
lex.yy.c:2046: warning: no previous prototype for ‘yyget_debug’
lex.yy.c:2051: warning: no previous prototype for ‘yyset_debug’
lex.yy.c:2085: warning: no previous prototype for ‘yylex_destroy’
lex.yy.c:1485: warning: ‘yyunput’ defined but not used
lex.yy.c: In function ‘yy_fatal_error’:
lex.yy.c:1953: warning: function might be possible candidate for attribute 
‘noreturn’
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nftree.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   ipconv.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfstat.c
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfprof.c
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   -o nfdump nfdump.o minilzo.o 
nffile.o nfx.o nf_common.o util.o flist.o panonymizer.o rijndael.o fts_compat.o 
grammar.o scanner.o nftree.o ipconv.o  nfstat.o nfprof.o  -lresolv
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfreplay.c
nfreplay.c: In function ‘FlushBuffer’:
nfreplay.c:168: warning: implicit declaration of function ‘__fpurge’
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   -o nfreplay nfreplay.o minilzo.o 
nffile.o nfx.o nf_common.o util.o flist.o panonymizer.o rijndael.o fts_compat.o 
grammar.o scanner.o nftree.o ipconv.o  nfprof.o nfnet.o collector.o 
netflow_v9.o netflow_v5_v7.o  -lresolv
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfexpire.c
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   -o nfexpire nfexpire.o expire.o 
bookkeeper.o nfstatfile.o util.o fts_compat.o 
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nftest.c
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   -o nftest nftest.o minilzo.o 
nffile.o nfx.o nf_common.o util.o flist.o panonymizer.o rijndael.o fts_compat.o 
grammar.o scanner.o nftree.o ipconv.o   -lresolv
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfgen.c
gcc  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   -o nfgen nfgen.o util.o nffile.o 
nfx.o minilzo.o   -lresolv
gcc  -c  -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn   nfprofile.c
nfprofile.c: In function ‘process_data’:
nfprofile.c:271: warning: passing argument 1 of ‘Insert_Extension_Map’ from 
incompatible pointer type
nfprofile.c:271: error: too few arguments to function ‘Insert_Extension_Map’
make: *** [nfprofile.o] Error 1

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to