[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Compilation error for dm-ioctl.h



Hi All,

 I am trying to do iotcl's on the '/dev/device-mapper' , and written small program to accomplish this.

But the compiler is throwing the below error message :

/usr/include/linux/dm-ioctl.h:106: error: expected specifier-qualifier-list before uint32_t
/usr/include/linux/dm-ioctl.h:131: error: expected specifier-qualifier-list before uint64_t
/usr/include/linux/dm-ioctl.h:160: error: expected specifier-qualifier-list before uint32_t
/usr/include/linux/dm-ioctl.h:169: error: expected specifier-qualifier-list before uint64_t
/usr/include/linux/dm-ioctl.h:179: error: expected specifier-qualifier-list before uint32_t
/usr/include/linux/dm-ioctl.h:189: error: expected specifier-qualifier-list before uint64_t

The gcc compiler version :  gcc version 4.1.0 20051110 (experimental) (SUSE Linux)
Linux kernel version        : 2.6.14-2.2

Any pointers/suggetions are greatly appreciated.

-- Regards
rajesh




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]