Hardware: V210
O/S: Solaris 10 Update 5 with recommended patch cluster
Required packages (autoconf automake libtool etc) obtained from sunfreeware.com 
repository
Heartbeat development version Linux-HA-Dev-fc047640072c  (installed in 
/opt/LXHAhb )
Pacemaker development version Pacemaker-Devel-7173fd1de394

Am trying to build Pacemaker, starting with the following command:

./ConfigureMe configure --with-heartbeat-support --without-ais-support

This eventually fails with

checking for ll_cluster_new in -lhbclient... no
checking for msgfromIPC_timeout... no
configure: error: You must choose at least one cluster stack to support
See `config.log' for more details.



After taking a look at config.log I found the following:

configure:32622: result: no
configure:32664: checking for msgfromIPC_timeout
configure:32720: gcc -std=gnu99 -o conftest  -I/opt/LXHAhb/include/heartbeat  
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/local/include/libxml2
  conftest.c -lxslt -lxml2 -lc -lpam -lrt -ldl -lc -lposix4 -lsocket -lnsl  
-lltdl >&5
Undefined                       first referenced
 symbol                             in file
msgfromIPC_timeout                  /var/tmp//ccub8AFP.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status

After searching around I found that the routine is in 
/opt/LXHAhb/lib/libplumb.so :

$ nm libplumb.so |grep msgfrom
0000f2d0 T ipcmsgfromIPC
0001054c T msgfromIPC
000103f4 t msgfromIPC_ll
00010530 T msgfromIPC_noauth
00010564 T msgfromIPC_timeout
0000f15c T msgfromstream
0000f01c T msgfromstream_netstring
0000eeb0 T msgfromstream_string

So it appears Configure isn't picking up the libraries in /opt/LXHAhb/lib

I then tried after setting LDFLAGS :

export LDFLAGS=-L/opt/LXHAhb/lib

This, at least, allows ConfigureMe to finish:

pacemaker configuration:
  Version                  = 0.7.0
  Prefix                   = /opt/LXHAhb
  Executables              = /opt/LXHAhb/sbin
  Man pages                = /opt/LXHAhb/share/man
  Libraries                = /opt/LXHAhb/lib
  Header files             = /opt/LXHAhb/include
  Arch-independent files   = /opt/LXHAhb/share
  State information        = /var/opt/LXHAhb
  System configuration     = /etc/opt/LXHAhb
  Init (rc) scripts        = /etc/init.d
  Use system LTDL          = yes
  HA group name            = haclient
  HA user name             = hacluster
  With Heartbeat support   = 1
  With AIS support         = 0
  With AIS prefix          =
  CC_WARNINGS              =  -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual 
-Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral 
-Wno-long-long -Wno-strict-aliasing
  Mangled CFLAGS           =  -I/opt/LXHAhb/include/heartbeat  -Wall 
-Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith 
-Wwrite-strings -Wcast-qual -Wcast-align
-Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 
-Wformat-security -Wformat-nonliteral -Wno-long-long
-Wno-strict-aliasing   -ggdb3 -funsigned-char
  Libraries                = -lgnutls -lbz2 -lxslt -lxml2 -lc -lplumb -lpam 
-lrt -ldl -lc -lposix4 -lsocket -lnsl  -lltdl


HOWEVER......

We don't get very far before we hit a problem:

/bin/sh ../../../libtool --tag=CC  --tag=CC   --mode=compile gcc -std=gnu99 
-DHAVE_CONFIG_H -I. -I../../../include
-I../../../include  -I../../../include -I../../../libltdl  -I../../../libltdl 
-I/include/openais
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/local/include/libxml2  -I/opt/LXHAhb/include/heartbeat
-Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wdeclaration-after-statement -Wpointer-arith
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
-Wmissing-format-attribute -Wformat=2
-Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -MT 
ipc.lo -MD -MP -MF .deps/ipc.Tpo -c -o
ipc.lo ipc.c
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include 
-I../../../include -I../../../libltdl
-I../../../libltdl -I/include/openais -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/opt/LXHAhb/include/heartbeat -Wall -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual 
-Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral 
-Wno-long-long -Wno-strict-aliasing -MT
ipc.lo -MD -MP -MF .deps/ipc.Tpo -c ipc.c  -fPIC -DPIC -o .libs/ipc.o
In file included from ipc.c:31:
../../../include/crm/crm.h:28:31: clplumbing/cl_log.h: No such file or directory
../../../include/crm/crm.h:29:34: clplumbing/cl_malloc.h: No such file or 
directory
In file included from ../../../include/crm/common/xml.h:29,
                 from ../../../include/crm/common/util.h:22,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
/opt/LXHAhb/include/heartbeat/ha_msg.h:27:28: clplumbing/ipc.h: No such file or 
directory
/opt/LXHAhb/include/heartbeat/ha_msg.h:28:34: clplumbing/longclock.h: No such 
file or directory
/opt/LXHAhb/include/heartbeat/ha_msg.h:29:32: clplumbing/cl_uuid.h: No such 
file or directory
.
.
.

(see attached file for full output from make).


The errors regarding the header files can be resolved by defining CFLAGS prior 
to ConfigureMe:

export CFLAGS=-I/opt/LXHAhb/include

Though we still end up with a failure when compiling ipc.c  :

In file included from ipc.c:31:
../../../include/crm/crm.h:29:34: clplumbing/cl_malloc.h: No such file or 
directory
ipc.c: In function `xml2ipcchan':
ipc.c:120: warning: int format, pid_t arg (arg 4)
ipc.c: In function `send_ipc_message':
ipc.c:165: warning: int format, pid_t arg (arg 5)
ipc.c:165: warning: int format, pid_t arg (arg 4)
ipc.c: In function `init_client_ipc_comms_nodispatch':
ipc.c:268: warning: implicit declaration of function `cl_malloc'
ipc.c:268: warning: assignment makes pointer from integer without a cast
ipc.c:282: warning: implicit declaration of function `cl_free'
ipc.c: In function `subsystem_msg_dispatch':
ipc.c:409: warning: int format, pid_t arg (arg 5)
ipc.c:409: warning: int format, pid_t arg (arg 4)
ipc.c: In function `new_ha_msg_input':
ipc.c:572: warning: assignment makes pointer from integer without a cast
make[3]: *** [ipc.lo] Error 1
make[3]: Leaving directory 
`/software/Pacemaker-Devel-7173fd1de394/lib/crm/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/software/Pacemaker-Devel-7173fd1de394/lib/crm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/software/Pacemaker-Devel-7173fd1de394/lib'
make: *** [all-recursive] Error 1


I've searched the sources for Heartbeat AND Pacemaker but cannot find 
cl_malloc.h anywhere

Suggestions anyone?


-- 
Paul Walsh

 make
Making all in debian
make[1]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/debian'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/debian'
Making all in build
make[1]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/build'
Making all in pkg
make[2]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/build/pkg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/build/pkg'
Making all in port
make[2]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/build/port'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/build/port'
make[2]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/build'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/build'
make[1]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/build'
Making all in replace
make[1]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/replace'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/replace'
Making all in include
make[1]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/include'
make   all-recursive
make[2]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/include'
Making all in crm
make[3]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm'
Making all in common
make[4]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm/common'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm/common'
Making all in pengine
make[4]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm/pengine'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm/pengine'
make[4]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm'
make[3]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/crm'
Making all in fencing
make[3]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/fencing'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/include/fencing'
make[3]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/include'
if [ -r ha_version.h -a ! -w ha_version.h ]; then       \
                hgv="";                                         \
                echo "Saved Version";                           \
        elif [ -f "../.hg_archival.txt" ]; then                 \
                hgv="`/usr/xpg4/bin/grep -E node: ""../.hg_archival.txt""`";    
                \
                echo "Hg Archived Version: ${hgv}";             \
        elif [ -x /usr/local/hg -a -d ../.hg ]; then            \
                hgv="`/usr/local/hg -R ".." id`";                       \
                echo "Hg Live Version: ${hgv}";         \
        elif [ -r ha_version.h ]; then                          \
                hgv="";                                         \
                echo "Hg Saved Live Version";                   \
                cat ha_version.h;                               \
        else                                                    \
                hgv="Unknown";                                  \
                echo "Unknown Hg Version";                      \
        fi ;                                                    \
        if [ X"${hgv}" != "X" ]; then                                   \
          echo "/* ${hgv} */" > ha_version.h;                           \
          echo "#define HA_HG_VERSION \"${hgv}\"" >> ha_version.h;      \
        fi
Hg Archived Version: node: 7173fd1de3942a43b2594dba9ebbecaedcab3683
make[3]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/include'
make[2]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/include'
make[1]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/include'
Making all in lib
make[1]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/lib'
Making all in crm
make[2]: Entering directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/lib/crm'
Making all in common
make[3]: Entering directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/lib/crm/common'
/bin/sh ../../../libtool --tag=CC  --tag=CC   --mode=compile gcc -std=gnu99 
-DHAVE_CONFIG_H -I. -I../../../include -I../../../include  -I../../../include 
-I../../../libltdl  -I../../../libltdl -I/include/openais  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/local/include/libxml2  -I/opt/LXHAhb/include/heartbeat  -Wall 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual 
-Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 
-Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -MT 
ipc.lo -MD -MP -MF .deps/ipc.Tpo -c -o ipc.lo ipc.c
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include 
-I../../../include -I../../../libltdl -I../../../libltdl -I/include/openais 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/local/include/libxml2 -I/opt/LXHAhb/include/heartbeat -Wall 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual 
-Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 
-Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -MT 
ipc.lo -MD -MP -MF .deps/ipc.Tpo -c ipc.c  -fPIC -DPIC -o .libs/ipc.o
In file included from ipc.c:31:
../../../include/crm/crm.h:28:31: clplumbing/cl_log.h: No such file or directory
../../../include/crm/crm.h:29:34: clplumbing/cl_malloc.h: No such file or 
directory
In file included from ../../../include/crm/common/xml.h:29,
                 from ../../../include/crm/common/util.h:22,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
/opt/LXHAhb/include/heartbeat/ha_msg.h:27:28: clplumbing/ipc.h: No such file or 
directory
/opt/LXHAhb/include/heartbeat/ha_msg.h:28:34: clplumbing/longclock.h: No such 
file or directory
/opt/LXHAhb/include/heartbeat/ha_msg.h:29:32: clplumbing/cl_uuid.h: No such 
file or directory
In file included from ../../../include/crm/common/xml.h:29,
                 from ../../../include/crm/common/util.h:22,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
/opt/LXHAhb/include/heartbeat/ha_msg.h:64: error: syntax error before 
"longclock_t"
/opt/LXHAhb/include/heartbeat/ha_msg.h:64: warning: no semicolon at end of 
struct or union
/opt/LXHAhb/include/heartbeat/ha_msg.h:65: warning: type defaults to `int' in 
declaration of `hb_msg_stats_t'
/opt/LXHAhb/include/heartbeat/ha_msg.h:65: warning: data definition has no type 
or storage class
/opt/LXHAhb/include/heartbeat/ha_msg.h:244: error: syntax error before "time"
/opt/LXHAhb/include/heartbeat/ha_msg.h:244: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:246: warning: type defaults to `int' in 
declaration of `hb_msg_stats_t'
/opt/LXHAhb/include/heartbeat/ha_msg.h:246: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:246: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:267: warning: type defaults to `int' in 
declaration of `cl_uuid_t'
/opt/LXHAhb/include/heartbeat/ha_msg.h:267: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:267: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:287: warning: type defaults to `int' in 
declaration of `cl_uuid_t'
/opt/LXHAhb/include/heartbeat/ha_msg.h:287: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:287: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:315: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:315: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:315: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:315: error: `cl_ipc_wait_timeout' 
declared as function returning a function
/opt/LXHAhb/include/heartbeat/ha_msg.h:315: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:318: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:318: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:319: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:319: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:321: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:321: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:321: warning: type defaults to `int' in 
declaration of `ipcmsgfromIPC'
/opt/LXHAhb/include/heartbeat/ha_msg.h:321: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:321: warning: data definition has no 
type or storage class
/opt/LXHAhb/include/heartbeat/ha_msg.h:360: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:360: error: syntax error before 
"IPC_Channel"
/opt/LXHAhb/include/heartbeat/ha_msg.h:360: warning: type defaults to `int' in 
declaration of `wirefmt2ipcmsg'
/opt/LXHAhb/include/heartbeat/ha_msg.h:360: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:360: warning: data definition has no 
type or storage class
/opt/LXHAhb/include/heartbeat/ha_msg.h:363: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:363: error: syntax error before 
"IPC_Channel"
/opt/LXHAhb/include/heartbeat/ha_msg.h:363: warning: type defaults to `int' in 
declaration of `hamsg2ipcmsg'
/opt/LXHAhb/include/heartbeat/ha_msg.h:363: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:363: warning: data definition has no 
type or storage class
/opt/LXHAhb/include/heartbeat/ha_msg.h:366: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:366: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:369: error: syntax error before 
"IPC_Channel"
/opt/LXHAhb/include/heartbeat/ha_msg.h:369: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:373: error: syntax error before '*' token
/opt/LXHAhb/include/heartbeat/ha_msg.h:373: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/ha_msg.h:397: error: syntax error before 
"cl_uuid_t"
/opt/LXHAhb/include/heartbeat/ha_msg.h:397: warning: function declaration isn't 
a prototype
In file included from ../../../include/crm/common/util.h:22,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
../../../include/crm/common/xml.h:314: error: syntax error before '*' token
../../../include/crm/common/xml.h:314: warning: function declaration isn't a 
prototype
In file included from ../../../include/crm/common/util.h:25,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
/opt/LXHAhb/include/heartbeat/hb_api.h:205: error: syntax error before 
"cl_uuid_t"
/opt/LXHAhb/include/heartbeat/hb_api.h:205: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/hb_api.h:212: error: syntax error before 
"cl_uuid_t"
/opt/LXHAhb/include/heartbeat/hb_api.h:214: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/hb_api.h:240: error: syntax error before 
"cl_uuid_t"
/opt/LXHAhb/include/heartbeat/hb_api.h:240: warning: function declaration isn't 
a prototype
/opt/LXHAhb/include/heartbeat/hb_api.h:274: error: syntax error before 
"IPC_Channel"
/opt/LXHAhb/include/heartbeat/hb_api.h:274: warning: no semicolon at end of 
struct or union
/opt/LXHAhb/include/heartbeat/hb_api.h:396: error: syntax error before '}' token
In file included from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
../../../include/crm/common/util.h:26:28: ocf/oc_event.h: No such file or 
directory
In file included from ../../../include/crm/common/util.h:29,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
/opt/LXHAhb/include/heartbeat/lrm/lrm_api.h:78:32: clplumbing/GSource.h: No 
such file or directory
In file included from ../../../include/crm/common/util.h:29,
                 from ../../../include/crm/crm.h:67,
                 from ipc.c:31:
