Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] iproute2 doesn't build
@ 2015-10-16 13:02 Toke Høiland-Jørgensen
  2015-10-16 13:20 ` Jonathan Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2015-10-16 13:02 UTC (permalink / raw)
  To: cake

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-16 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-16 13:02 [Cake] iproute2 doesn't build Toke Høiland-Jørgensen
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox