[Openais] whitetank does not compile under BSD

Steven Dake sdake at redhat.com
Mon Aug 21 21:31:55 PDT 2006


Fabien,

This patch is a backport from trunk which gets whitetank to compile.

Regards
-steve

On Mon, 2006-08-21 at 09:37 +0200, Fabien THOMAS wrote:
> i dont known if its corrected in a pending patch but there is another  
> missing include for assert.h in amfsg.c
> there is also two missing return code but i dont known what is the  
> good return code.
> 
> fabien
> 
> cc -O0 -g -Wall -DDEBUG  -DOPENAIS_BSD -I../include   -c -o amfapp.o  
> amfapp.c
> cc -O0 -g -Wall -DDEBUG  -DOPENAIS_BSD -I../include   -c -o amfsg.o  
> amfsg.c
> amfsg.c: In function `delete_si_assignments':
> amfsg.c:189: warning: implicit declaration of function `assert'
> cc -O0 -g -Wall -DDEBUG  -DOPENAIS_BSD -I../include   -c -o amfsu.o  
> amfsu.c
> cc -O0 -g -Wall -DDEBUG  -DOPENAIS_BSD -I../include   -c -o amfcomp.o  
> amfcomp.c
> amfcomp.c: In function `amf_comp_response_1':
> amfcomp.c:1414: warning: control reaches end of non-void function
> amfcomp.c: In function `amf_comp_get_saAmfCompReadinessState':
> amfcomp.c:1690: warning: control reaches end of non-void function
> cc -O0 -g -Wall -DDEBUG  -DOPENAIS_BSD -I../include   -c -o amfsi.o  
> amfsi.c
> cc  -g -pthread aispoll.o totemip.o totemnet.o totemrrp.o totemsrp.o  
> totemmrp.o totempg.o crypto.o wthread.o main.o print.o mempool.o  
> util.o sync.o service.o ipc.o timer.o totemconfig.o mainconfig.o ../ 
> lcr/lcr_ifact.o objdb.o evs.o clm.o ckpt.o evt.o lck.o msg.o cfg.o  
> cpg.o aisparser.o vsf_ykd.o amf.o amfutil.o amfnode.o amfcluster.o  
> amfapp.o amfsg.o amfsu.o amfcomp.o amfsi.o libtotem_pg.a -o aisexec
> amfsg.o(.text+0x1fd): In function `delete_si_assignments':
> openais-whitetank/exec/amfsg.c:189: undefined reference to `assert'
> amfsg.o(.text+0x584): In function `assign_si_assumed_cbfn':
> openais-whitetank/exec/amfsg.c:308: undefined reference to `assert'
> amfsg.o(.text+0x720):openais-whitetank/exec/amfsg.c:336: undefined  
> reference to `assert'
> amfsg.o(.text+0x13f5): In function `amf_sg_su_state_changed':
> openais-whitetank/exec/amfsg.c:718: undefined reference to `assert'
> amfsg.o(.text+0x1426):openais-whitetank/exec/amfsg.c:725: undefined  
> reference to `assert'
> amfsg.o(.text+0x1435):openais-whitetank/exec/amfsg.c:728: more  
> undefined references to `assert' follow
> gmake[1]: *** [aisexec] Error 1
> gmake[1]: Leaving directory `openais-whitetank/exec'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais
-------------- next part --------------
A non-text attachment was scrubbed...
Name: whitetank-compile-bsd.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20060821/01a8d73d/whitetank-compile-bsd-0001.bin


More information about the Openais mailing list