Re: mdadm 2.0 and 2.1 compile error

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

 



On Monday September 26, raid@xxxxxxxx wrote:
> I am trying to compile mdadm 2.x (currently running version 1.12)
> 
> On "make" I get the following fatal error for both 2.0 and 2.1:
> 
> In file included from super0.c:31:
> /usr/include/asm/byteorder.h:6:2: #warning using private kernel header; 
> include <endian.h> instead!
> make: *** [super0.o] Error 1
> 
> any idea ?

This means your distro is crazy.  endian.h does not contain the
defines that I need from byteorder.h.
Just remove the '-Werror' from the Makefile and try again.

NeilBrown

> 
> system is tao 1.0 (based on rhel3) with 2.6.13.2 kernel source (also tried 
> 2.6.11.7 source)
> -
> 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
-
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