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

[Linux-cluster] Build errors



Is this a known issue, or something I should chase down?
Superficially, it looks like a missing ``-I'' option which
should be pointing to /home/bkorb/RHCluster/bld-cluster/build/incdir
instead of /home/bkorb/RHCluster/bld-cluster/build/incdir/cluster.
TIA for any help. Regards, Bruce

> make[2]: Entering directory `/home/bkorb/RHCluster/bld-cluster/cman/lib'
> gcc -Wall  -g -O -I. -fPIC -I/home/bkorb/RHCluster/bld-cluster/build/incdir/cluster -c -o libcman.o libcman.c
> libcman.c:31:35: cluster/cnxman-socket.h: No such file or directory
> libcman.c:44: warning: "struct cl_cluster_node" declared inside parameter list
> libcman.c:44: warning: its scope is only this definition or declaration, which is probably not what you want
> libcman.c: In function `copy_node':
> libcman.c:46: error: dereferencing pointer to incomplete type
> libcman.c:47: error: dereferencing pointer to incomplete type
> libcman.c:47: error: `NODESTATE_MEMBER' undeclared (first use in this function)
> libcman.c:47: error: (Each undeclared identifier is reported only once
> libcman.c:47: error: for each function it appears in.)
> libcman.c:48: error: dereferencing pointer to incomplete type
> libcman.c:49: error: dereferencing pointer to incomplete type
> libcman.c: In function `cman_init':
> libcman.c:65: error: `AF_CLUSTER' undeclared (first use in this function)
> libcman.c:65: error: `CLPROTO_CLIENT' undeclared (first use in this function)
> libcman.c: In function `cman_dispatch':
> libcman.c:122: error: storage size of 'saddr' isn't known

> $ ls /home/bkorb/RHCluster/bld-cluster/build/incdir/cluster
> cnxman-socket.h  cnxman.h  dlm.h  dlm_device.h  service.h
> $ find . -name '*.[ch]'|xargs fgrep cluster/cnxman-socket.h
> ./cman/lib/libcman.c:#include <cluster/cnxman-socket.h>
> ./cman-kernel/src/cnxman.h:#include "cluster/cnxman-socket.h"
> ./cmirror/src/dm-cmirror-client.c:#include <cluster/cnxman-socket.h>
> ./cmirror/src/dm-cmirror-cman.c:#include <cluster/cnxman-socket.h>
> ./cmirror/src/dm-cmirror-server.c:#include <cluster/cnxman-socket.h>
> ./dlm-kernel/src/cnxman.h:#include "cluster/cnxman-socket.h"
> ./fence/agents/manual/manual.c:#include <cluster/cnxman-socket.h>
> ./gfs-kernel/src/dlm/cnxman.h:#include "cluster/cnxman-socket.h"
> ./build/incdir/cluster/cnxman.h:#include "cluster/cnxman-socket.h"


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