Error building kernel on 10.3 (building ATH module)

Aijaz Baig aijazbaig1 at gmail.com
Sun Aug 20 07:17:22 UTC 2017


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


More information about the freebsd-stable mailing list