Link problems with libxtables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having problems using a member function of libxtables:

g++ main.cpp Firewall.cpp Rule.cpp Match.cpp IP4Addr.cpp -lxtables -liptc
/tmp/cce5IKHM.o: In function `print_match(xt_entry_match const*,
ipt_ip const*, int)':
Firewall.cpp:(.text+0x326): undefined reference to
`xtables_find_match(char const*, xtables_tryload,
xtables_rule_match**)'
collect2: ld returned 1 exit status
make: *** [all] Error 1

I understand this is most likely a link problem, can someone point me
in the right direction ?

--
Michael Lawson
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux