From owner-freebsd-current@FreeBSD.ORG Sun Jul 15 08:38:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61B6016A401 for ; Sun, 15 Jul 2007 08:38:07 +0000 (UTC) (envelope-from braun.sven@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id E2C5513C441 for ; Sun, 15 Jul 2007 08:38:06 +0000 (UTC) (envelope-from braun.sven@googlemail.com) Received: by ug-out-1314.google.com with SMTP id o4so897864uge for ; Sun, 15 Jul 2007 01:38:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LLOx0zUe51CoyoZHSpncjGVft31YCozHedotOZwCe+dyZMr/m2E//pjEkbdhkZkG7yowYYEPsZhcRSzYiPASj80hLLQlWU8ygrbnnmIwiik+7be6dv11zEZQF8+AETI0dxE/nA/5DrPv70tHXgsGovvSndXBlIQ5VnJ5pfIG9mk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VxNh4csXc7hgtuYRl4k5rr2l8u5wVy5fv1cpZOXsJdj6oNQXTC9LGpBWX7p1gawSi4mPVThdpmXC2wWQUzIrOfHlV+e83TsizcNDicp026no3DewT/1+uquX+fHrDq5vDDNcRTO818kb0wmlpu2i+O3G2VLc5oYe3m7a2pXIiuQ= Received: by 10.67.88.17 with SMTP id q17mr3393742ugl.1184487037601; Sun, 15 Jul 2007 01:10:37 -0700 (PDT) Received: by 10.66.244.9 with HTTP; Sun, 15 Jul 2007 01:10:37 -0700 (PDT) Message-ID: Date: Sun, 15 Jul 2007 10:10:37 +0200 From: "Sven Braun" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mailman-Approved-At: Sun, 15 Jul 2007 11:49:08 +0000 Subject: Problems with ath_hal-20070428 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2007 08:38:07 -0000 Hello everybody, I downloaded ath_hal-20070428.tgz by Sam Leffler and hoped it will work with my Atheros AR5008 in my Macbook, 2nd generation. I went ahead in the following way: fetch http://people.freebsd.org/~sam/ath_hal-20070428.tgz tar xfz ath_hal-20070428.tgz cd ath_hal-20070428 cp -R *.* /usr/src/sys/contrib/dev/ath/ cd /usr/src make buildkernel and got the following error: rm -f hack.c MAKE=make sh /usr/src/sys/conf/newvers.sh MACBOOK cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel.debug if_ath.o(.text+0x6b98): In function 'ath_getchannels': /usr/src/sys/dev/ath/if_ath.c:5490: undefined reference to 'ath_hal_isgsmsku' *** Error code 1 Stop in /usr/obj/usr/src/sys/MACBOOK. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I tried to fix the problem, but my C programming skills are unfortunately low, so I ask you: Do you know how to fix the problem? Thanks in advance, Sven Braun