misc/88549: /usr/src/tools/tools/aac

Sokolov Alexey sokolhacker at mail.ru
Sun Nov 6 07:30:16 PST 2005


>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:


More information about the freebsd-bugs mailing list