problem with netlink-kernel.h
Thomas Graf
tgraf at infradead.org
Wed Mar 16 08:06:18 EDT 2011
Gery,
On Mon, Jan 03, 2011 at 09:27:40AM +0200, Kahn, Gery wrote:
> There is header file netlink-kernel.h
> It is , i understand, copy of header file from kernel.
> The header file handlers.h includes the netlink-kernel.h
> This demands to copy netlink-kernel.h while command `make install'
>
> Now, there is situation while libc also has file netlink.h with definition
> of the same structures. As a result, compiler complains about redefinition,
> for example 'struct sockaddr_nl'.
>
> Can the libnl use the kernel header from kernel source, without coping it?
> Any other solution would be welcome :)
>
> I found this problem while compiling wpa_supplicant.
Sorry it took so long. The issue has been fixed in the git tree.
Thanks!
More information about the libnl
mailing list