cluster/fence/agents/xvm Makefile fence_xvmd.c ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: cfeist at sourceware.org 2006-10-05 22:57:47
Modified files:
fence/agents/xvm: Makefile fence_xvmd.c virt.c virt.h
Log message:
Update building for xvm fence agent to build cleanly in brew.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/Makefile.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/fence_xvmd.c.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/virt.c.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/virt.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
fence/agents/xvm/Makefile +4 -3
@@ -23,13 +23,14 @@ INCLUDE=-I${top_srcdir}/include -I${top_srcdir}/config \ -I/usr/include/openais -I/usr/include/libvirt \ - -I/usr/include/nss3 -I/usr/include/nspr4 + -I/usr/include/nss3 -I/usr/include/nspr4 \ + -I../../../cman/lib CFLAGS+=-DFENCE_RELEASE_NAME=\"${RELEASE}\" \ -Wall -Werror -Wstrict-prototypes -Wshadow -ggdb -LIBS+=-L../../../cman/lib -L../../../ccs/lib -L/usr/lib/openais \ - -lccs -lcman -ldlm -lnss3 -lvirt -lSaCkpt +LIBS+=-L../../../cman/lib -L../../../ccs/lib -L${libdir}/openais \ + -L../../../dlm/lib -lccs -lcman -ldlm -lnss3 -lvirt -lSaCkpt all: ${TARGETS}
fence/agents/xvm/fence_xvmd.c +1 -1
@@ -40,7 +40,6 @@#include <errno.h> #include <pthread.h> #include <virterror.h> -#include <libcman.h> #include <nss.h> #include <libgen.h>
@@ -51,6 +50,7 @@#include "mcast.h" #include "tcp.h" #include "virt.h" +#include "libcman.h" static int running =1 ;
fence/agents/xvm/virt.c +1 -1
@@ -19,7 +19,7 @@#include <stdio.h> #include <sys/types.h> #include <stdlib.h> -#include <libvirt.h> +#include <libvirt/libvirt.h> #include <string.h> #include <malloc.h> #include <stdint.h>
fence/agents/xvm/virt.h +1 -1
@@ -18,7 +18,7 @@*/ #ifndef _VIRT_H#define _VIRT_H -#include <libvirt.h> +#include <libvirt/libvirt.h> #include <stdint.h> #include <netinet/in.h>