Problem compiling libipq example

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

 



Hello all,

I am using this mailing list as the last chance to get a solution to my
problem. I hope my simple question is not going to bother you too much.

I am trying to compile and run the simpliest program that uses libipq, the
man example program.

When I try to compile it, I get the following error code:

In file included from example.c:2:
/usr/include/linux/netfilter.h:55: error: field ‘in’ has incomplete type
/usr/include/linux/netfilter.h:56: error: field ‘in6’has incomplete type

It looks like there is a problem with the netfilter header, that is not
able to load the in.h and in6.h librairies.

I installed all the necessary tools:
iptables 1.4.7
libnetfilter_queue 0.0.17 (the actual successor of ip_queue)
libnfnetlink 1.0.0

I am using Ubuntu 9.10, with the 2.6.31-14 kernel.

I of course searched for any solutions, and found that this problem has
been encountered in the past. However, I didn't get any relevant
information. Thanks in advance for your precious advices.

Cheers,

-- 
Mehdi Zerouali
INSA Lyon Student
KTH Stockholm Student
--
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