Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: cake@lists.bufferbloat.net
Subject: [Cake] iproute2 doesn't build
Date: Fri, 16 Oct 2015 15:02:30 +0200	[thread overview]
Message-ID: <871tcv7yqh.fsf@toke.dk> (raw)

From the kau.toke.dk:cake/iproute2 repo:

$ make
make[1]: Entering directory '/home/alrua/build/debian/iproute2/lib'
gcc -Wall -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC   -c -o libgenl.o libgenl.c
gcc -Wall -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC   -c -o ll_map.o ll_map.c
gcc -Wall -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC   -c -o libnetlink.o libnetlink.c
ar rcs libnetlink.a libgenl.o ll_map.o libnetlink.o
gcc -Wall -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC   -c -o utils.o utils.c
In file included from utils.c:34:0:
../include/namespace.h:34:19: error: static declaration of 'setns' follows non-static declaration
 static inline int setns(int fd, int nstype)
                   ^
In file included from /usr/include/sched.h:41:0,
                 from ../include/namespace.h:4,
                 from utils.c:34:
/usr/include/x86_64-linux-gnu/bits/sched.h:91:12: note: previous declaration of 'setns' was here
 extern int setns (int __fd, int __nstype) __THROW;
            ^
<builtin>: recipe for target 'utils.o' failed
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory '/home/alrua/build/debian/iproute2/lib'
Makefile:45: recipe for target 'all' failed
make: *** [all] Error 2


This is on Debian Jessie.

-Toke

             reply	other threads:[~2015-10-16 13:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16 13:02 Toke Høiland-Jørgensen [this message]
2015-10-16 13:20 ` Jonathan Morton
2015-10-16 13:43   ` Kevin Darbyshire-Bryant
2015-10-16 14:57   ` Toke Høiland-Jørgensen
2015-10-16 14:59     ` Jonathan Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tcv7yqh.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=cake@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox