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

[Linux-cluster] Compile errors



I'm in need of the CLVM software for a project that I'm working on. It
appears that I require the full RH Cluster software suite in order to
run CLVM, so I've been trying to follow the information that I found in
your usage.txt file, as well as the INSTALL file that came with the cvs
code's STABLE branch.

I was initially trying to compile against recent 2.6.x kernels, but then
I noticed that the kernel patches in the STABLE branch were in a
subdirectory called "2.6.9". So my latest attempts have been to compile
against linux-2.6.9 kernel sources. I have tried both the STABLE and
RHEL4 branches. Both have failed to compile.

I am running Debian Sarge, but I am using vanilla kernel.org sources.
Thank you in advance for any direction that is provided!

Following is the output from 'make install' on the STABLE branch:

strife:/usr/2.6.9-cluster/cluster# make install
cd cman-kernel && make install
sbindir=/usr/2.6.9-cluster/cluster/build/sbin
libdir=/usr/2.6.9-cluster/cluster/build/lib
mandir=/usr/2.6.9-cluster/cluster/build/man
incdir=/usr/2.6.9-cluster/cluster/build/incdir
module_dir=/usr/2.6.9-cluster/cluster/build/module
sharedir=/usr/2.6.9-cluster/cluster/build
slibdir=/usr/2.6.9-cluster/cluster/build/slib
DESTDIR=/usr/2.6.9-cluster/cluster/build
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/cman-kernel'
cd src && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/cman-kernel/src'
rm -f cluster
ln -s . cluster
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/cman-kernel/src modules USING_KBUILD=yes
make[3]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
  CC [M]  /usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.o
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c: In function
`cl_alloc_sock':
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:926: warning:
passing arg 3 of `sk_alloc' makes integer from pointer without a cast
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:926: warning:
passing arg 4 of `sk_alloc' makes pointer from integer without a cast
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c: In function `cl_bind':
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:1067: error:
`SOCK_ZAPPED' undeclared (first use in this function)
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:1067: error: (Each
undeclared identifier is reported only once
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:1067: error: for
each function it appears in.)
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c: At top level:
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4175: error: unknown
field `owner' specified in initializer
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4175: warning:
missing braces around initializer
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4175: warning: (near
initialization for `cl_proto.stats')
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4175: warning:
initialization makes integer from pointer without a cast
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4176: error: unknown
field `obj_size' specified in initializer
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4176: warning:
excess elements in struct initializer
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4176: warning: (near
initialization for `cl_proto')
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c: In function
`cluster_init':
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4191: warning:
implicit declaration of function `proto_register'
/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.c:4198: warning:
implicit declaration of function `proto_unregister'
make[4]: *** [/usr/2.6.9-cluster/cluster/cman-kernel/src/cnxman.o] Error 1
make[3]: *** [_module_/usr/2.6.9-cluster/cluster/cman-kernel/src] Error 2
make[3]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/cman-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/cman-kernel'
make: *** [all] Error 2







And here is the output from 'make install' with the RHEL4 branch:

cd cman-kernel && make install
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/cman-kernel'
cd src && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/cman-kernel/src'
rm -f cluster
ln -s . cluster
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/cman-kernel/src modules USING_KBUILD=yes
make[3]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
  Building modules, stage 2.
  MODPOST
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/cman-kernel/src/cman.ko] undefined!
make[3]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
install -d //lib/modules/2.6.9/kernel/cluster
install cman.ko //lib/modules/2.6.9/kernel/cluster
install -d //usr/include/cluster
install cnxman.h cnxman-socket.h service.h //usr/include/cluster
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/cman-kernel/src'
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/cman-kernel'
cd dlm-kernel && make install
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/dlm-kernel'
cd src && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/dlm-kernel/src'
if [ ! -e cluster ]; then ln -s . cluster; fi
if [ ! -e service.h ]; then cp //usr/include/cluster/service.h .; fi
if [ ! -e cnxman.h ]; then cp //usr/include/cluster/cnxman.h .; fi
if [ ! -e cnxman-socket.h ]; then cp
//usr/include/cluster/cnxman-socket.h .; fi
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/dlm-kernel/src modules USING_KBUILD=yes
make[3]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
  Building modules, stage 2.
  MODPOST
*** Warning: "kcl_addref_cluster"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_addr"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_addresses"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_releaseref_cluster"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_current_interface"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_nodeid"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_leave_service"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_remove_callback"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_global_service_id"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_unregister_service"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_join_service"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_start_done"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_add_callback"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_register_service"
[/usr/2.6.9-cluster/cluster/dlm-kernel/src/dlm.ko] undefined!
make[3]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
install -d //lib/modules/2.6.9/kernel/cluster
install dlm.ko //lib/modules/2.6.9/kernel/cluster
install -d //usr/include/cluster
install dlm.h dlm_device.h //usr/include/cluster
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/dlm-kernel/src'
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/dlm-kernel'
cd gfs-kernel && make install
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/gfs-kernel'
cd src && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src'
cd harness && make install
make[3]: Entering directory
`/usr/2.6.9-cluster/cluster/gfs-kernel/src/harness'
rm -f linux
ln -s . linux
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/gfs-kernel/src/harness
symverfile=/usr/2.6.9-cluster/linux-2.6.9/../kernel/cluster/dlm.symvers
modules USING_KBUILD=yes
make[4]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
  Building modules, stage 2.
  MODPOST
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/harness/lock_harness.ko]
undefined!
  CC
/usr/2.6.9-cluster/cluster/gfs-kernel/src/harness/lock_harness.mod.o
  LD [M]  /usr/2.6.9-cluster/cluster/gfs-kernel/src/harness/lock_harness.ko
make[4]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
/usr/2.6.9-cluster/linux-2.6.9/scripts/mod/modpost -m -i
/usr/2.6.9-cluster/linux-2.6.9/../kernel/cluster/dlm.symvers
../harness/lock_harness.o -o lock_harness.symvers
install -d //usr/include/linux
install lm_interface.h //usr/include/linux
install -d //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_harness
install lock_harness.ko
//lib/modules/2.6.9/kernel/fs/gfs_locking/lock_harness
make[3]: Leaving directory
`/usr/2.6.9-cluster/cluster/gfs-kernel/src/harness'
cd nolock && make install
make[3]: Entering directory
`/usr/2.6.9-cluster/cluster/gfs-kernel/src/nolock'
echo

rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h .
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/gfs-kernel/src/nolock
symverfile=/usr/2.6.9-cluster/cluster/gfs-kernel/src/nolock/../harness/lock_harness.symvers


modules USING_KBUILD=yes
make[4]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
Building modules, stage 2.
MODPOST
make[4]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
install -d //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_nolock
install lock_nolock.ko //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_nolock
make[3]: Leaving directory
`/usr/2.6.9-cluster/cluster/gfs-kernel/src/nolock'
cd dlm && make install
make[3]: Entering directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm'
if [ ! -e linux ]; then ln -s . linux; fi
if [ ! -e cluster ]; then ln -s . cluster; fi
if [ ! -e lm_interface.h ]; then ln -s ../../src/harness/lm_interface.h
.; fi
if [ ! -e dlm.h ]; then cp //usr/include/cluster/dlm.h .; fi
if [ ! -e cnxman.h ]; then cp //usr/include/cluster/cnxman.h .; fi
if [ ! -e cnxman-socket.h ]; then cp
//usr/include/cluster/cnxman-socket.h .; fi
if [ ! -e service.h ]; then cp //usr/include/cluster/service.h .; fi
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm
symverfile=/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/../harness/lock_harness.symvers


modules USING_KBUILD=yes
make[4]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
Building modules, stage 2.
MODPOST
*** Warning: "kcl_addref_cluster"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_get_services"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_cluster_name"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_lock"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_releaseref_cluster"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_get_members"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_query"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_leave_service"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_unregister_service"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_join_service"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_release_lockspace"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_start_done"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_unlock"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_register_service"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_new_lockspace"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_debug_dump"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
CC /usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.mod.o
LD [M] /usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/lock_dlm.ko
make[4]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
/usr/2.6.9-cluster/linux-2.6.9/scripts/mod/modpost -m -i
/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm/../harness/lock_harness.symvers


../dlm/lock_dlm.o -o lock_dlm.symvers
install -d //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_dlm
install lock_dlm.ko //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_dlm
make[3]: Leaving directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src/dlm'
cd gulm && make install
make[3]: Entering directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm'
rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h .
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm
symverfile=/usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm/../harness/lock_harness.symvers


modules USING_KBUILD=yes
make[4]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
Building modules, stage 2.
MODPOST
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm/lock_gulm.ko] undefined!
CC /usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm/lock_gulm.mod.o
LD [M] /usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm/lock_gulm.ko
make[4]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
/usr/2.6.9-cluster/linux-2.6.9/scripts/mod/modpost -m -i
/usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm/../harness/lock_harness.symvers


