struct nl_addr definition on Ubuntu

Pavel Roskin proski at gnu.org
Thu Apr 22 17:45:45 EDT 2010


On Mon, 2010-04-19 at 06:54 -0400, Thomas Graf wrote:
> 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.

The fix breaks "make distcheck":

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../lib -Wall
-I../../include -D_GNU_SOURCE -g -O2 -MT addr.lo -MD -MP
-MF .deps/addr.Tpo -c ../../lib/addr.c  -fPIC -DPIC -o .libs/addr.o
../../lib/addr.c:28:27: error: netlink-local.h: No such file or
directory

The headers should still be in Makefile.am, but they should use the
"noinst" prefix.

Actually, there are many more headers that should be added to
noinst_HEADERS, e.g. all headers under include/linux/

-- 
Regards,
Pavel Roskin



More information about the libnl mailing list