Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2005 15:23:27 GMT
From:      Sokolov Alexey <sokolhacker@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/88549: /usr/src/tools/tools/aac
Message-ID:  <200511061523.jA6FNRXl097798@www.freebsd.org>
Resent-Message-ID: <200511061530.jA6FUF9c081289@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88549
>Category:       misc
>Synopsis:       /usr/src/tools/tools/aac
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 06 15:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511061523.jA6FNRXl097798>