From nobody@FreeBSD.org  Sat Nov  6 09:24:32 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 21C2716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Nov 2004 09:24:32 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1667E43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Nov 2004 09:24:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA69OVT1010864
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Nov 2004 09:24:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iA69OVLB010863;
	Sat, 6 Nov 2004 09:24:31 GMT
	(envelope-from nobody)
Message-Id: <200411060924.iA69OVLB010863@www.freebsd.org>
Date: Sat, 6 Nov 2004 09:24:31 GMT
From: Patrick Lehner <plehner2000@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel build amd64 fails when device ath and device ath_hal included
X-Send-Pr-Version: www-2.3

>Number:         73603
>Category:       amd64
>Synopsis:       kernel build amd64 fails when device ath and device ath_hal included
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    sam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 06 09:30:26 GMT 2004
>Closed-Date:    Tue Dec 21 05:18:22 GMT 2004
>Last-Modified:  Tue Dec 21 05:18:22 GMT 2004
>Originator:     Patrick Lehner
>Release:        5.3-RC2
>Organization:
>Environment:
Install from 5.3-RC2 CD (sorry i don't have the original output saved) But  errror is reproduceable      
>Description:
kernel build fails when device ath and ath_hal included in kernel config      
ath_hal.ko is not created when building new kernel.



..................
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+0x1eb2): In function `ath_start':
: undefined reference to `ath_hal_computetxtime'
........

Build fails after those error messages
>How-To-Repeat:
add:

device    ath
device    ath_hal

to kernel config file in amd64 
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->sam 
Responsible-Changed-By: peter 
Responsible-Changed-When: Mon Nov 29 23:32:59 GMT 2004 
Responsible-Changed-Why:  
Sam owns the ath hal module. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73603 
State-Changed-From-To: open->closed 
State-Changed-By: sam 
State-Changed-When: Tue Dec 21 05:17:15 GMT 2004 
State-Changed-Why:  
Should be ok w/ recent changes from Peter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73603 
>Unformatted:
