netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem compiling libipq example
@ 2010-05-12 21:16 Zerouali Mehdi
       [not found] ` <AANLkTimepNQyRqTryraxJuAPV6_zgt3CkC0beCd86O-z@mail.gmail.com>
  2010-05-13  7:58 ` Jan Engelhardt
  0 siblings, 2 replies; 4+ messages in thread
From: Zerouali Mehdi @ 2010-05-12 21:16 UTC (permalink / raw)
  To: Netfilter Mailing list

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-13  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 21:16 Problem compiling libipq example Zerouali Mehdi
     [not found] ` <AANLkTimepNQyRqTryraxJuAPV6_zgt3CkC0beCd86O-z@mail.gmail.com>
2010-05-13  7:49   ` Zerouali Mehdi
2010-05-13  7:58 ` Jan Engelhardt
2010-05-13  9:43   ` Zerouali Mehdi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).