Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2017 22:26:33 +0530
From:      Aijaz Baig <aijazbaig1@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>, herbert@mailbox.org
Subject:   Re: Error building kernel on 10.3 (building ATH module)
Message-ID:  <CAHB2L%2BdWBALZt1fjSrTh0xKQRGatXgOACB_UO83avw%2B5o1JPpQ@mail.gmail.com>
In-Reply-To: <CAHB2L%2Bc0mzTcZdpEgSBeSgdi7HW1Pvnbksn-u_%2B%2BXJSifjLgFA@mail.gmail.com>
References:  <CAHB2L%2Bc0mzTcZdpEgSBeSgdi7HW1Pvnbksn-u_%2B%2BXJSifjLgFA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Yes the sources are from the DVD that I used to install the system. Then
again I am trying to update the sources over svn but at some or the other
point it just fails with a connection reset error even though I am on a
pretty fast connection

Is there an alternative?

On Sun, Aug 20, 2017 at 12:47 PM, Aijaz Baig <aijazbaig1@gmail.com> 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?)
>
> Secondly I commented out the entire WLAN section from within GENERIC but
> for some reason it looks this module is still being compiled
>
> I am lost for directions. Please help
>
>
> --
>
> Best Regards,
> Aijaz Baig
>



-- 

Best Regards,
Aijaz Baig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHB2L%2BdWBALZt1fjSrTh0xKQRGatXgOACB_UO83avw%2B5o1JPpQ>