From owner-freebsd-current@freebsd.org Thu Dec 24 16:26:31 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 81DFDA51AA0 for ; Thu, 24 Dec 2015 16:26:31 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 595C61D99; Thu, 24 Dec 2015 16:26:31 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id e65so17763236pfe.1; Thu, 24 Dec 2015 08:26:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hLG58fLVKigjssEDnoTQjHYjVTM+4dVCCzFZCryxfxI=; b=wr0jQfXOlgSq9kz/sYlUWTK5ir/r9juhN48dEoxkwUklsBKjuDzZq3LtO5h+nRnyCb A7NgkBjtfSknwxUGzSmK4bh9ckPklZLuR0Cs0N2IByfnR77Og49Ghvjvao5coSt+XNwL YCzMSAfORFfdt7GWeXWs5Y6xcnZ+eXAhXailgCBJhdZrtZOBRP9aoQ8AT/KYCqKK6kf7 DQRdPTOPgYuyF9dOoAufBDAxCbt7NqEBf2YmRzLH18pUtNRArSwJia9dV1NsYZjud2rk Rky5GhpqjOkB+SzAZOdMEVQZEtDomy1GWaJwxRT5/W3zoxdgZ20ZScdtluz3dzjHCLNk 5u4A== X-Received: by 10.98.14.9 with SMTP id w9mr36601345pfi.146.1450974390972; Thu, 24 Dec 2015 08:26:30 -0800 (PST) Received: from [192.168.20.11] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id l66sm55177538pfj.71.2015.12.24.08.26.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Dec 2015 08:26:29 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6'; From: Garrett Cooper X-Mailer: iPhone Mail (13C75) In-Reply-To: <20151224130336.1e62fe7a.ohartman@zedat.fu-berlin.de> Date: Thu, 24 Dec 2015 08:26:28 -0800 Cc: FreeBSD CURRENT , sbruno@FreeBSD.org, erj@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20151224130336.1e62fe7a.ohartman@zedat.fu-berlin.de> To: "O. Hartmann" 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:26:31 -0000 > On Dec 24, 2015, at 04:03, O. Hartmann wrote= : >=20 > Building kernel on r292688 fails with the error shown below: >=20 > [...] > 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-co= mmon > -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sy= s/GATE > -mcmodel=3Dkernel -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-prototyp= es > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-s= how-option > -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-bod= y > -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-poi= nter-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_devic= e.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_sy= ms | 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' de= clared 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:= 814:14: error: > use of undeclared identifier 'ip6' ipproto =3D ip6->ip6_nxt; ^ --- all_sub= dir_isci --- Hi! I've CCed erj/sbruno.. Thanks! -NGie=