From takeda@chinatsu.takeda.tk  Thu Mar 27 02:56:44 2008
Return-Path: <takeda@chinatsu.takeda.tk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CD78F1065678
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Mar 2008 02:56:44 +0000 (UTC)
	(envelope-from takeda@chinatsu.takeda.tk)
Received: from chinatsu.takeda.tk (h-74-0-89-210.lsanca54.covad.net [74.0.89.210])
	by mx1.freebsd.org (Postfix) with ESMTP id AC82B8FCB3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Mar 2008 02:56:44 +0000 (UTC)
	(envelope-from takeda@chinatsu.takeda.tk)
Received: from chinatsu.takeda.tk (takeda@localhost.takeda.tk [127.0.0.1])
	by chinatsu.takeda.tk (8.14.2/8.14.2) with ESMTP id m2R2uhEi066783
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Mar 2008 19:56:43 -0700 (PDT)
	(envelope-from takeda@chinatsu.takeda.tk)
Received: (from takeda@localhost)
	by chinatsu.takeda.tk (8.14.2/8.14.2/Submit) id m2R2uhrh066782;
	Wed, 26 Mar 2008 19:56:43 -0700 (PDT)
	(envelope-from takeda)
Message-Id: <200803270256.m2R2uhrh066782@chinatsu.takeda.tk>
Date: Wed, 26 Mar 2008 19:56:43 -0700 (PDT)
From: Derek Kulinski <takeda@takeda.tk>
Reply-To: Derek Kulinski <takeda@takeda.tk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: error while compiling with device ath_rate_amrr
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         122145
>Category:       kern
>Synopsis:       [build] error while compiling with device ath_rate_amrr
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 03:00:03 UTC 2008
>Closed-Date:    Sun Feb 24 23:03:19 UTC 2013
>Last-Modified:  Sun Feb 24 23:03:19 UTC 2013
>Originator:     Derek Kulinski
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chinatsu.takeda.tk 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Thu Mar 20 23:18:07 PDT 2008 root@chinatsu.takeda.tk:/usr/obj/usr/src/sys/CHINATSU i386


>Description:
	When kernel has a line:
	device         ath_rate_amrr
	The compilation stops with following error:
	cc -c -O2 -fno-strict-aliasing -pipe -march=pentiumpro -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  /usr/src/sys/dev/ath/ath_rate/amrr/amrr.c
	In file included from /usr/src/sys/dev/ath/if_athvar.h:38,
	                 from /usr/src/sys/dev/ath/ath_rate/amrr/amrr.c:79:
	/usr/src/sys/contrib/dev/ath/ah.h:62:22: error: ah_osdep.h: No such file or directory
	*** Error code 1
>How-To-Repeat:
	define "device ath_rate_amrr"
	and build kernel with "make buildkernel"
>Fix:
	Well:
	- modify ah.h so it points to right file
	- create link to ah_osdep.h
	- modify Makefile to add -I/usr/src/sys/dev to the compiler
	- ???
	I think you guys know far better than me how to fix it in a nice way :)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon Mar 31 15:57:16 UTC 2008 
Responsible-Changed-Why:  
Over to -net mailing list.  Is compiling ath_rate_amrr into the kernel 
supported at all?  There's no mention of it in the ath_rate man page 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122145 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122145: commit references a PR
Date: Mon, 31 Mar 2008 18:49:16 +0000 (UTC)

 sam         2008-03-31 18:49:09 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/conf             files 
   Log:
   add include path required to find ah_osdep.h
   
   PR:             kern/122145
   MFC after:      3 days
   
   Revision  Changes    Path
   1.1286    +2 -1      src/sys/conf/files
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: gavin 
State-Changed-When: Wed Jun 11 12:59:14 UTC 2008 
State-Changed-Why:  
Mark as patched, this is fixed in HEAD and RELENG_7 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122145 
Responsible-Changed-From-To: freebsd-net->sam 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jul 6 09:17:46 UTC 2008 
Responsible-Changed-Why:  
Over to committer for MFC reminder to 6, if desired.  (Otherwise, just 
set to 'suspended') 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122145 
State-Changed-From-To: patched->suspended 
State-Changed-By: sam 
State-Changed-When: Sun Jul 6 23:22:34 UTC 2008 
State-Changed-Why:  
RELENG_6 requires major driver updates to use a newer hal; I have no plans 
to touch wireless in RELENG_6 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122145 
State-Changed-From-To: suspended->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Feb 24 23:02:59 UTC 2013 
State-Changed-Why:  
Long obsoleted by subsequent events. 

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