../gulm/lock_gulm.o -o lock_gulm.symvers
install -d //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_gulm
install lock_gulm.ko //lib/modules/2.6.9/kernel/fs/gfs_locking/lock_gulm
make[3]: Leaving directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src/gulm'
cd gfs && make install
make[3]: Entering directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src/gfs'
rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h .
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/gfs-kernel/src/gfs
symverfile=/usr/2.6.9-cluster/cluster/gfs-kernel/src/gfs/../gulm/lock_gulm.symvers


modules USING_KBUILD=yes
make[4]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
  Building modules, stage 2.
  MODPOST
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/gfs-kernel/src/gfs/gfs.ko] undefined!
make[4]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
install -d //lib/modules/2.6.9/kernel/fs/gfs
install gfs.ko //lib/modules/2.6.9/kernel/fs/gfs
install -d //usr/include/linux
install gfs_ondisk.h gfs_ioctl.h //usr/include/linux
make[3]: Leaving directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src/gfs'
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/gfs-kernel/src'
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/gfs-kernel'
cd gnbd-kernel && make install
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/gnbd-kernel'
cd src && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/gnbd-kernel/src'
rm -f linux
ln -s . linux
make -C /usr/2.6.9-cluster/linux-2.6.9
M=/usr/2.6.9-cluster/cluster/gnbd-kernel/src modules USING_KBUILD=yes
make[3]: Entering directory `/usr/2.6.9-cluster/linux-2.6.9'
  Building modules, stage 2.
  MODPOST
*** Warning: "preempt_schedule"
[/usr/2.6.9-cluster/cluster/gnbd-kernel/src/gnbd.ko] undefined!
make[3]: Leaving directory `/usr/2.6.9-cluster/linux-2.6.9'
install -d //usr/include/linux
install gnbd.h //usr/include/linux
install -d //lib/modules/2.6.9/kernel/drivers/block/gnbd
install gnbd.ko //lib/modules/2.6.9/kernel/drivers/block/gnbd
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/gnbd-kernel/src'
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/gnbd-kernel'
cd magma && make install
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/magma'
cd lib && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/magma/lib'
install -d /usr/lib
install -d /usr/lib
#
# Install high level magma libraries
#
install -m 0644 libmagma.a /usr/lib
install -m 0644 libmagma.so.DEVEL.1121902825 /usr/lib
cd /usr/lib; ln -snf libmagma.so.DEVEL.1121902825 libmagma.so.DEVEL; cd -
cd /usr/lib; ln -snf libmagma.so.DEVEL.1121902825 libmagma.so; cd -
#
# Install low-overhead, non-pthread magma libraries
#
install -m 0644 libmagma_nt.a /usr/lib
install -m 0644 libmagma_nt.so.DEVEL.1121902825 /usr/lib
cd /usr/lib; ln -snf libmagma_nt.so.DEVEL.1121902825
libmagma_nt.so.DEVEL; cd -
cd /usr/lib; ln -snf libmagma_nt.so.DEVEL.1121902825 libmagma_nt.so; cd -
#
# Install high level TCP messaging libraries
#
install -m 0644 libmagmamsg.a /usr/lib
install -m 0644 libmagmamsg.so.DEVEL.1121902825 /usr/lib
cd /usr/lib; ln -snf libmagmamsg.so.DEVEL.1121902825
libmagmamsg.so.DEVEL; cd -
cd /usr/lib; ln -snf libmagmamsg.so.DEVEL.1121902825 libmagmamsg.so; cd -
#
# Install headers for magma, magma_nt, and magmamsg
#
install -d /usr/include
install -m 0644 magma.h /usr/include
install -m 0644 magmamsg.h /usr/include
install -m 0644 magma-build.h /usr/include
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/magma/lib'
cd man && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/magma/man'
install -d /usr/share/man/man3
install -d /usr/share/man/man8
install clu_connect.3 clu_disconnect.3 clu_get_event.3 /usr/share/man/man3
install magma_tool.8 /usr/share/man/man8
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/magma/man'
cd tests && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/magma/tests'
install -d /sbin
install -m 0755 magma_tool circleping cluster_cmd /sbin
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/magma/tests'
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/magma'
cd ccs && make install
make[1]: Entering directory `/usr/2.6.9-cluster/cluster/ccs'
cd daemon && make install
make[2]: Entering directory `/usr/2.6.9-cluster/cluster/ccs/daemon'
gcc -Wall -I. -I../include -I../common -I../config -I//usr/include -Wall
-O2 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE `xml2-config --cflags`
-DCCS_RELEASE_NAME=\"DEVEL.1121902825\" -I. -I../include -I../common
-I../config -I//usr/include -o ccsd ccsd.c cnx_mgr.c cluster_mgr.c
misc.c ../common/log.c globals.c -L//usr/lib `xml2-config --libs`
-lpthread -lmagma -lmagmamsg -ldl
/bin/sh: line 1: xml2-config: command not found
/bin/sh: line 1: xml2-config: command not found
ccsd.c:26:27: libxml/parser.h: No such file or directory
ccsd.c: In function `check_cluster_conf':
ccsd.c:502: error: `xmlDocPtr' undeclared (first use in this function)
ccsd.c:502: error: (Each undeclared identifier is reported only once
ccsd.c:502: error: for each function it appears in.)
ccsd.c:502: error: syntax error before "doc"
ccsd.c:505: error: `doc' undeclared (first use in this function)
ccsd.c:505: warning: implicit declaration of function `xmlParseFile'
ccsd.c:514: warning: implicit declaration of function `xmlFreeDoc'
cnx_mgr.c:25:27: libxml/parser.h: No such file or directory
cnx_mgr.c:26:25: libxml/tree.h: No such file or directory
cnx_mgr.c:27:26: libxml/xpath.h: No such file or directory
cnx_mgr.c:28:35: libxml/xpathInternals.h: No such file or directory
In file included from cnx_mgr.c:33:
misc.h:17: error: syntax error before "xmlDocPtr"
misc.h:17: warning: no semicolon at end of struct or union
misc.h:18: warning: type defaults to `int' in declaration of `open_doc_t'
misc.h:18: warning: data definition has no type or storage class
misc.h:24: error: syntax error before '*' token
misc.h:24: warning: type defaults to `int' in declaration of `master_doc'
misc.h:24: warning: data definition has no type or storage class
misc.h:26: error: syntax error before "ldoc"
misc.h:27: error: syntax error before "ldoc"
cnx_mgr.c:41: error: syntax error before "open_doc_t"
cnx_mgr.c:41: warning: no semicolon at end of struct or union
cnx_mgr.c:42: warning: type defaults to `int' in declaration of `oc_ctx'
cnx_mgr.c:42: warning: data definition has no type or storage class
cnx_mgr.c:43: warning: type defaults to `int' in declaration of
`open_connection_t'
cnx_mgr.c:43: warning: data definition has no type or storage class
cnx_mgr.c:48: error: syntax error before '*' token
cnx_mgr.c:48: warning: type defaults to `int' in declaration of `ocs'
cnx_mgr.c:48: warning: data definition has no type or storage class
cnx_mgr.c: In function `_update_config':
cnx_mgr.c:53: error: `tmp_odoc' undeclared (first use in this function)
cnx_mgr.c:53: error: (Each undeclared identifier is reported only once
cnx_mgr.c:53: error: for each function it appears in.)
cnx_mgr.c:54: error: `xmlDocPtr' undeclared (first use in this function)
cnx_mgr.c:54: error: syntax error before "tmp_doc"
cnx_mgr.c:58: error: `tmp_doc' undeclared (first use in this function)
cnx_mgr.c:58: warning: implicit declaration of function `xmlParseFile'
cnx_mgr.c:67: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:68: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:90: error: request for member `od_refs' in something not a
structure or union
cnx_mgr.c:92: warning: implicit declaration of function `xmlFreeDoc'
cnx_mgr.c:92: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:93: warning: implicit declaration of function `free'
cnx_mgr.c:104: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c: In function `broadcast_for_doc':
cnx_mgr.c:157: error: `xmlDocPtr' undeclared (first use in this function)
cnx_mgr.c:157: error: syntax error before "tmp_doc"
cnx_mgr.c:164: warning: implicit declaration of function `exit'
cnx_mgr.c:164: error: `EXIT_FAILURE' undeclared (first use in this function)
cnx_mgr.c:289: warning: implicit declaration of function `srandom'
cnx_mgr.c:293: warning: implicit declaration of function `random'
cnx_mgr.c:324: error: `tmp_doc' undeclared (first use in this function)
cnx_mgr.c:324: warning: implicit declaration of function `xmlParseMemory'
cnx_mgr.c:349: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:352: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:357: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:366: error: request for member `od_refs' in something not a
structure or union
cnx_mgr.c:367: error: `tmp_odoc' undeclared (first use in this function)
cnx_mgr.c:376: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:377: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:386: error: request for member `od_refs' in something not a
structure or union
cnx_mgr.c:396: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:397: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:450: warning: implicit declaration of function `xmlDocDump'
cnx_mgr.c:450: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c: In function `process_connect':
cnx_mgr.c:488: error: syntax error before ')' token
cnx_mgr.c:493: error: syntax error before ')' token
cnx_mgr.c:493: error: syntax error before ')' token
cnx_mgr.c:493: error: syntax error before ')' token
cnx_mgr.c:493: error: syntax error before ')' token
cnx_mgr.c:493: error: syntax error before ')' token
cnx_mgr.c:493: error: syntax error before ')' token
cnx_mgr.c:513: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:514: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:515: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:518: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:521: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:522: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:523: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:526: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:527: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:531: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:532: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:542: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:577: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:583: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:609: error: syntax error before ')' token
cnx_mgr.c:617: error: request for member `od_refs' in something not a
structure or union
cnx_mgr.c:618: error: request for member `oc_odoc' in something not a
structure or union
cnx_mgr.c:619: error: request for member `oc_ctx' in something not a
structure or union
cnx_mgr.c:619: warning: implicit declaration of function
`xmlXPathNewContext'
cnx_mgr.c:619: error: request for member `oc_odoc' in something not a
structure or union
cnx_mgr.c:620: error: request for member `oc_ctx' in something not a
structure or union
cnx_mgr.c:621: error: request for member `oc_odoc' in something not a
structure or union
cnx_mgr.c:631: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c: In function `process_disconnect':
cnx_mgr.c:658: error: `tmp_odoc' undeclared (first use in this function)
cnx_mgr.c:679: error: request for member `oc_ctx' in something not a
structure or union
cnx_mgr.c:680: warning: implicit declaration of function
`xmlXPathFreeContext'
cnx_mgr.c:680: error: request for member `oc_ctx' in something not a
structure or union
cnx_mgr.c:682: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:683: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:685: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:686: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:688: error: request for member `oc_odoc' in something not a
structure or union
cnx_mgr.c:692: error: `EXIT_FAILURE' undeclared (first use in this function)
cnx_mgr.c: In function `_process_get':
cnx_mgr.c:734: error: `xmlXPathObjectPtr' undeclared (first use in this
function)
cnx_mgr.c:734: error: syntax error before "obj"
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:757: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:758: error: request for member `oc_index' in something not a
structure or union
cnx_mgr.c:764: error: request for member `oc_index' in something not a
structure or union
cnx_mgr.c:765: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:766: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:768: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:774: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:784: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:789: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:792: error: `obj' undeclared (first use in this function)
cnx_mgr.c:792: warning: implicit declaration of function
`xmlXPathEvalExpression'
cnx_mgr.c:792: error: request for member `oc_ctx' in something not a
structure or union
cnx_mgr.c:797: error: `xmlNodePtr' undeclared (first use in this function)
cnx_mgr.c:797: error: syntax error before "node"
cnx_mgr.c:801: error: request for member `oc_index' in something not a
structure or union
cnx_mgr.c:802: error: request for member `oc_index' in something not a
structure or union
cnx_mgr.c:807: error: `node' undeclared (first use in this function)
cnx_mgr.c:807: error: request for member `oc_index' in something not a
structure or union
cnx_mgr.c:822: error: `XML_ATTRIBUTE_NODE' undeclared (first use in this
function)
cnx_mgr.c:823: error: `XML_ELEMENT_NODE' undeclared (first use in this
function)
cnx_mgr.c:868: warning: implicit declaration of function
`xmlXPathFreeObject'
cnx_mgr.c: In function `process_get_list':
cnx_mgr.c:897: error: request for member `oc_index' in something not a
structure or union
cnx_mgr.c: In function `process_get_state':
cnx_mgr.c:964: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:964: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:965: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:966: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:973: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:974: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:974: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:976: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:978: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:984: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:985: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:993: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c: In function `process_set_state':
cnx_mgr.c:1033: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:1034: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:1035: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c:1038: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:1039: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:1040: error: request for member `oc_query' in something not a
structure or union
cnx_mgr.c:1043: error: request for member `oc_cwp' in something not a
structure or union
cnx_mgr.c: In function `process_request':
cnx_mgr.c:1160: warning: implicit declaration of function `realloc'
cnx_mgr.c: In function `process_broadcast':
cnx_mgr.c:1247: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:1248: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:1266: warning: implicit declaration of function
`xmlDocDumpFormatMemory'
cnx_mgr.c:1266: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:1267: error: `xmlChar' undeclared (first use in this function)
cnx_mgr.c:1267: error: syntax error before ')' token
cnx_mgr.c:1301: error: request for member `od_doc' in something not a
structure or union
cnx_mgr.c:1302: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c:24:27: libxml/parser.h: No such file or directory
In file included from cluster_mgr.c:29:
misc.h:17: error: syntax error before "xmlDocPtr"
misc.h:17: warning: no semicolon at end of struct or union
misc.h:18: warning: type defaults to `int' in declaration of `open_doc_t'
misc.h:18: warning: data definition has no type or storage class
misc.h:24: error: syntax error before '*' token
misc.h:24: warning: type defaults to `int' in declaration of `master_doc'
misc.h:24: warning: data definition has no type or storage class
misc.h:26: error: syntax error before "ldoc"
misc.h:27: error: syntax error before "ldoc"
cluster_mgr.c:38: error: syntax error before "tmp_doc"
cluster_mgr.c: In function `check_update_doc':
cluster_mgr.c:45: error: `tmp_doc' undeclared (first use in this function)
cluster_mgr.c:45: error: (Each undeclared identifier is reported only once
cluster_mgr.c:45: error: for each function it appears in.)
cluster_mgr.c:51: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c:52: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c:64: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c:65: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c:67: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c:67: error: request for member `od_doc' in something not a
structure or union
cluster_mgr.c: In function `handle_cluster_message':
cluster_mgr.c:93: error: `xmlDocPtr' undeclared (first use in this function)
cluster_mgr.c:93: error: syntax error before "tmp_doc"
cluster_mgr.c:146: error: `tmp_doc' undeclared (first use in this function)
cluster_mgr.c:146: warning: implicit declaration of function
`xmlParseMemory'
cluster_mgr.c:167: warning: implicit declaration of function `xmlDocDump'
cluster_mgr.c:198: warning: implicit declaration of function `xmlParseFile'
cluster_mgr.c:247: warning: implicit declaration of function `xmlFreeDoc'
misc.c:25:27: libxml/parser.h: No such file or directory
misc.c:27:27: libxml/parser.h: No such file or directory
misc.c:28:25: libxml/tree.h: No such file or directory
misc.c:29:26: libxml/xpath.h: No such file or directory
misc.c:30:35: libxml/xpathInternals.h: No such file or directory
In file included from misc.c:35:
misc.h:17: error: syntax error before "xmlDocPtr"
misc.h:17: warning: no semicolon at end of struct or union
misc.h:18: warning: type defaults to `int' in declaration of `open_doc_t'
misc.h:18: warning: data definition has no type or storage class
misc.h:24: error: syntax error before '*' token
misc.h:24: warning: type defaults to `int' in declaration of `master_doc'
misc.h:24: warning: data definition has no type or storage class
misc.h:26: error: syntax error before "ldoc"
misc.h:27: error: syntax error before "ldoc"
misc.c:42: error: syntax error before '*' token
misc.c:42: warning: type defaults to `int' in declaration of `master_doc'
misc.c:42: warning: data definition has no type or storage class
misc.c:44: error: syntax error before "ldoc"
misc.c: In function `get_doc_version':
misc.c:47: error: `xmlXPathObjectPtr' undeclared (first use in this
function)
misc.c:47: error: (Each undeclared identifier is reported only once
misc.c:47: error: for each function it appears in.)
misc.c:47: error: syntax error before "obj"
misc.c:48: error: `xmlXPathContextPtr' undeclared (first use in this
function)
misc.c:49: error: `xmlNodePtr' undeclared (first use in this function)
misc.c:53: error: `ctx' undeclared (first use in this function)
misc.c:53: warning: implicit declaration of function `xmlXPathNewContext'
misc.c:53: error: `ldoc' undeclared (first use in this function)
misc.c:60: error: `obj' undeclared (first use in this function)
misc.c:60: warning: implicit declaration of function
`xmlXPathEvalExpression'
misc.c:67: error: `node' undeclared (first use in this function)
misc.c:68: error: `XML_ATTRIBUTE_NODE' undeclared (first use in this
function)
misc.c:91: warning: implicit declaration of function `xmlXPathFreeContext'
misc.c:94: warning: implicit declaration of function `xmlXPathFreeObject'
misc.c: At top level:
misc.c:109: error: syntax error before "ldoc"
misc.c: In function `get_cluster_name':
misc.c:112: error: `xmlXPathObjectPtr' undeclared (first use in this
function)
misc.c:112: error: syntax error before "obj"
misc.c:113: error: `xmlXPathContextPtr' undeclared (first use in this
function)
misc.c:114: error: `xmlNodePtr' undeclared (first use in this function)
misc.c:118: error: `ctx' undeclared (first use in this function)
misc.c:118: error: `ldoc' undeclared (first use in this function)
misc.c:125: error: `obj' undeclared (first use in this function)
misc.c:132: error: `node' undeclared (first use in this function)
misc.c:133: error: `XML_ATTRIBUTE_NODE' undeclared (first use in this
function)
make[2]: *** [ccsd] Error 1
make[2]: Leaving directory `/usr/2.6.9-cluster/cluster/ccs/daemon'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/2.6.9-cluster/cluster/ccs'
make: *** [install] Error 2



High Mobley
Priority Networks


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