Error building kernel on 10.3 (building ATH module)
Aijaz Baig
aijazbaig1 at gmail.com
Sun Aug 20 16:56:35 UTC 2017
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 at 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
More information about the freebsd-stable
mailing list