Aijaz Baig
2017-Aug-21 11:27 UTC
buildkernel fails with -O0 (no optimization) for STABLE-10
Hi checked out latest version of stable (10.3) via 'svn co https://svn.FreeBSD.org/base/stable/10 .' after that, created src.conf like so: root at BSD10Server:/usr/src # cat /etc/src.conf CFLAGS= -O0 -pipe COPTFLAGS= -O0 -pipe and it then fails with the following error: make[4]: stopped in /usr/src/sys/modules/ath_pci 1 error make[4]: stopped in /usr/src/sys/modules/ath_pci *** [depend_subdir_ath_pci] Error code 2 make[3]: stopped in /usr/src/sys/modules --- depend_subdir_bce --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/sys/modules/bce *** [depend_subdir_bce] Error code 2 make[3]: stopped in /usr/src/sys/modules --- depend_subdir_ata --- A failure has been detected in another branch of the parallel make make[7]: stopped in /usr/src/sys/modules/ata/atapci/chipsets/ataacerlabs *** [depend_subdir_ataacerlabs] Error code 2 make[6]: stopped in /usr/src/sys/modules/ata/atapci/chipsets 1 error make[6]: stopped in /usr/src/sys/modules/ata/atapci/chipsets *** [depend_subdir_chipsets] Error code 2 make[5]: stopped in /usr/src/sys/modules/ata/atapci 1 error make[5]: stopped in /usr/src/sys/modules/ata/atapci *** [depend_subdir_atapci] Error code 2 make[4]: stopped in /usr/src/sys/modules/ata 1 error make[4]: stopped in /usr/src/sys/modules/ata *** [depend_subdir_ata] Error code 2 make[3]: stopped in /usr/src/sys/modules --- depend_subdir_ath --- In file included from /usr/src/sys/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" ^ --- depend_subdir_autofs --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/sys/modules/autofs *** [depend_subdir_autofs] Error code 2 make[3]: stopped in /usr/src/sys/modules --- depend_subdir_ath --- 1 error generated. In file included from /usr/src/sys/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/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" ^ 1 error generated. In file included from /usr/src/sys/dev/ath/if_ath_sysctl.c:88: 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/dev/ath/if_ath_tx.c:90: 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/dev/ath/if_ath_tx_ht.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/dev/ath/if_ath_led.c:96: 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/dev/ath/if_ath_rx.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/dev/ath/if_ath_tdma.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/dev/ath/if_ath_beacon.c:96: 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/dev/ath/if_ath_rx_edma.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/dev/ath/if_ath_tx_edma.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/dev/ath/if_ath_spectral.c:69: 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/dev/ath/if_ath_btcoex.c:70: 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/dev/ath/if_ath_lna_div.c:70: 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/dev/ath/ah_osdep.c:49: @/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/dev/ath/ath_hal/ah.c:21: /usr/src/sys/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/dev/ath/ath_hal/ah_regdomain.c:22: /usr/src/sys/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/dev/ath/ath_hal/ah_eeprom_v3.c:21: /usr/src/sys/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/dev/ath/ath_hal/ah_eeprom_v1.c:21: /usr/src/sys/dev/ath/ath_hal/ah.h:31:10: fatal error: 'ah_osdep.h' file not found #include "ah_osdep.h" ^ 1 error generated. /usr/src/sys/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/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/dev/ath/ath_hal/ar5210/ar5210_interrupts.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_keycache.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_misc.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_phy.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_power.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_recv.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5210/ar5210_xmit.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_beacon.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_interrupts.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_keycache.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_phy.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_power.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_recv.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_reset.c:25:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5211/ar5211_xmit.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_ani.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_beacon.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_eeprom.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_gpio.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_interrupts.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_keycache.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_phy.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_power.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5111.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5112.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar2413.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar2425.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5212/ar5413.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. In file included from /usr/src/sys/dev/ath/ath_hal/ah_eeprom_v14.c:21: /usr/src/sys/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/dev/ath/ath_hal/ah_eeprom_v4k.c:22: /usr/src/sys/dev/ath/ath_hal/ah.h:31:10: fatal error: 'ah_osdep.h' file not found #include "ah_osdep.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c:25:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_beacon.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_btcoex.c:23:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_cal_iq.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_cal_adcgain.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_cal_adcdc.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_eeprom.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_gpio.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_keycache.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_phy.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_power.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_radar.c:20:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_spectral.c:20:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar5416/ar2133.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9001/ar9160_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9001/ar9130_attach.c:22:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9001/ar9130_phy.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9280.c:24:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9280_olc.c:29:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285_reset.c:27:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285_cal.c:29:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c:30:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285_diversity.c:30:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9285_btcoex.c:23:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. In file included from /usr/src/sys/dev/ath/ath_hal/ah_eeprom_9287.c:21: /usr/src/sys/dev/ath/ath_hal/ah.h:31:10: fatal error: 'ah_osdep.h' file not found #include "ah_osdep.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9287.c:24:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9287_reset.c:22:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9287_attach.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9287_cal.c:29:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/dev/ath/ath_hal/ar9002/ar9287_olc.c:29:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_interrupts.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radar.c:20:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_keycache.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_mci.c:20:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_stub.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_beacon.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_misc.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_recv.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_paprd.c:18:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_recv_ds.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_phy.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c:21:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_timer.c:19:10: fatal error: 'ah.h' file not found #include "ah.h" ^ 1 error generated. In file included from /usr/src/sys/dev/ath/ath_rate/sample/sample.c:77: 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/dev/ath/ath_dfs/null/dfs_null.c:69: 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. mkdep: compile failed *** [.depend] Error code 1 make[4]: stopped in /usr/src/sys/modules/ath 1 error make[4]: stopped in /usr/src/sys/modules/ath *** [depend_subdir_ath] Error code 2 make[3]: stopped in /usr/src/sys/modules 5 errors make[3]: stopped in /usr/src/sys/modules *** [modules-depend] Error code 2 make[2]: stopped in /usr/obj/usr/src/sys/AIJAZ-DEBUG 1 error make[2]: stopped in /usr/obj/usr/src/sys/AIJAZ-DEBUG *** [buildkernel] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src 1 error *** [buildkernel] Error code 2 make: stopped in /usr/src make: stopped in /usr/src I have confirmed it without using those flags and it compiles without issues -- Best Regards, Aijaz Baig