/opt/LXHAhb/include/heartbeat/lrm/lrm_api.h:406: error: syntax error before 
"IPC_Channel"
/opt/LXHAhb/include/heartbeat/lrm/lrm_api.h:406: warning: no semicolon at end 
of struct or union
/opt/LXHAhb/include/heartbeat/lrm/lrm_api.h:411: error: conflicting types for 
'msgready'
/opt/LXHAhb/include/heartbeat/hb_api.h:278: error: previous declaration of 
'msgready' was here
/opt/LXHAhb/include/heartbeat/lrm/lrm_api.h:420: error: conflicting types for 
'rcvmsg'
/opt/LXHAhb/include/heartbeat/hb_api.h:290: error: previous declaration of 
'rcvmsg' was here
/opt/LXHAhb/include/heartbeat/lrm/lrm_api.h:422: error: syntax error before '}' 
token
ipc.c:34:38: clplumbing/Gmain_timeout.h: No such file or directory
ipc.c:36:34: clplumbing/cl_signal.h: No such file or directory
ipc.c:37:38: clplumbing/lsb_exitcodes.h: No such file or directory
ipc.c:38:29: clplumbing/uids.h: No such file or directory
ipc.c:39:33: clplumbing/realtime.h: No such file or directory
ipc.c:41:32: clplumbing/cl_poll.h: No such file or directory
In file included from ipc.c:45:
../../../include/crm/common/ipc.h:32: error: syntax error before "IPC_Channel"
../../../include/crm/common/ipc.h:32: warning: no semicolon at end of struct or 
union
../../../include/crm/common/ipc.h:33: warning: type defaults to `int' in 
declaration of `client_source'
../../../include/crm/common/ipc.h:33: warning: data definition has no type or 
storage class
../../../include/crm/common/ipc.h:34: error: syntax error before '}' token
../../../include/crm/common/ipc.h:34: warning: type defaults to `int' in 
declaration of `crmd_client_t'
../../../include/crm/common/ipc.h:34: warning: data definition has no type or 
storage class
../../../include/crm/common/ipc.h:36: error: syntax error before '*' token
../../../include/crm/common/ipc.h:36: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:43: error: syntax error before '*' token
../../../include/crm/common/ipc.h:43: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:46: error: syntax error before '*' token
../../../include/crm/common/ipc.h:49: error: syntax error before '*' token
../../../include/crm/common/ipc.h:49: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:50: error: syntax error before "IPC_Channel"
../../../include/crm/common/ipc.h:50: warning: type defaults to `int' in 
declaration of `init_client_ipc_comms'
../../../include/crm/common/ipc.h:50: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:50: warning: data definition has no type or 
storage class
../../../include/crm/common/ipc.h:52: error: syntax error before '*' token
../../../include/crm/common/ipc.h:52: warning: type defaults to `int' in 
declaration of `init_client_ipc_comms_nodispatch'
../../../include/crm/common/ipc.h:52: warning: data definition has no type or 
storage class
../../../include/crm/common/ipc.h:54: error: syntax error before '*' token
../../../include/crm/common/ipc.h:54: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:56: error: syntax error before '*' token
../../../include/crm/common/ipc.h:56: warning: type defaults to `int' in 
declaration of `wait_channel_init'
../../../include/crm/common/ipc.h:56: warning: data definition has no type or 
storage class
../../../include/crm/common/ipc.h:58: error: syntax error before '*' token
../../../include/crm/common/ipc.h:58: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:69: error: syntax error before '*' token
../../../include/crm/common/ipc.h:73: warning: function declaration isn't a 
prototype
../../../include/crm/common/ipc.h:95: error: syntax error before '*' token
../../../include/crm/common/ipc.h:95: warning: function declaration isn't a 
prototype
In file included from ipc.c:46:
../../../include/crm/common/cluster.h:64: error: syntax error before "event"
../../../include/crm/common/cluster.h:64: warning: function declaration isn't a 
prototype
../../../include/crm/common/cluster.h:65: error: syntax error before "event"
../../../include/crm/common/cluster.h:65: warning: function declaration isn't a 
prototype
../../../include/crm/common/cluster.h:67: warning: type defaults to `int' in 
declaration of `oc_ev_membership_t'
../../../include/crm/common/cluster.h:67: error: syntax error before '*' token
../../../include/crm/common/cluster.h:67: warning: function declaration isn't a 
prototype
ipc.c:49: error: syntax error before '*' token
ipc.c:50: warning: function declaration isn't a prototype
ipc.c: In function `xmlfromIPC':
ipc.c:55: error: `IPC_OK' undeclared (first use in this function)
ipc.c:55: error: (Each undeclared identifier is reported only once
ipc.c:55: error: for each function it appears in.)
ipc.c:57: error: `ch' undeclared (first use in this function)
ipc.c:57: error: `timeout' undeclared (first use in this function)
ipc.c:59: error: `IPC_TIMEOUT' undeclared (first use in this function)
ipc.c:60: error: `LOG_WARNING' undeclared (first use in this function)
ipc.c:60: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:60: warning: implicit declaration of function `cl_log'
ipc.c:60: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:63: error: `IPC_BROKEN' undeclared (first use in this function)
ipc.c:68: error: `LOG_ERR' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:96: error: syntax error before "IPC_Channel"
ipc.c:97: warning: function declaration isn't a prototype
ipc.c: In function `xml2ipcchan':
ipc.c:99: error: `IPC_Message' undeclared (first use in this function)
ipc.c:99: error: `imsg' undeclared (first use in this function)
ipc.c:101: error: `m' undeclared (first use in this function)
ipc.c:101: error: `ch' undeclared (first use in this function)
ipc.c:102: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:104: error: `HA_FAIL' undeclared (first use in this function)
ipc.c:115: error: `IPC_OK' undeclared (first use in this function)
ipc.c:116: error: `IPC_CONNECT' undeclared (first use in this function)
ipc.c:117: error: `MAXFAILREASON' undeclared (first use in this function)
ipc.c:125: error: `HA_OK' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:130: error: syntax error before '*' token
ipc.c:131: warning: function declaration isn't a prototype
ipc.c: In function `send_ipc_message':
ipc.c:133: error: `LOG_WARNING' undeclared (first use in this function)
ipc.c:135: error: `ipc_client' undeclared (first use in this function)
ipc.c:135: error: `IPC_CLIENT' undeclared (first use in this function)
ipc.c:136: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:139: error: `msg' undeclared (first use in this function)
ipc.c:140: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:140: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:147: error: `IPC_CONNECT' undeclared (first use in this function)
ipc.c:153: error: `HA_OK' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:187: error: syntax error before '*' token
ipc.c:187: warning: function declaration isn't a prototype
ipc.c: In function `init_server_ipc_comms':
ipc.c:196: error: `IPC_WaitConnection' undeclared (first use in this function)
ipc.c:196: error: `wait_ch' undeclared (first use in this function)
ipc.c:206: warning: implicit declaration of function 
`G_main_add_IPC_WaitConnection'
ipc.c:211: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:211: error: `LOG_INFO' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:216: error: syntax error before '*' token
ipc.c:219: error: syntax error before '*' token
ipc.c:219: warning: function declaration isn't a prototype
ipc.c:220: error: syntax error before "IPC_Channel"
ipc.c:221: warning: return type defaults to `int'
ipc.c:221: warning: function declaration isn't a prototype
ipc.c: In function `init_client_ipc_comms':
ipc.c:222: error: `IPC_Channel' undeclared (first use in this function)
ipc.c:222: error: `a_ch' undeclared (first use in this function)
ipc.c:223: error: `GCHSource' undeclared (first use in this function)
ipc.c:223: error: `the_source' undeclared (first use in this function)
ipc.c:224: error: `client_data' undeclared (first use in this function)
ipc.c:224: warning: ISO C90 forbids mixed declarations and code
ipc.c:226: error: `channel_name' undeclared (first use in this function)
ipc.c:227: error: `ch' undeclared (first use in this function)
ipc.c:235: error: `LOG_WARNING' undeclared (first use in this function)
ipc.c:235: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:235: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:241: error: `dispatch' undeclared (first use in this function)
ipc.c:247: warning: implicit declaration of function `G_main_add_IPC_Channel'
ipc.c: At top level:
ipc.c:255: error: syntax error before '*' token
ipc.c:257: warning: return type defaults to `int'
ipc.c: In function `init_client_ipc_comms_nodispatch':
ipc.c:258: error: `IPC_Channel' undeclared (first use in this function)
ipc.c:258: error: `ch' undeclared (first use in this function)
ipc.c:259: warning: ISO C90 forbids mixed declarations and code
ipc.c:260: error: `IPC_PATH_ATTR' undeclared (first use in this function)
ipc.c:268: warning: implicit declaration of function `cl_malloc'
ipc.c:268: warning: assignment makes pointer from integer without a cast
ipc.c:268: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:268: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:268: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:277: warning: implicit declaration of function `ipc_channel_constructor'
ipc.c:277: error: `IPC_ANYTYPE' undeclared (first use in this function)
ipc.c:282: warning: implicit declaration of function `cl_free'
ipc.c:285: error: `IPC_OK' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:302: error: syntax error before '*' token
ipc.c:304: warning: return type defaults to `int'
ipc.c: In function `wait_channel_init':
ipc.c:305: error: `IPC_WaitConnection' undeclared (first use in this function)
ipc.c:305: error: `wait_ch' undeclared (first use in this function)
ipc.c:306: warning: ISO C90 forbids mixed declarations and code
ipc.c:307: error: `IPC_PATH_ATTR' undeclared (first use in this function)
ipc.c:315: warning: implicit declaration of function `ipc_wait_conn_constructor'
ipc.c:315: error: `IPC_ANYTYPE' undeclared (first use in this function)
ipc.c:317: warning: implicit declaration of function `cl_perror'
ipc.c: At top level:
ipc.c:328: error: syntax error before "ipc_call_start"
ipc.c:328: warning: type defaults to `int' in declaration of `ipc_call_start'
ipc.c:328: warning: data definition has no type or storage class
ipc.c:329: error: syntax error before "ipc_call_stop"
ipc.c:329: warning: type defaults to `int' in declaration of `ipc_call_stop'
ipc.c:329: warning: data definition has no type or storage class
ipc.c:330: error: syntax error before "ipc_call_diff"
ipc.c:330: warning: type defaults to `int' in declaration of `ipc_call_diff'
ipc.c:330: warning: data definition has no type or storage class
ipc.c:333: error: syntax error before '*' token
ipc.c:334: warning: function declaration isn't a prototype
ipc.c: In function `subsystem_msg_dispatch':
ipc.c:342: error: syntax error before "IPC_Channel"
ipc.c:342: warning: function declaration isn't a prototype
ipc.c:344: warning: implicit declaration of function `IPC_ISRCONN'
ipc.c:344: error: `sender' undeclared (first use in this function)
ipc.c:356: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:365: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:365: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:380: error: `user_data' undeclared (first use in this function)
ipc.c:382: warning: implicit declaration of function `time_longclock'
ipc.c:385: error: `LOG_WARNING' undeclared (first use in this function)
ipc.c:391: warning: implicit declaration of function `sub_longclock'
ipc.c:393: warning: implicit declaration of function `longclockto_ms'
ipc.c:402: error: `IPC_CONNECT' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:420: error: syntax error before '*' token
ipc.c:421: warning: function declaration isn't a prototype
ipc.c: In function `is_ipc_empty':
ipc.c:422: error: `ch' undeclared (first use in this function)
ipc.c: At top level:
ipc.c:433: error: syntax error before '*' token
ipc.c:438: warning: function declaration isn't a prototype
ipc.c: In function `send_hello_message':
ipc.c:441: error: `uuid' undeclared (first use in this function)
ipc.c:442: error: `client_name' undeclared (first use in this function)
ipc.c:443: error: `major_version' undeclared (first use in this function)
ipc.c:444: error: `minor_version' undeclared (first use in this function)
ipc.c:445: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:445: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:445: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:459: error: `ipc_client' undeclared (first use in this function)
ipc.c: In function `process_hello_message':
ipc.c:494: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:494: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:494: error: `LOG_INFO' undeclared (first use in this function)
ipc.c: In function `create_request_adv':
ipc.c:540: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:540: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:540: error: `LOG_INFO' undeclared (first use in this function)
ipc.c: In function `new_ha_msg_input':
ipc.c:572: warning: assignment makes pointer from integer without a cast
ipc.c:572: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:572: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:572: error: `LOG_INFO' undeclared (first use in this function)
ipc.c: In function `delete_ha_msg_input':
ipc.c:584: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:584: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:584: error: `LOG_INFO' undeclared (first use in this function)
ipc.c: In function `validate_crm_message':
ipc.c:619: error: `LOG_INFO' undeclared (first use in this function)
ipc.c:619: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c: In function `create_reply_adv':
ipc.c:672: error: `LOG_ERR' undeclared (first use in this function)
ipc.c:672: error: `LOG_DEBUG' undeclared (first use in this function)
ipc.c:672: error: `LOG_INFO' undeclared (first use in this function)
make[3]: *** [ipc.lo] Error 1
make[3]: Leaving directory 
`/intranet/HA/Pacemaker-Devel-7173fd1de394/lib/crm/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/lib/crm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/intranet/HA/Pacemaker-Devel-7173fd1de394/lib'
make: *** [all-recursive] Error 1

_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to