Compilation error

Thomas Graf tgraf at infradead.org
Thu Aug 11 08:57:34 EDT 2011


On Tue, Jul 26, 2011 at 06:33:16PM +0530, Nishant wrote:
> Hi,
> 
> I have problem with compilation of libnl 3.0 library. I am getting same error with older version of release as well.
> I have dowloaded libnl package from "http://www.infradead.org/~tgr/libnl/".
> I am using RHEL 4 with 2.6.9 kernel.
> 
> The main error I am getting is:
>  ../include/linux/netfilter/nfnetlink.h:39: error: syntax error before "__be16"
> ../include/linux/netfilter/nfnetlink.h:39: warning: no semicolon at end of struct or union
> 
> Please find attached compilation log for more details.
> 
> Please help me to resolve this issue.

After consulting the sources, nfnetlink as implemented in libnl probably won't work
with a 2.6.9 kernel.



More information about the libnl mailing list