Skip to contentSkip to conversation

Upstream kernel build failures in include/net/tcp.h

DISCUSSION Guenter Roeck 2 participants 2 messages Oct 19, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I am getting lots of build failures with the latest upstream kernel.

In file included from net/core/sock.c:140:0:
include/net/tcp.h: In function 'tcp_v6_iif':
include/net/tcp.h:738:32: error: 'union <anonymous>' has no member named 'h6'

This may have been introduced by 870c3151382 ("ipv6: introduce tcp_v6_iif()"). From the context, it looks like it happens if CONFIG_IPV6 is not enabled.

For details and failed configurations see the 'master' column at
http://server.roeck-us.net:8010/builders.

Guenter

#1 lore raw
Quoted 8 lines · Guenter Roeck

Hi,

I am getting lots of build failures with the latest upstream kernel.

In file included from net/core/sock.c:140:0:
include/net/tcp.h: In function 'tcp_v6_iif':
include/net/tcp.h:738:32: error: 'union <anonymous>' has no member named 'h6'

Quoted 7 lines

This may have been introduced by 870c3151382 ("ipv6: introduce tcp_v6_iif()").
From the context, it looks like it happens if CONFIG_IPV6 is not enabled.

For details and failed configurations see the 'master' column at
http://server.roeck-us.net:8010/builders.

Guenter

I sent the fix this morning, and it is in David net tree

http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=815afe1785da727ee48cd8e63ac4a3ec6c7459b3

Thanks