From owner-freebsd-current@freebsd.org Wed Jan 24 16:19:33 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9A92EDB3AA for ; Wed, 24 Jan 2018 16:19:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 34F528F9A5 for ; Wed, 24 Jan 2018 16:19:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id q8so5793263itb.2 for ; Wed, 24 Jan 2018 08:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=w4NXbLEPBkDi3PLzj74t675Fii/URGCDRy+mnnzHkys=; b=TDwslQTbHfU6iygllVtZ7JTJAhV8G0aEqxP+6/Sxtalmp+D/1FqydBLEoQ5L4HUNNx 7gllzTB0VSINwx2Ip9iNXzIpAsEg+SHES3n8aToNtpxCjNMNgq98aA+mxNbPjeiy7pmd /lBlfX+IJ0AtIIayekEN6RqaDrAn0l6NIuE8ICmSw6ogO2GJHfe8qKFI6KWmGU3BO9OT MEPe7/GbWk+Oj3cwdH6jUe1A2d11/v8bWx0FrrfdUaoX3xV7hq4Hg6da59v11EA1plkq aui6X3HHt751iEZlwEuCNvehC2d3a/dypUn80bza9pO9jYERV+n3ETJq2gC6+yEt8VxI GHyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=w4NXbLEPBkDi3PLzj74t675Fii/URGCDRy+mnnzHkys=; b=dqpU/w+L3PXzNagRVdPV9/qsTbfdC4t5QJQ//a95KX75gAFyWwbP+Va79WE8FestC8 ALz7dkJ7EG7m5nG6F2Vn62GECD81cGxr6z9GGgUYOJuZhvYNjh30CD78JQCqzbelpSOw Xexs7C9ySQIyz1+7GKXlhm3E05jMLk3lpm1JDcEdqtcCjxGcWyPPqzt5UHCFVNKIr+fT D97fvV0iiWOSMbPis/HdaCI2QQMrtHn2WgFeCF2aZozrh3R+HaSs3iXDwfjSjwU9gmtd ZTvDuUIiiVi2WxSirvjxfZK8HjnwWRr9Big2gnSMSjbzdYauYbmcL5E6ZfF7dsdlG8ra Ax3Q== X-Gm-Message-State: AKwxytdugB5VV4G/rbflAruF9yIMqfGV0kksQHEGAvc8gwgNKXWEMgEL 0Nw6r0QOFBfD7Ts9V+XYFxkM75AzcB5/KrJNLfYk1A== X-Google-Smtp-Source: AH8x227lEQtPPXUPQOxAG+xx/w/FxISnmMa8Em01GOQav7Q8zjCFwxiKUNEGgVP4+e9lhUTXryRILSBzUUWGOm2mhzA= X-Received: by 10.36.91.210 with SMTP id g201mr9275833itb.50.1516810772614; Wed, 24 Jan 2018 08:19:32 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Wed, 24 Jan 2018 08:19:31 -0800 (PST) X-Originating-IP: [50.227.106.226] In-Reply-To: References: From: Warner Losh Date: Wed, 24 Jan 2018 09:19:31 -0700 X-Google-Sender-Auth: gyq-r2MQwslP330G8_l8_SIrl4Y Message-ID: Subject: Re: Error compiling isboot-kmod To: Maurizio Vairani Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Wed, 24 Jan 2018 16:19:33 -0000 On Wed, Jan 24, 2018 at 3:12 AM, Maurizio Vairani wrote: > On this CURRENT snapshot > # uname -a > FreeBSD freebsd12 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327788: Wed Jan 10 > 22:55:40 UTC 2018 > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 > > I can't compile the kernel module isboot-kmod: > # cd /usr/ports/net/isboot-kmod && make > ===> License BSD2CLAUSE accepted by the > user > > ===> isboot-kmod-0.2.13_1 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by isboot-kmod-0.2.13_1 for building > ===> Extracting for isboot-kmod-0.2.13_1 > => SHA256 Checksum OK for isboot-0.2.13.tar.gz. > ===> Patching for isboot-kmod-0.2.13_1 > ===> Applying FreeBSD patches for isboot-kmod-0.2.13_1 > ===> Configuring for isboot-kmod-0.2.13_1 > ===> Building for isboot-kmod-0.2.13_1 > --- machine --- > --- x86 --- > --- machine --- > machine -> /usr/src/sys/amd64/include > --- x86 --- > x86 -> /usr/src/sys/x86/include > --- objwarn --- > --- opt_cam.h --- > --- objwarn --- > Warning: Object directory not changed from original > /usr/ports/net/isboot-kmod/work/isboot-0.2.13/src > --- opt_cam.h --- > :> opt_cam.h > --- isboot.o --- > --- ibft.o --- > --- isboot.o --- > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depe$ > d.isboot.o -MTisboot.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector -Wall -Wredundant-dec$ > s -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-s$ > gn -Wno-error-shift-negative-value -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -c isboot.c -o isboot.o > --- ibft.o --- > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depe$ > d.ibft.o -MTibft.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector -Wall -Wredundant-decls -$ > nested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdi$ > gnostics-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 -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -c ibft.c -o ibft.o > --- iscsi.o --- > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depe$ > d.iscsi.o -MTiscsi.o -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 -f$ > iagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological- > compare > -Wno-error-empty-body -Wno-error-parentheses-equality > -Wno-error-unused-function -Wno-error-pointer-sig$ > -Wno-error-shift-negative-value -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -c iscsi.c -o iscsi.o > In file included from iscsi.c:62: > In file included from /usr/src/sys/cam/cam_ccb.h:1035: > In file included from /usr/src/sys/cam/mmc/mmc_bus.h:5: > In file included from /usr/src/sys/dev/mmc/bridge.h:59: > /usr/src/sys/sys/bus.h:726:10: fatal error: 'device_if.h' file not found > #include "device_if.h" > ^~~~~~~~~~~~~ > I think this was fixed in a newer -current. Warner