hello,

i posted this to comp.os.linux.misc before i found the list.  sorry if
some people see it twice..  any help would be appreciated.

-- 
Jon Nathan
[EMAIL PROTECTED]
http://www.rupture.net/~jon/

---------- Forwarded message ----------
Date: Thu, 12 Aug 1999 13:15:46 -0400
From: Jon Nathan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Newsgroups: comp.os.linux.misc
Subject: raidtools won't compile - part of raid-1 saga

hello,

i'm trying to set up raid-1 on an intel linux machine.  i think i'm going
about it correctly, but the docs are spread out, generally out of date,
and not always that helpful, so i could have messed up.

not to complain too much, but on
http://metalab.unc.edu/linux/HOWTO/Root-RAID-HOWTO-3.html
is really fuzzy.  not much in the way of how-to.

in any case, what i've done so far is:

downloaded linux-2.2.10, patched it successfully with
raid0145-19990724-2.2.10, compiled the kernel with support for raid-1,
rebooted.  i'm now trying to get raidtools-0.50beta3.tar.gz to compile,
which is where i'm dying.  configure runs fine, but on make, i get the
massive error messages below:

also, at what point are the devices /dev/md[0-3] created?  they aren't
there yet and i'm sort of worried..

any other general pointers?  if you can, please cc my email.  thanks.



[root@network raidtools-0.50]# make
gcc -g -O2 -I/usr/src/linux/include -DMD_VERSION=\""raidtools-0.50"\"   -c
ra
idadd.c -o raidadd.o
In file included from raidadd.c:21:
parser.h:17: parse error before `md_superblock_t'
parser.h:17: warning: no semicolon at end of struct or union
parser.h:18: `MD_SB_DISKS' undeclared here (not in a function)
parser.h:19: `MD_SB_DISKS' undeclared here (not in a function)
parser.h:20: `MD_SB_DISKS' undeclared here (not in a function)
parser.h:23: parse error before `}'
parser.h:23: warning: data definition has no type or storage class
parser.h:25: parse error before `*'
parser.h:25: warning: data definition has no type or storage class
parser.h:26: parse error before `*'
parser.h:26: warning: data definition has no type or storage class
raidadd.c:31: parse error before `*'
raidadd.c:31: warning: data definition has no type or storage class
raidadd.c: In function `do_mdadd':
raidadd.c:92: `FLOPPY_MAJOR' undeclared (first use in this function)
raidadd.c:92: (Each undeclared identifier is reported only once
raidadd.c:92: for each function it appears in.)
raidadd.c:97: `REGISTER_DEV' undeclared (first use in this function)
raidadd.c: In function `do_mdstart':
raidadd.c:112: `START_MD' undeclared (first use in this function)
raidadd.c: In function `do_mdstop':
raidadd.c:123: `STOP_MD' undeclared (first use in this function)
raidadd.c:126: `STOP_MD_RO' undeclared (first use in this function)
raidadd.c: At top level:
raidadd.c:153: parse error before `md_cfg_entry_t'
raidadd.c: In function `handleOneConfig':
raidadd.c:159: `func' undeclared (first use in this function)
raidadd.c:161: request for member `md_name' in something not a structure
or u
nion
raidadd.c:162: `MD_SB_DISKS' undeclared (first use in this function)
raidadd.c:163: request for member `device_name' in something not a
structure
or union
raidadd.c:164: request for member `device_name' in something not a
structure
or union
raidadd.c:171: request for member `sb' in something not a structure or
union
raidadd.c:172: `LINEAR' undeclared (first use in this function)
raidadd.c:173: `RAID0' undeclared (first use in this function)
raidadd.c:174: `RAID1' undeclared (first use in this function)
raidadd.c:176: `RAID5' undeclared (first use in this function)
raidadd.c:172: warning: unreachable code at beginning of switch statement
raidadd.c:180: request for member `sb' in something not a structure or
union
raidadd.c:181: request for member `sb' in something not a structure or
union
raidadd.c:182: request for member `sb' in something not a structure or
union
raidadd.c:184: request for member `md_name' in something not a structure
or u
nion
raidadd.c:185: request for member `md_name' in something not a structure
or u
nion
raidadd.c:189: request for member `md_name' in something not a structure
or u
nion
raidadd.c:190: request for member `md_name' in something not a structure
or u
nion
raidadd.c:194: request for member `md_name' in something not a structure
or u
nion
raidadd.c:195: request for member `md_name' in something not a structure
or u
nion
raidadd.c:161: warning: unreachable code at beginning of switch statement
raidadd.c: In function `main':
raidadd.c:207: `p' undeclared (first use in this function)
raidadd.c:208: parse error before `char'
raidadd.c:229: `func' undeclared (first use in this function)
raidadd.c:240: `optCon' undeclared (first use in this function)
raidadd.c:240: `optionsTable' undeclared (first use in this function)
raidadd.c:258: `fp' undeclared (first use in this function)
raidadd.c:258: `configFile' undeclared (first use in this function)
raidadd.c:280: `args' undeclared (first use in this function)
make: *** [raidadd.o] Error 1
[root@network raidtools-0.50]# cd ..
[root@network src]# 


-- 
Jon Nathan
[EMAIL PROTECTED]
http://www.rupture.net/~jon/


Reply via email to