struct nl_addr definition on Ubuntu

Thomas Graf tgraf at infradead.org
Mon Apr 19 06:54:46 EDT 2010


On Wed, Mar 17, 2010 at 08:31:49PM -0400, Pavel Roskin wrote:
> On Wed, 2010-03-17 at 19:37 +0000, Pedro Francisco wrote:
> 
> > Anyway, bug filled!
> > 
> > https://bugs.launchpad.net/ubuntu/+source/libnl/+bug/540432
> 
> Actually, netlink-types.h is called "private" in a comment inside that
> file, that's probably the reason why it wasn't packaged.
> 
> On the other hand, "make install" in the current libnl would install
> netlink-types.h. The same it true for the "version 1.1" commit.
> 
> I don't know whether it's right to install netlink-types.h. If users of
> the library legitimately need the size of nl_addr, then netlink-types.h
> should be installed, or perhaps nl_addr should be defined elsewhere.
> Otherwise, Ubuntu does the right thing and "make install" should not
> install netlink-types.h.

Actually this is a bug. Only header files in netlink/ should be installed.
Data structures are kept private to allow their expansion without breaking
ABI constantly. This bug was introduced when the Makefiles got converted to
automake and I did not notice the additionally installed header files.



More information about the libnl mailing list