[Openais] whitetank does not compile under BSD

Fabien THOMAS fabien.thomas at netasq.com
Mon Aug 21 00:37:52 PDT 2006


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




More information about the Openais mailing list