Yan,
I came across this same problem -- my [interim] solution was to change the
function calls from MD_STOP_RO to just MD_STOP.  Also, I noticed in one of
the .h files that it was pointing to an invalid include.  Can't remember
specifically which one, but I believe it was time.h.  The RaidTools files
had in #include <time.h> where it should have been #include <sys/time.h>.  

Marius Strom - [EMAIL PROTECTED]
Computer Geek/Telecommunations Engineering Student
Unix System Administrator, Alpha1 Internet (http://www.alpha1.net)
Texas A&M University (http://www.tamu.edu)

On Mon, 19 Oct 1998, Yan Seiner wrote:

> I get the following error on trying to make raidtools 0.50 beta3:
> 
> [root@cordelia raidtools-0.50]# make
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.50"\"  
> -c raidadd.c -o raidadd.o
> raidadd.c: In function `do_mdstop':
> raidadd.c:126: `STOP_MD_RO' undeclared (first use this function)
> raidadd.c:126: (Each undeclared identifier is reported only once
> raidadd.c:126: for each function it appears in.)
> make: *** [raidadd.o] Error 1
> [root@cordelia raidtools-0.50]#     
> 
> I get another error if I try to compile 0.42:
> 
> [root@cordelia raidtools-0.42]# make
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c mdadd.c -o mdadd.o
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c mdparse.c -o mdparse.o
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c crc.c -o crc.o
> gcc -o mdadd mdadd.o mdparse.o crc.o
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c mdcreate.c -o mdcreate.o
> gcc -o mdcreate mdcreate.o mdparse.o crc.o
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c mkraid.c -o mkraid.o
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c parser.c -o parser.o
> gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.42"\"  
> -c raid_io.c -o raid_io.o
> raid_io.c: In function `T':
> raid_io.c:39: storage size of `t' isn't known
> make: *** [raid_io.o] Error 1
> [root@cordelia raidtools-0.42]#  
> 
> I've been through the .h and .c files and nothing jumps out at me.
> 
> Is this a known problem or is it particular to my system?  Is there
> another version I can try?
> 
> RH5.1  2.0.35, dual p5/166 system.
> 
> TIA,
> 
> Yan
> 

Reply via email to