[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Problems on compile



I haven't seen this answered anywhere on the website or on the mailing
list.  It's a simple error, but my coding skills are a little rusty...

Stats:

RedHat 5.2, glibc system
kernel 2.2.0 (patched with the a version of the lvm kernel patch) compiled
	smp 
dual p200 system 

lvm code image lvm-19990213, I have the same problem with
lvm_0.5alpha

Problem: 

Initial compile dumps out immediately with:

cc -pipe -c -Wall -I/root/LVM/0.6alpha/tools
-I/root/LVM/0.6alpha/tools/lib -I/root/LVM/0.6alpha/kernel -D__KERNEL__
-O2 -DDEBUG -o basename.o basename.c
cc -pipe -c -Wall -I/root/LVM/0.6alpha/tools
-I/root/LVM/0.6alpha/tools/lib -I/root/LVM/0.6alpha/kernel -D__KERNEL__
-O2 -DDEBUG -o debug.o debug.c
In file included from /root/LVM/0.6alpha/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/genhd.h:128: parse error before `__u32'
/usr/include/linux/genhd.h:128: warning: no semicolon at end of struct or
union
/usr/include/linux/genhd.h:129: warning: data definition has no type or
storage class
/usr/include/linux/genhd.h:130: parse error before `d_subtype'
/usr/include/linux/genhd.h:130: warning: data definition has no type or
storage class





-----------------------------------------------------------------------------
Chris Stamborski   |    "Make it idiot proof and someone will make a
cstambor uiuc edu  |	 better idiot." 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]