No description
Find a file
Isaac 996b502961 FTBFS with musl libc: Missing includes
Hello,
libnl 3.2.9 does not build with musl libc, without patching.
I' using a current musl libc (http://www.etalabs.net/musl/)
with linux 2.6.32 headers.
At first there were a couple problems on the musl side, but those are
resolved.
However, I found some other issues:
First, two files were missing
#include <byteswap.h>:
lib/netfilter/log_msg.c
lib/netfilter/queue_msg.c
These files used __bswap_64 (which should be bswap_64), a macro
declared in byteswap.h

Second, I got this error after fixing that:

In file included from nf-queue.c:16:
./include/linux/netfilter.h:53: error: field in has incomplete type
./include/linux/netfilter.h:54: error: field in6 has incomplete type

I found that src/nf-queue.c is missing an
#include <netinet/in.h>

Attached is a patch which resolves these issues.  I've tested with both
musl and glibc, and it builds cleanly on both.
2012-05-13 11:18:28 +02:00
doc doc: documentation restructuring 2012-05-10 12:03:59 +02:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include doc: documentation restructuring 2012-05-10 12:03:59 +02:00
lib FTBFS with musl libc: Missing includes 2012-05-13 11:18:28 +02:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl-ctrl-list: Provide manual page 2012-04-20 15:19:41 +02:00
python python: Link against nl-3 and nl-route-3 2011-10-26 10:54:10 +02:00
src FTBFS with musl libc: Missing includes 2012-05-13 11:18:28 +02:00
tests u32: example/test code for u32 hashing with HTB 2012-05-08 23:17:53 +02:00
.gitignore 3.1 release 2011-08-11 14:30:24 +02:00
autogen.sh Move to automake-based build 2009-06-23 01:24:51 +02:00
ChangeLog Pushed to pre8 due to wrong version string in pre7 2007-11-21 18:24:11 +01:00
configure.in doc: documentation restructuring 2012-05-10 12:03:59 +02:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
Makefile.am tests: Convert tests/Makefile to use automake 2012-04-21 10:34:43 +02:00