From nobody@FreeBSD.org  Thu Feb 16 00:54:52 2006
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 0C54416A420
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Feb 2006 00:54:52 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CE7AF43D48
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Feb 2006 00:54:51 +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 k1G0spBD016421
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Feb 2006 00:54:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1G0spUg016420;
	Thu, 16 Feb 2006 00:54:51 GMT
	(envelope-from nobody)
Message-Id: <200602160054.k1G0spUg016420@www.freebsd.org>
Date: Thu, 16 Feb 2006 00:54:51 GMT
From: Sokolov Alexey <sokolhacker@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: aac_ioctl header
X-Send-Pr-Version: www-2.3

>Number:         93414
>Category:       kern
>Synopsis:       [aac] [patch] compilation problem in aac_ioctl header
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    scottl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 16 01:00:18 GMT 2006
>Closed-Date:    Sun Apr 13 23:03:04 UTC 2008
>Last-Modified:  Sun Apr 13 23:03:04 UTC 2008
>Originator:     Sokolov Alexey
>Release:        5.5-PRERELEASE
>Organization:
SokolSoft (sokolsoft.org.ru)
>Environment:
5.5-prerelease
>Description:
error compiling: /usr/src/tools/tools/aac
>How-To-Repeat:
cd /usr/src/tools/tools/aac && make
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOMAN is deprecated in favor of NO_MAN
Warning: Object directory not changed from original /mnt/bsd/src/tools/tools/aac
cc -O -pipe -march=pentium3  -c aac_checkq.c
aac_checkq.c:31:36: /sys/dev/aac/aac_ioctl.h: No such file or directory
aac_checkq.c: In function `main':
aac_checkq.c:50: error: storage size of 'sr' isn't known
aac_checkq.c:64: error: invalid application of `sizeof' to incomplete type `aac_statrequest' 
aac_checkq.c:66: error: `AACIO_STATS' undeclared (first use in this function)
aac_checkq.c:66: error: (Each undeclared identifier is reported only once
aac_checkq.c:66: error: for each function it appears in.)
*** Error code 1
>Fix:
[/mnt/bsd] $ cat aac_ioctl_header.diff 
--- aac_checkq.c.orig   Wed Feb 15 11:49:27 2006
+++ aac_checkq.c        Wed Feb 15 11:49:46 2006
@@ -28,7 +28,7 @@
 #include <sys/types.h>
 #include <sys/fcntl.h>
 #include <sys/ioctl.h>
-#include "/sys/dev/aac/aac_ioctl.h"
+#include <sys/aac_ioctl.h>
 
 __FBSDID("$FreeBSD: src/tools/tools/aac/aac_checkq.c,v 1.1 2004/02/07 03:51:20 scottl Exp $");
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->scottl 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Fri Feb 17 07:33:32 UTC 2006 
Responsible-Changed-Why:  
Scott's tool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93414 
State-Changed-From-To: open->closed 
State-Changed-By: emaste 
State-Changed-When: Sun Apr 13 23:02:31 UTC 2008 
State-Changed-Why:  
Duplicate of misc/88549; issue has long since been resolved. 

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