Hi ,
I am testing on the steps on configuring the s/w raid on my local desktop which have 2 IDE 40GB plug-in with FC3 kernel 2.6.9-1.681_FC3. I downloaded the raidtools and mdadm and when I try to compile the mdadm and raidtools, I am getting the following errors :
[root@tech1 mdadm-1.8.1]# make
gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o super1.o super1.c
In file included from super1.c:32:
/usr/include/asm/byteorder.h:6:2: #warning using private kernel header; include <endian.h> instead!
make: *** [super1.o] Error 1
[root@tech1 mdadm-1.8.1]# make install
gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o super1.o super1.c
In file included from super1.c:32:
/usr/include/asm/byteorder.h:6:2: #warning using private kernel header; include <endian.h> instead!
make: *** [super1.o] Error 1
[root@tech1 raidtools-1.00.3]# make
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidstart.o raidstart.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o parser.o parser.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidlib.o raidlib.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o version.o version.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raid_io.o raid_io.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o scsi.o scsi.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o reconfiguration.o reconfiguration.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_common.o rrc_common.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid0.o rrc_raid0.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid5.o rrc_raid5.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_single.o rrc_single.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o mkraid.o mkraid.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o detect_multipath.o detect_multipath.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidreconf.o raidreconf.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o arytst.o arytst.c
mkraid.c: In function `main':
mkraid.c:174: error: missing terminating " character
mkraid.c:175: error: `WARNING' undeclared (first use in this function)
mkraid.c:175: error: (Each undeclared identifier is reported only once
mkraid.c:175: error: for each function it appears in.)
mkraid.c:175: error: syntax error before '!' token
mkraid.c:178: error: missing terminating ' character
mkraid.c:184: error: missing terminating ' character
mkraid.c:193: error: missing terminating ' character
mkraid.c:199: error: missing terminating " character
make: *** [mkraid.o] Error 1
make: *** Waiting for unfinished jobs....
Have some one get this error before ?
Thanks,