[Bug 743] New: Errors in compiling nfqnl_test.c
bugzilla-daemon at bugzilla.netfilter.org
bugzilla-daemon at bugzilla.netfilter.org
Wed Aug 31 20:03:16 CEST 2011
http://bugzilla.netfilter.org/show_bug.cgi?id=743
Summary: Errors in compiling nfqnl_test.c
Product: netfilter/iptables
Version: linux-2.6.x
Platform: All
OS/Version: Ubuntu
Status: NEW
Severity: enhancement
Priority: P5
Component: netfilter hooks
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: rachushah83 at gmail.com
Estimated Hours: 0.0
Hi,
I have installed iptables, libnfnetlink and libnetfilter_queue on Ubuntu 10.04
and kernel version 2.6.32
When I try to compile nfqnl_test.c, I get following errors.
/tmp/cclJyK12.o: In function `print_pkt(nfq_data*)':
nfqnl_test.c:(.text+0x15): undefined reference to `nfq_get_msg_packet_hdr'
nfqnl_test.c:(.text+0x73): undefined reference to `nfq_get_nfmark'
nfqnl_test.c:(.text+0x9a): undefined reference to `nfq_get_indev'
nfqnl_test.c:(.text+0xc1): undefined reference to `nfq_get_outdev'
nfqnl_test.c:(.text+0xef): undefined reference to `nfq_get_payload'
/tmp/cclJyK12.o: In function `cb(nfq_q_handle*, nfgenmsg*, nfq_data*, void*)':
nfqnl_test.c:(.text+0x173): undefined reference to `nfq_set_verdict'
/tmp/cclJyK12.o: In function `main':
nfqnl_test.c:(.text+0x1a8): undefined reference to `nfq_open'
nfqnl_test.c:(.text+0x204): undefined reference to `nfq_unbind_pf'
nfqnl_test.c:(.text+0x25c): undefined reference to `nfq_bind_pf'
nfqnl_test.c:(.text+0x2c4): undefined reference to `nfq_create_queue'
nfqnl_test.c:(.text+0x328): undefined reference to `nfq_set_mode'
nfqnl_test.c:(.text+0x36c): undefined reference to `nfq_fd'
nfqnl_test.c:(.text+0x39a): undefined reference to `nfq_handle_packet'
nfqnl_test.c:(.text+0x3f8): undefined reference to `nfq_destroy_queue'
nfqnl_test.c:(.text+0x410): undefined reference to `nfq_close'
collect2: ld returned 1 exit status
Can you please guide me to resolve the issue?
Thanks.
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
More information about the netfilter-buglog
mailing list