make on FreeBSD

Shusuke Nakao shusuke@kyushu.iij.ad.jp
Tue, 10 Apr 2001 13:47:04 +0900 (JST)


Hi. 
Would someone tell me how to compile heartbeat-0.4.9 
on FreeBSD-4.2-REL?

Make stop at here.

sonic:~/work/heartbeat-0.4.9$ make
gmake: Entering directory `/usr/home/shusuke/work/heartbeat-0.4.9/doc'
gmake: Nothing to be done for `all'.
gmake: Leaving directory `/usr/home/shusuke/work/heartbeat-0.4.9/doc'
gmake: Entering directory `/usr/home/shusuke/work/heartbeat-0.4.9/stonith'
cc -g  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wshadow -Wpointer-arith -Wwrite-strings -Werror -fPIC -I. -DST_TEXTDOMAIN='"Stonith"' -DLOCALEDIR='"/usr/share/locale"' -DSTONITH_MODULES='"/usr/lib/stonith"'   -c -o stonith.o stonith.c
cc1: warnings being treated as errors
stonith.c: In function `symbol_load':
stonith.c:75: warning: assignment discards `const' from pointer target type
gmake: *** [stonith.o] Error 1
gmake: Leaving directory `/usr/home/shusuke/work/heartbeat-0.4.9/stonith'
*** Error code 2

Thanks.
---
Shusuke Nakao 
Internet Initiative Japan Inc.