ocfs2-tools-1.4.4 is too old. Build 1.6.4. The source tarball is on oss.oracle.com.
On 10/27/2011 12:45 PM, Nick Khamis wrote: > Hello Everyone, > > I am building ocfs2-tools from source. Modified > /ocfs2_controld/Makefile to point to the correct pacemaker 1.1.6 > headers: > > PCMK_INCLUDES = -I/usr/include/pacemaker -I/usr/include/heartbeat > -I/usr/include/libxml2 $(GLIB_CFLAGS) > > However, for some reason I am getting: > > setup_stack: > pacemaker.c:158: error: PCMK_SERVICE_ID undeclared (first use in this > function) > pacemaker.c:158: error: (Each undeclared identifier is reported only once > pacemaker.c:158: error: for each function it appears in.) > make[1]: *** [pacemaker.o] Error 1 > make[1]: Leaving directory `/usr/local/src/ocfs2-tools-1.4.4/ocfs2_controld' > > The config I am using: > > ./configure --sbindir=/sbin --bin=/bin --libdir=/usr/lib > --sysconfdir=/etc --datadir=/etc/ocfs2 --sharedstatedir=/var/ocfs2 > --libexecdir=/usr/libexec --localstatedir=/var --mandir=/usr/man > --enable-dynamic-fsck --enable-dynamic-ctl > > > Thanks in Advance, > > Nick. > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users