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

* Re: [Cake] iproute2 doesn't build
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Morton @ 2015-10-16 13:20 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: cake

[-- Attachment #1: Type: text/plain, Size: 127 bytes --]

That doesn't look like code I've touched.  Perhaps tc-adv would work, but I
don't have commit access to it.

- Jonathan Morton

[-- Attachment #2: Type: text/html, Size: 182 bytes --]

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

* Re: [Cake] iproute2 doesn't build
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Kevin Darbyshire-Bryant @ 2015-10-16 13:43 UTC (permalink / raw)
  To: cake

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]



On 16/10/15 14:20, Jonathan Morton wrote:
>
> That doesn't look like code I've touched.  Perhaps tc-adv would work,
> but I don't have commit access to it.
>
> - Jonathan Morton
>
I can confirm that tc-adv as of commit
ad727bd0334ab7a1bcce7a62ccc1687601f9a16e compiles & works on bleeding
edge openwrt 'cos I'm running (and typing to you) through it :-)

I'm afraid I don't have an obvious & immediate means of testing the
source 'iproute2' repo.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]

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

* Re: [Cake] iproute2 doesn't build
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2015-10-16 14:57 UTC (permalink / raw)
  To: Jonathan Morton; +Cc: cake

Jonathan Morton <chromatix99@gmail.com> writes:

> That doesn't look like code I've touched. Perhaps tc-adv would work, but I don't
> have commit access to it.

Right, but the contents of that repository does build for you?

-Toke

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

* Re: [Cake] iproute2 doesn't build
  2015-10-16 14:57   ` Toke Høiland-Jørgensen
@ 2015-10-16 14:59     ` Jonathan Morton
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Morton @ 2015-10-16 14:59 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: cake


> On 16 Oct, 2015, at 17:57, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> 
> Jonathan Morton <chromatix99@gmail.com> writes:
> 
>> That doesn't look like code I've touched. Perhaps tc-adv would work, but I don't
>> have commit access to it.
> 
> Right, but the contents of that repository does build for you?

Both repos build for me.  It looks like Debian has a changed system header relative to my Gentoo box, though.

 - Jonathan Morton


^ 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