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