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

[Cluster-devel] [PATCH] Fix cman build issue on current head



Fixes this build error:

gcc -Wall  -fPIC -g -I//root/head/cman/../ccs/lib -I//usr/include
-I../config -DCMAN_RELEASE_NAME=\"DEVEL.1151348944\" -I../lib -DDEBUG -I
openais20060622/trunk/exec -L openais20060622/trunk/exec   -c -o ais.o
ais.c
ais.c:40:18: error: swab.h: No such file or directory
In file included from ais.c:43:
daemon.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘quit_threads’
ais.c: In function ‘cman_deliver_fn’:
ais.c:356: warning: implicit declar
Index: Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/daemon/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile	22 Jun 2006 16:17:56 -0000	1.43
+++ Makefile	26 Jun 2006 19:18:59 -0000
@@ -19,7 +19,8 @@
 
 CFLAGS+= -fPIC -g -I${ccsincdir} -I${incdir} -I${top_srcdir}/config \
 	-DCMAN_RELEASE_NAME=\"${RELEASE}\" -I../lib -DDEBUG \
-	-I ${AISDIR}/${AISTAG}/exec -L ${AISDIR}/${AISTAG}/exec
+	-I ${AISDIR}/${AISTAG}/exec -I ${AISDIR}/${AISTAG}/include \
+	-L ${AISDIR}/${AISTAG}/exec
 
 TARGET=service_cman.lcrso
 CMAN_OBJS=daemon.o config.o logging.o ais.o commands.o barrier.o cmanccs.o

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