Date: Thu, 07 Apr 2016 15:40:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 207840] Driver ix-3.1.14 not work without 'options INET6' Message-ID: <bug-207840-2472-qhqLfaUxiu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207840-2472@https.bugs.freebsd.org/bugzilla/> References: <bug-207840-2472@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207840 Jeff Pieper <jeffrey.e.pieper@intel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey.e.pieper@intel.com --- Comment #3 from Jeff Pieper <jeffrey.e.pieper@intel.com> --- 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 'i= p'? ip6 =3D (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 =3D (struct ip6_hdr *)(l3d); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ix_txrx.c:815:14: error: use of undeclared identifier 'ip6'; did you mean '= ip'? ipproto =3D 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 =3D 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.=20 We will investigate. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207840-2472-qhqLfaUxiu>