Hi,

I've just attempted to build pmacct with IPv6 support (./configure 
--enable-ipv6) and make fails. Here's the output:

$ make
Making all in src
make[1]: Entering directory `/home/nigelr/pmacct-0.11.0/src'
Making all in nfprobe_plugin
make[2]: Entering directory `/home/nigelr/pmacct-0.11.0/src/nfprobe_plugin'
gcc -O2  -DFLOW_SPLAY            -DEXPIRY_RB             -DPACKAGE=\"pmacctd\" 
-DVERSION=\"0.11.0\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_MMAP=1 
-DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 
-DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 
-DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 
-DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 
-DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1  -I. -I..   -c -o 
nfprobe_plugin.o nfprobe_plugin.c
nfprobe_plugin.c: In function 'ipv6_to_flowrec':
nfprobe_plugin.c:379: warning: passing argument 3 of 'transport_to_flowrec' 
makes pointer from integer without a cast
nfprobe_plugin.c:379: error: too few arguments to function 
'transport_to_flowrec'
make[2]: *** [nfprobe_plugin.o] Error 1
make[2]: Leaving directory `/home/nigelr/pmacct-0.11.0/src/nfprobe_plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nigelr/pmacct-0.11.0/src'
make: *** [all-recursive] Error 1

I changed line 379 of nfprobe_plugin.c to match the call to the same function 
in ipv4_to_flowrec and it compiled ok. I'm testing it now. 

Regards,
Nigel


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to