mdadm 2.2 compile problem

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

 



Hello,
I tried to compile mdadm 2.2 on my machine (sles8)

Kernel: 2.4.21-295-athlon
gcc: gcc version 2.95.3 20010315

The compile fails with this error message:

cc1: warnings being treated as errors
In file included from mdadm.h:219,
                from bitmap.c:23:
/usr/include/ftw.h:93: warning: `struct stat64' declared inside parameter list /usr/include/ftw.h:93: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/include/ftw.h:102: warning: `struct stat64' declared inside parameter list
bitmap.c: In function `bitmap_fd_read':
bitmap.c:130: warning: unknown conversion type character `z' in format
bitmap.c:130: warning: too many arguments for format
make: *** [bitmap.o] Error 1

I changed the makefile and removed -Werror. Is there another way to fix this issue ?

Regards,
Robert Heinzmann

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux