Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2006 00:54:51 GMT
From:      Sokolov Alexey <sokolhacker@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/93414: aac_ioctl header
Message-ID:  <200602160054.k1G0spUg016420@www.freebsd.org>
Resent-Message-ID: <200602160100.k1G10Jah087356@freefall.freebsd.org>

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

>Number:         93414
>Category:       misc
>Synopsis:       aac_ioctl header
>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:   Thu Feb 16 01:00:18 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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