From owner-freebsd-current@freebsd.org Thu Dec 24 16:34:52 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 3E750A51D4D for ; Thu, 24 Dec 2015 16:34:52 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 2794812A4 for ; Thu, 24 Dec 2015 16:34:51 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.200.208] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 6B65B192AD7; Thu, 24 Dec 2015 16:34:50 +0000 (UTC) Subject: Re: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6'; To: "O. Hartmann" , FreeBSD CURRENT References: <20151224130336.1e62fe7a.ohartman@zedat.fu-berlin.de> From: Sean Bruno Message-ID: <567C1EA9.8020601@freebsd.org> Date: Thu, 24 Dec 2015 08:34:49 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151224130336.1e62fe7a.ohartman@zedat.fu-berlin.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 16:34:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/24/15 04:03, O. Hartmann wrote: > Building kernel on r292688 fails with the error shown below: > > [...] cc -O2 -pipe -O3 -O3 -pipe -march=native > -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-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer > -I/usr/obj/usr/src/sys/GATE -mcmodel=kernel -mno-red-zone -mno-mmx > -mno-sse -msoft-float -fno-asynchronous-unwind-tables > -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs > -fdiagnostics-show-option -Wno-unknown-pragmas > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -Wno-error-unused-function > -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-aes > -mno-avx -std=iso9899: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_syms | 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 = (struct > ip6_hdr *)(l3d); ^~~ ip > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note: > 'ip' declared here struct ip *ip; ^ > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: error: > incompatible pointer types assigning to 'struct ip *' from 'struct > ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 = (struct > ip6_hdr *)(l3d); ^ ~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:814:14: error: > use of undeclared identifier 'ip6' ipproto = ip6->ip6_nxt; ^ --- > all_subdir_isci --- > Is this just GENERIC? Or custom kernconf? sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWfB6lXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k6PoH/1klrjNtBwY3ZtF8VOCxxlMi GgLEma2tdOj4juSxtwLv5IYlbvUN+5KjBrqixBxI3EewrgD4FwG8caXpRcczpnwS LPQbk341u1QGiDfjQ2BddOd3tgVj1IIJwivMNZjmyhajD203TGQ1Fjx+UeT2QrzX vsLtre5T9aS5pCgWaD9KHIZ8hfsxvp1DakAGF1AKRfHl5AEENQPvgv6o+jLmGTxv jx5TeKtdKd65eEwWLmeTvD4XwRYJSSZQPZxrDeF5YCpf6Qunsi4FAIuHQ1sIXLqi KT5KNnvayz4TdFGEdBjl077gUwP31GBzGE9R7DuDD/MDeZNhUZSGMaq6P8FcdWA= =Lazt -----END PGP SIGNATURE-----