From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 30 20:20:09 2005 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A65516A4CF for ; Wed, 30 Mar 2005 20:20:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BD0543D67 for ; Wed, 30 Mar 2005 20:20:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2UKK8hi021802 for ; Wed, 30 Mar 2005 20:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2UKK8e4021801; Wed, 30 Mar 2005 20:20:08 GMT (envelope-from gnats) Resent-Date: Wed, 30 Mar 2005 20:20:08 GMT Resent-Message-Id: <200503302020.j2UKK8e4021801@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, guo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FE6016A4CE for ; Wed, 30 Mar 2005 20:11:15 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F5E43D53 for ; Wed, 30 Mar 2005 20:11:15 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2UKBEXd043686 for ; Wed, 30 Mar 2005 20:11:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j2UKBEqK043685; Wed, 30 Mar 2005 20:11:14 GMT (envelope-from nobody) Message-Id: <200503302011.j2UKBEqK043685@www.freebsd.org> Date: Wed, 30 Mar 2005 20:11:14 GMT From: guo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: amd64/79381: AMD64 build if "device ath_hal" "device ath" fails X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 20:20:09 -0000 >Number: 79381 >Category: amd64 >Synopsis: AMD64 build if "device ath_hal" "device ath" fails >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 30 20:20:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: guo >Release: 5-CURRENT >Organization: >Environment: FreeBSD p22-bsd.ixwin.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sun Mar 20 00:48:36 CST 2005 tc@p22-bsd.ixwin.com:/usr/obj/usr/src/sys/p22at amd64 >Description: 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 >Fix: >Release-Note: >Audit-Trail: >Unformatted: