From owner-freebsd-current@freebsd.org Thu Dec 24 12:07:32 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49485A50BB3 for ; Thu, 24 Dec 2015 12:07:32 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F6BA180B for ; Thu, 24 Dec 2015 12:07:31 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1aC4cR-0019mN-JW>; Thu, 24 Dec 2015 13:03:43 +0100 Received: from f052008097.adsl.alicedsl.de ([78.52.8.97] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1aC4cR-002zuE-CA>; Thu, 24 Dec 2015 13:03:43 +0100 Date: Thu, 24 Dec 2015 13:03:36 +0100 From: "O. Hartmann" To: FreeBSD CURRENT Subject: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6'; Message-ID: <20151224130336.1e62fe7a.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/+txmLGkJWs58FawhmkbtKp3"; protocol="application/pgp-signature" X-Originating-IP: 78.52.8.97 X-ZEDAT-Hint: A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 12:07:32 -0000 --Sig_/+txmLGkJWs58FawhmkbtKp3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Building kernel on r292688 fails with the error shown below: [...] cc -O2 -pipe -O3 -O3 -pipe -march=3Dnative -fno-strict-aliasing -Werror -= D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I/usr/src/sys -fno-com= mon -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys= /GATE -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W= all -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-sh= ow-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-poin= ter-sign -Wno-error-shift-negative-value -mno-aes -mno-avx -std=3Diso9899:1999 -c /usr/src/sys/modules/isci/../../dev/isci/scil/scif_sas_smp_remote_device= .c -o scif_sas_smp_remote_device.o --- all_subdir_iwnfw --- --- iwn5150fw.ko --- = ld -d -warn-common -r -d -o iwn5150fw.ko iwlwifi-5150-8.24.2.2.fw.fwo iwn5150fw.o= :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iwn5150fw.ko export_sym= s | xargs -J% objcopy % iwn5150fw.ko --- all_subdir_ix --- --- ix_txrx.o --- /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:4: error: use of = undeclared identifier 'ip6'; did you mean 'ip'? ip6 =3D (struct ip6_hdr *)(l3d); ^~~ ip /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note: 'ip' dec= lared here struct ip *ip; ^ /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: e= rror: incompatible pointer types assigning to 'struct ip *' from 'struct ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 =3D (struct ip6_hdr *)(l3d); ^ ~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:8= 14:14: error: use of undeclared identifier 'ip6' ipproto =3D ip6->ip6_nxt; ^ --- all_subd= ir_isci --- --Sig_/+txmLGkJWs58FawhmkbtKp3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWe98YAAoJEOgBcD7A/5N8eaYH/3b8RjYbezDLuQpbG8/cdS5K XUgPuHpxM47NgjVd48i9HdXSrNM6YzCVoxnj7oBbeUUqvid2QL9aLQGndkVePK2f yoRxkhKZCsj2m2heEuhBcH6ywmHKrkSXdqeVx6/VIGDNof5WcX6RBOk5Vu9yjHNe 5HrDM+iI8YLcQki23obOm5Rxn8RmYwW4X7/MmZvEZVQ+JlqCj3my5QCn9986D0d2 x+H/7MssgGZizXb1K0sMKlonWaORfzgUjCPc4VzPm8F7XIWbOONtzZ6pWcDE53s9 tkJgPdaFc+HnnbmC22LaAJ6OVmDU11Afa+cIB2eelyLc0j40OVSNMLhpsBKcO1c= =VIz+ -----END PGP SIGNATURE----- --Sig_/+txmLGkJWs58FawhmkbtKp3--