[Linux-HA] Heartbeat 2.0 on Debian Linux Sarge (kernel 2.6.12.5)

Alan Robertson alanr at unix.sh
Sun Aug 28 21:19:15 MDT 2005


Sam Tran wrote:
> Hi all,
> 
> I am trying to compile heartbeat 2.0 on Debian Linux Sarge (kernel 2.6.12.5).
> 
> After running ./ConfigureMe configure I ran make. I got the following
> error message:
> 
> Making all in recoverymgrd
> make[2]: Entering directory
> `/usr/local/src/heartbeat-2.0.0/telecom/recoverymgrd'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include
> -I../../include -I../../include -I../../libltdl -I../../libltdl
> -I../../linux-ha -I../../linux-ha  -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include    -DVAR_RUN_D='""'
> -DHA_VARLIBDIR='"/var/lib"' -g -O2  -Wall -Wmissing-prototypes
> -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
> -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
> -Wmissing-format-attribute -Wformat=2 -Wformat-security
> -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror 
> -ggdb3 -funsigned-char -MT recoverymgrd-conf_lex.o -MD -MP -MF
> ".deps/recoverymgrd-conf_lex.Tpo" -c -o recoverymgrd-conf_lex.o `test
> -f 'conf_lex.c' || echo './'`conf_lex.c; \
> then mv -f ".deps/recoverymgrd-conf_lex.Tpo"
> ".deps/recoverymgrd-conf_lex.Po"; else rm -f
> ".deps/recoverymgrd-conf_lex.Tpo"; exit 1; fi
> conf_lex.c:1658: warning: no previous prototype for `yyget_lineno'
> conf_lex.c:1667: warning: no previous prototype for `yyget_in'
> conf_lex.c:1675: warning: no previous prototype for `yyget_out'
> conf_lex.c:1683: warning: no previous prototype for `yyget_leng'
> conf_lex.c:1692: warning: no previous prototype for `yyget_text'
> conf_lex.c:1701: warning: no previous prototype for `yyset_lineno'
> conf_lex.c:1713: warning: no previous prototype for `yyset_in'
> conf_lex.c:1718: warning: no previous prototype for `yyset_out'
> conf_lex.c:1723: warning: no previous prototype for `yyget_debug'
> conf_lex.c:1728: warning: no previous prototype for `yyset_debug'
> conf_lex.c:1734: warning: no previous prototype for `yylex_destroy'
> conf_lex.c:1166: warning: `yyunput' defined but not used
> make[2]: *** [recoverymgrd-conf_lex.o] Error 1
> make[2]: Leaving directory `/usr/local/src/heartbeat-2.0.0/telecom/recoverymgrd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/heartbeat-2.0.0/telecom'
> make: *** [all-recursive] Error 1

Yes.  I think it's fixed in CVS.

But, if you want to do this with your version of debian and the 2.0.0 
tar ball, then try adding --disable-fatal-warnings to your debian compile.


-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce


More information about the Linux-HA mailing list