Summary: | ix-3.1.14 driver fails to build without 'options INET6' | ||
---|---|---|---|
Product: | Base System | Reporter: | Александр <null> |
Component: | misc | Assignee: | Bjoern A. Zeeb <bz> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | bz, jeffrey.e.pieper, net, null, piotr.pietruszewski, sbruno |
Priority: | --- | Keywords: | IntelNetworking, needs-qa |
Version: | 10.2-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Александр
2016-03-09 13:11:30 UTC
It looks like the module wasn't rebuilt with the new kernel configuration. Can you post your kernel configuration here just to make sure things are being rebuilt? (In reply to Sean Bruno from comment #1) Because the kernel configuration removed only 'options INET6' Thanks for the report. Without options INET6 defined in the kernel, removing the -DINET6 flag from the Makefile should allow the driver to load, but it doesn't compile: ix_txrx.c:813:4: error: use of undeclared identifier 'ip6'; did you mean 'ip'? ip6 = (struct ip6_hdr *)(l3d); ^~~ ip ix_txrx.c:730:13: note: 'ip' declared here struct ip *ip; ^ ix_txrx.c:813:8: error: incompatible pointer types assigning to 'struct ip *' from 'struct ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 = (struct ip6_hdr *)(l3d); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ix_txrx.c:815:14: error: use of undeclared identifier 'ip6'; did you mean 'ip'? ipproto = ip6->ip6_nxt; ^~~ ip ix_txrx.c:730:13: note: 'ip' declared here struct ip *ip; ^ ix_txrx.c:815:19: error: no member named 'ip6_ctlun' in 'struct ip' ipproto = ip6->ip6_nxt; ~~~ ^ @/netinet/ip6.h:89:18: note: expanded from macro 'ip6_nxt' #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt ^ 4 errors generated. We will investigate. Just to clarify, this was trying to compile an out-of-tree driver? This is probably bug for out-of-tree driver since in-kernel driver never had 3.1.14 version (after 3.1.13-k version there was 3.2.12-k version). This problem was resolved in 3.2.0 out-of-tree driver. (In reply to Piotr Pietruszewski from comment #5) I was just trying to get confirmation before closing it. So thanks for the update. I didn't expect you even solved that :) /bz |