On Tue, 27 Sep 2005 09:51:11 +0200, Neil Brown wrote: > 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. That resolved it for me. Distro is RHEL 4 in my testing. -- ----------------------------------------------------------------------- Jeff Hanson - jhanson@xxxxxxx - Field Technical Analyst You can choose a ready guide in some celestial voice. If you choose not to decide, you still have made a choice. You can choose from phantom fears and kindness that can kill; I will choose a path that's clear I will choose freewill. - Lee/Lifeson/Peart - 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