On Mon, Jan 16, 2012 at 12:22:02PM +0100, Andres Velasco Garcia wrote: > > I could not find a netfilter_queue RPM for Centos 6.2 so went to compile it (after successfully installing nfnetflink RPMs). > > The error I got was: > > make[1]: Entering directory `/home/dev/software/libnetfilter_queue-1.0.1/src' > CC libnetfilter_queue.lo > In file included from ../include/libnetfilter_queue/libnetfilter_queue.h:19, > from libnetfilter_queue.c:34: > ../include/libnetfilter_queue/linux_nfnetlink_queue.h:8:42: error: libnfnetlink/linux_nfnetlink.h: No such file or directory > > > I solved it by modifying the following header: > > libnetfilter_queue-1.0.1/include/libnetfilter_queue/linux_nfnetlink_queue.h > > as follows: > > //#include <libnfnetlink/linux_nfnetlink.h> > #include <linux/netfilter/nfnetlink.h> > > Am I missing something? You have to install libnfnetlink. Make sure the headers are installed in a place where libnetfilter_queue can find them. Alternatively: ./configure --prefix=/usr usually provides the expected result. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html