Date: Thu, 24 Dec 2015 21:03:54 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Sean Bruno <sbruno@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6'; Message-ID: <20151224210354.3bb889fb.ohartman@zedat.fu-berlin.de> In-Reply-To: <567C1EA9.8020601@freebsd.org> References: <20151224130336.1e62fe7a.ohartman@zedat.fu-berlin.de> <567C1EA9.8020601@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Zro==sC3aOW7nDn.KNxHK5y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Thu, 24 Dec 2015 08:34:49 -0800 Sean Bruno <sbruno@freebsd.org> schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 >=20 >=20 > On 12/24/15 04:03, O. Hartmann wrote: > > 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-common -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 -Wall -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes=20 > > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign=20 > > -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs > > -fdiagnostics-show-option -Wno-unknown-pragmas > > -Wno-error-tautological-compare -Wno-error-empty-body=20 > > -Wno-error-parentheses-equality -Wno-error-unused-function > > -Wno-error-pointer-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_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 =3D (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:=20 > > 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:=20 > > use of undeclared identifier 'ip6' ipproto =3D ip6->ip6_nxt; ^ --- > > all_subdir_isci --- > > =20 >=20 >=20 > Is this just GENERIC? Or custom kernconf? >=20 > sean > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 >=20 > iQF8BAEBCgBmBQJWfB6lXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w > ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx > MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k6PoH/1klrjNtBwY3ZtF8VOCxxlMi > GgLEma2tdOj4juSxtwLv5IYlbvUN+5KjBrqixBxI3EewrgD4FwG8caXpRcczpnwS > LPQbk341u1QGiDfjQ2BddOd3tgVj1IIJwivMNZjmyhajD203TGQ1Fjx+UeT2QrzX > vsLtre5T9aS5pCgWaD9KHIZ8hfsxvp1DakAGF1AKRfHl5AEENQPvgv6o+jLmGTxv > jx5TeKtdKd65eEwWLmeTvD4XwRYJSSZQPZxrDeF5YCpf6Qunsi4FAIuHQ1sIXLqi > KT5KNnvayz4TdFGEdBjl077gUwP31GBzGE9R7DuDD/MDeZNhUZSGMaq6P8FcdWA=3D > =3DLazt > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" a custom kernel, excluded is INET6 - as you stated. After the patch the error went away.=20 Thank you very much. oh --Sig_/Zro==sC3aOW7nDn.KNxHK5y Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWfE+rAAoJEOgBcD7A/5N8xzUH/0tGR8cWeD7jV6bcpRAF+9BA fmJ7HvSo0WmydCv7twt6mEbiv8E+WsNk60eGgROxhwnF1yVR4KQOLqpXjHpC+Ncu 5Ji7cQDhS3FWbzaKKfY2GukrYQKWMyzcuLdsv6izv0iIbCYIuZm+/33pXxiZd/1e GxY/PTj5f5LMZzTsGtXqFHnjGUK2Gcqk97SlFidVK72oF6EAafF6jJOPZ7Pyb5b7 eYQDg4t4I7VFIqOXc9dgSpZaA5XW4gZaq7wIH5DDSGtv2cZGhi79FnjO+8Xe5e0h 4qVxFDRuupnfgSEAAbMan4XwqilVS7pxWG0w5v46cyHlmzKzf0QwbTJo7AfpBjM= =tbXu -----END PGP SIGNATURE----- --Sig_/Zro==sC3aOW7nDn.KNxHK5y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151224210354.3bb889fb.ohartman>