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

[Linux-cluster] LVM2 from cvs is a no go



So I am following the instructions from the usage.txt

I have instaled a 2.6.19.2 kernel with gfs2, dlm, configfs, ipv6 and
sctp. I installed openais from the svn.osdl.org/openais, i installed
libvolume_id using udev-104, and i installed cluster from the cvs.

Now I am onto instaling LVM2/CLVM (optional) it says, but it will not
compile. Am I missing something? Below is the output from make


=====================
[root mail1 LVM2]# make
make -C doc
make -C include
make[1]: Entering directory `/usr/src/LVM2/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/LVM2/include'
make -C man
make[1]: Entering directory `/usr/src/LVM2/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/LVM2/doc'
make -C scripts
make[1]: Entering directory `/usr/src/LVM2/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/LVM2/man'
make -C lib
make[1]: Entering directory `/usr/src/LVM2/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/LVM2/scripts'
make[1]: Entering directory `/usr/src/LVM2/lib'
gcc -c -I. -I../include -DHAVE_CONFIG_H  -fPIC -Wall -Wundef -Wshadow
-Wcast-align -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
-O2 report/report.c -o report/report.o
gcc -c -I. -I../include -DHAVE_CONFIG_H  -fPIC -Wall -Wundef -Wshadow
-Wcast-align -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn
-O2 format1/format1.c -o format1/format1.o
report/report.c:67: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:67: warning: its scope is only this definition or
declaration, which is probably not what you want
report/report.c:67: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_string_dispâ:
report/report.c:69: warning: implicit declaration of function
âdm_report_field_stringâ
report/report.c:69: warning: nested extern declaration of
âdm_report_field_stringâ
report/report.c: At top level:
report/report.c:74: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:74: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:83: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:83: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_devices_dispâ:
report/report.c:139: warning: implicit declaration of function
âdm_report_field_set_valueâ
report/report.c:139: warning: nested extern declaration of
âdm_report_field_set_valueâ
report/report.c: At top level:
report/report.c:146: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:146: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:176: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:176: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_modules_dispâ:
report/report.c:189: warning: passing argument 1 of â_tags_dispâ from
incompatible pointer type
report/report.c:189: warning: passing argument 3 of â_tags_dispâ from
incompatible pointer type
report/report.c: At top level:
report/report.c:194: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:194: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_vgfmt_dispâ:
report/report.c:203: warning: passing argument 1 of â_string_dispâ
from incompatible pointer type
report/report.c:203: warning: passing argument 3 of â_string_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:208: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:208: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_pvfmt_dispâ:
report/report.c:218: warning: passing argument 1 of â_string_dispâ
from incompatible pointer type
report/report.c:218: warning: passing argument 3 of â_string_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:223: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:223: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_lvkmaj_dispâ:
report/report.c:230: warning: implicit declaration of function
âdm_report_field_intâ
report/report.c:230: warning: nested extern declaration of âdm_report_field_intâ
report/report.c:232: warning: implicit declaration of function
âdm_report_field_uint64â
report/report.c:232: warning: nested extern declaration of
âdm_report_field_uint64â
report/report.c: At top level:
report/report.c:237: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:237: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:251: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:251: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:336: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:336: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:362: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:362: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:406: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:406: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:421: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:421: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:435: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:435: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:453: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:453: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:487: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:487: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:506: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:506: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:536: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:536: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:565: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:565: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_vgsize_dispâ:
report/report.c:572: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:572: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:577: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:577: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_segstart_dispâ:
report/report.c:584: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:584: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:589: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:589: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_segsize_dispâ:
report/report.c:596: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:596: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:601: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:601: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_chunksize_dispâ:
report/report.c:611: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:611: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:616: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:616: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_pvused_dispâ:
report/report.c:627: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:627: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:632: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:632: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_pvfree_dispâ:
report/report.c:643: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:643: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:648: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:648: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_pvsize_dispâ:
report/report.c:659: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:659: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:664: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:664: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_devsize_dispâ:
report/report.c:672: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:672: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:677: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:677: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_vgfree_dispâ:
report/report.c:684: warning: passing argument 1 of â_size64_dispâ
from incompatible pointer type
report/report.c:684: warning: passing argument 3 of â_size64_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:689: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:689: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:709: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:709: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_uint32_dispâ:
report/report.c:711: warning: implicit declaration of function
âdm_report_field_uint32â
report/report.c:711: warning: nested extern declaration of
âdm_report_field_uint32â
report/report.c: At top level:
report/report.c:716: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:716: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_int32_dispâ:
report/report.c:718: warning: implicit declaration of function
âdm_report_field_int32â
report/report.c:718: warning: nested extern declaration of
âdm_report_field_int32â
report/report.c: At top level:
report/report.c:723: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:723: warning: âstruct dm_reportâ declared inside parameter list
report/report.c: In function â_lvsegcount_dispâ:
report/report.c:730: warning: passing argument 1 of â_uint32_dispâ
from incompatible pointer type
report/report.c:730: warning: passing argument 3 of â_uint32_dispâ
from incompatible pointer type
report/report.c: At top level:
report/report.c:735: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:735: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:785: warning: âstruct dm_report_fieldâ declared inside
parameter list
report/report.c:785: warning: âstruct dm_reportâ declared inside parameter list
report/report.c:856: error: array type has incomplete element type
report/report.c:873: error: array type has incomplete element type
In file included from report/report.c:874:
report/columns.h:21: error: âDM_REPORT_FIELD_TYPE_STRINGâ undeclared
here (not in a function)
report/columns.h:24: error: âDM_REPORT_FIELD_TYPE_NUMBERâ undeclared
here (not in a function)
report/report.c: In function âreport_initâ:
report/report.c:889: error: âDM_REPORT_OUTPUT_ALIGNEDâ undeclared
(first use in this function)
report/report.c:889: error: (Each undeclared identifier is reported only once
report/report.c:889: error: for each function it appears in.)
report/report.c:892: error: âDM_REPORT_OUTPUT_BUFFEREDâ undeclared
(first use in this function)
report/report.c:895: error: âDM_REPORT_OUTPUT_HEADINGSâ undeclared
(first use in this function)
report/report.c:897: warning: implicit declaration of function âdm_report_initâ
report/report.c:897: warning: nested extern declaration of âdm_report_initâ
report/report.c:898: warning: return makes pointer from integer without a cast
report/report.c: In function âreport_objectâ:
report/report.c:916: warning: implicit declaration of function
âdm_report_objectâ
report/report.c:916: warning: nested extern declaration of âdm_report_objectâ
make[1]: *** [report/report.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/LVM2/lib'
make: *** [lib] Error 2
=====================


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