xtables - how to use kernel headers not located in /usr/include/ ?

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

 



Hi guys,

I'm trying to cross-compile xtables 1.4.7 for my arm device, I get
compilation error:
/usr/include/netinet/ip.h:47: error: redefinition of ‘struct iphdr’

I think the error is related with the fact that kernel source I need
to compile with is located elsewhere and not in /usr/include

How can I influence xtables to use specified kernel headers path?

So far I tried ./configure --with-ksource=/mypath and setting
KERNEL_DIR=/mypath, but without luck.

Thank you very much,

Jan
--
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