From owner-freebsd-stable@freebsd.org Sun Aug 20 08:51:57 2017 Return-Path: Delivered-To: freebsd-stable@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 875F3DE811A for ; Sun, 20 Aug 2017 08:51:57 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailbox.org", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4230E7D838 for ; Sun, 20 Aug 2017 08:51:56 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id AF52942A57 for ; Sun, 20 Aug 2017 10:51:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:references:in-reply-to :subject:subject:from:from:message-id:date:date:received; s= mail20150812; t=1503219095; bh=/UdaD5SfGcjZeM7X5I7J+0ydLNlJpeqtA fC1IAQVTaw=; b=oBaIE4z/S0PzC2VGlFm5ENCqWjaREJKvIVdkScDkrxu9xi0di gRVIRAGGsNsv0lt6E2MiU02qKJzmFSgZBKuiwZEQMb0UtYuT0z7lQXt9C+7kTgjK ERokjgF4OzCtYn0GYAQ3Vj1XqWao2GXfQ+AJIYsaTtHe39Gha2j88tBuFakiG2Ym iuYT3espgDWtH5NqfBLMwGxOqBHrWcBf0jAM0N8Gf1P4UpDmCafgW1liM+jjncfi WlHjvKJnVIqoLcPjpUesmhyArnPRv0oTBc74/qHSi0rS0+NR64ug0WD4MkxwbmZz XaatOVymhfTXeb3Hz7fhsl60VAFcga4Gfn9ow== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id KS_hCmDIKdl6 for ; Sun, 20 Aug 2017 10:51:35 +0200 (CEST) Date: Sun, 20 Aug 2017 10:51:35 +0200 Message-ID: <87mv6uhbag.wl-herbert@mailbox.org> From: "Herbert J. Skuhra" To: freebsd-stable Subject: Re: Error building kernel on 10.3 (building ATH module) In-Reply-To: References: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 08:51:57 -0000 On Sun, 20 Aug 2017 09:17:21 +0200, Aijaz Baig wrote: > > I am getting an error while compiling the kernel. The log is as follows: > > -------------------------------------------------------------- > >>> stage 3.1: making dependencies > -------------------------------------------------------------- > > In file included from /usr/src/sys/modules/ath/../../dev/ath/if_ath.c:99: > In file included from @/dev/ath/if_athvar.h:40: > @/dev/ath/ath_hal/ah.h:31:10: fatal error: 'ah_osdep.h' file not found > #include "ah_osdep.h" > ^ > 1 error generated. > In file included from > /usr/src/sys/modules/ath/../../dev/ath/if_ath_debug.c:81: > In file included from @/dev/ath/if_athvar.h:40: > @/dev/ath/ath_hal/ah.h:31:10: fatal error: 'ah_osdep.h' file not found > #include "ah_osdep.h" > ^ > 1 error generated. > In file included from > /usr/src/sys/modules/ath/../../dev/ath/if_ath_keycache.c:76: > In file included from @/dev/ath/if_athvar.h:40: > @/dev/ath/ath_hal/ah.h:31:10: fatal error: 'ah_osdep.h' file not found > #include "ah_osdep.h" > > and a LOT of similar errors with the same 'ah_osdep.h' file not found > > ... > > then there is this as well: > > 1 error generated. > /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ar5210/ar5210_attach.c:21:10: > fatal error: 'ah.h' file not found > #include "ah.h" > ^ > 1 error generated. > /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ar5210/ar5210_beacon.c:21:10: > fatal error: 'ah.h' file not found > #include "ah.h" > ^ > 1 error generated. > /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ar5210/ar5210_interrupts.c:21:10: > fatal error: 'ah.h' file not found > #include "ah.h" > ..... > > I am unable to fathom how such an error would have escaped the developers > of this module (or am I missing something?) Probably the latter. Are you sure that your src tree is complete? Have you checked out your src tree with svn? What's the output of 'svn st' and 'svn info'? Have you tried with a clean /usr/obj? What commands do you use to build world/kernel? > Secondly I commented out the entire WLAN section from within GENERIC but > for some reason it looks this module is still being compiled To include/exclude modules from the build you have to set MODULES_OVERRIDE or WITHOUT_MODULES. This is explained in make.conf(5). -- Herbert