[gobolinux-users] cciss_ioctl.h?
Travis Evans
travisgevans at cox.net
Sat Dec 30 18:28:16 UTC 2006
I tried to build smartmontools, but got this error:
-----------------------------------------------------------------------------
if
g++ -DHAVE_CONFIG_H -I. -I. -I. -DSMARTMONTOOLS_SYSCONFDIR=\"/Programs/Smart
MonTools/Settings\" -O2 -march=i686 -fomit-frame-pointer -pipe -Wall -W -MT
os
_linux.o -MD -MP -MF ".deps/os_linux.Tpo" -c -o os_linux.o os_linux.cpp;
\
then mv -f ".deps/os_linux.Tpo" ".deps/os_linux.Po"; else
rm -f ".deps/o
s_linux.Tpo"; exit 1; fi
os_linux.cpp:76:31: error: linux/cciss_ioctl.h: No such file or
directory
os_linux.cpp:106: error: 'BYTE' does not name a type
os_linux.cpp:107: error: 'DWORD' does not name a type
os_linux.cpp:108: error: 'BYTE' does not name a type
os_linux.cpp: In function 'int cciss_sendpassthru(unsigned int, unsigned
char*,
unsigned int, char*, unsigned int, unsigned int, unsigned char*, int)':
os_linux.cpp:660: error: 'IOCTL_Command_struct' was not declared in this
scope
os_linux.cpp:660: error: expected `;' before 'iocommand'
os_linux.cpp:662: error: 'iocommand' was not declared in this scope
os_linux.cpp:686: error: 'TYPE_CMD' was not declared in this scope
os_linux.cpp:687: error: 'ATTR_SIMPLE' was not declared in this scope
os_linux.cpp:688: error: 'XFER_READ' was not declared in this scope
os_linux.cpp:694: error: 'CCISS_PASSTHRU' was not declared in this scope
os_linux.cpp: In function 'int cciss_getlun(int, int, unsigned char*)':
os_linux.cpp:728: error: 'struct _ReportLUNdata_struct' has no member
named 'LUN
'
os_linux.cpp:730: error: 'struct _ReportLUNdata_struct' has no member
named 'LUN
'
make[2]: *** [os_linux.o] Error 1
make[2]: Leaving directory `/Users/travisge/Desktop/smartmontools-5.37'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Users/travisge/Desktop/smartmontools-5.37'
make: *** [all] Error 2
-----------------------------------------------------------------------------
I have headers in /Programs/Linux-Headers/Current, but there is no
cciss_ioctl.h anywhere on the system. Why is this file missing? Am I
supposed to get it from somewhere?
It seems that CCISS is some kind of RAID controller, but I'm not even
using RAID. Is this even necessary? (I couldn't find any configure
options to disable the support.) I'm rather confused.
--
Travis Evans
More information about the gobolinux-users
mailing list