Hi Paolo,

I compiled it on a system without pf_ring installed and it compiled OK.

Regards,
Steve

On 11/09/2016 07:52 AM, Paolo Lucente wrote:
Hi Steve,

This is the same issue as described here:

https://github.com/pmacct/pmacct/issues/40

See the wontfix flag, i'm unable to reproduce the issue. If you solve it
yourself, please contribute a patch. I'd be fully to look into it for
you but it smells i need (unprivileged) access to the box.

Cheers,
Paolo


On Wed, Nov 09, 2016 at 07:22:36AM -0500, Stephen Clark wrote:
Hi,

I get the following error when trying to build 1.6.1 on CentOS 6.0

   CCLD   pmacctd
/usr/local/lib/libpcap.a(bpf_filter.o): In function `bpf_validate':
(.text+0x0): multiple definition of `bpf_validate'
./.libs/libdaemons.a(libdaemons_la-bpf_filter.o):/var/lib/pgsql/sclark/pmacct-1.6.1/src/bpf_filter.c:528:
first defined here
/usr/local/lib/libpcap.a(bpf_filter.o): In function `bpf_filter':
(.text+0x590): multiple definition of `bpf_filter'
./.libs/libdaemons.a(libdaemons_la-bpf_filter.o):/var/lib/pgsql/sclark/pmacct-1.6.1/src/bpf_filter.c:201:
first defined here

PLATFORM ..... : x86_64
OS ........... : Linux 2.6.32-504.16.2.el6.x86_64
COMPILER ..... : gcc
CFLAGS ....... : -O2 -g -O2
LIBS ......... : -L/usr/pgsql-9.4/lib -ldl -L/usr/local/lib -lpfring
-lpcap -lrt -lnuma -lz -lpthread
LDFLAGS ...... : -Wl,--export-dynamic
PLUGINS ...... :

Is there a way to exclude pfring?

Thanks,
Steve


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


--

"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty
decreases."  (Thomas Jefferson)



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

Reply via email to