From nobody@FreeBSD.org  Sun Nov  6 15:23:27 2005
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 A6EF216A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Nov 2005 15:23:27 +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 7542F43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Nov 2005 15:23:27 +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 jA6FNRSq097799
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Nov 2005 15:23:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jA6FNRXl097798;
	Sun, 6 Nov 2005 15:23:27 GMT
	(envelope-from nobody)
Message-Id: <200511061523.jA6FNRXl097798@www.freebsd.org>
Date: Sun, 6 Nov 2005 15:23:27 GMT
From: Sokolov Alexey <sokolhacker@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/src/tools/tools/aac
X-Send-Pr-Version: www-2.3

>Number:         88549
>Category:       misc
>Synopsis:       build error in /usr/src/tools/tools/aac
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 06 15:30:14 GMT 2005
>Closed-Date:    Sun Nov 13 16:39:07 GMT 2005
>Last-Modified:  Sun Nov 13 16:39:07 GMT 2005
>Originator:     Sokolov Alexey
>Release:        6.0-STABLE
>Organization:
SokolSoft
>Environment:
[17:07]#uname -a 
FreeBSD  6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov  5 10:44:30 UTC 2005     root@:/usr/obj/usr/src/sys/GENERIC  i386
[17:07]#cat /usr/src/.ctm_status
src-6 136
>Description:
!compiling: /usr/src/tools/tools/aac
>How-To-Repeat:
[17:07]# cd /usr/src/tools/tools/aac
[17:07]# make
Warning: Object directory not changed from original /usr/src/tools/tools/aac
cc -O2 -fno-strict-aliasing -pipe   -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

Stop in /usr/src/tools/tools/aac.
>Fix:
error in file:
/usr/src/tools/tools/aac/aac_checkq.c:31:

#include "/sys/dev/aac/aac_ioctl.h"

fixed code:
..
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/aac_ioctl.h> /* fixed */

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Sun Nov 6 15:47:30 GMT 2005 
State-Changed-Why:  
Fixed in HEAD.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88549 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Sun Nov 13 16:38:46 GMT 2005 
State-Changed-Why:  
MFC'ed to RELENG_6. 

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