Bug 79381

Summary: AMD64 build if "device ath_hal" "device ath" fails
Product: Base System Reporter: guo <embix>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description guo 2005-03-30 21:20:08 UTC
make buildkernl breaks with error messages:

ah_osdep.o(.text+0x157): In function `ath_hal_modevent':
: undefined reference to `ath_hal_version'
ah_osdep.o(.data+0x1b8): undefined reference to `ath_hal_version'
if_ath.o(.text+0x1ed2): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x1f43): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x268a): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x26af): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x4a47): In function `ath_attach':
: undefined reference to `ath_hal_attach'
if_ath.o(.text+0x4b58): In function `ath_attach':
: undefined reference to `ath_hal_init_channels'
if_ath.o(.text+0x4b80): In function `ath_attach':
: undefined reference to `ath_hal_mhz2ieee'
if_ath_pci.o(.text+0xad): In function `ath_pci_probe':
: undefined reference to `ath_hal_probe'
*** Error code 1

How-To-Repeat: 1. add the following two lines into the sys/amd64/conf/GENERIC kernel
   device ath
   device ath_hal

2. cd /usr/src

3. make buildkernel
Comment 1 Brooks Davis freebsd_committer freebsd_triage 2005-03-30 21:33:42 UTC
State Changed
From-To: open->closed

There is no ath_hal binary for amd64 on 5.x and the support will not be 
MFC'd from 6.x due to major source incompatabilities.  If you want to use 
Atheros cards on amd64, you will have to run 6-CURRENT.