make on FreeBSD
Pekka Savola
pekkas@netcore.fi
Tue, 10 Apr 2001 09:22:07 +0300 (EEST)
On Tue, 10 Apr 2001, Shusuke Nakao wrote:
> Hi.
> Would someone tell me how to compile heartbeat-0.4.9
> on FreeBSD-4.2-REL?
Remove -Werror from the compile flags.
> 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.
>
> ------------------------------------------------------------------------------
> Linux HA Web Site:
> http://linux-ha.org/
> Linux HA HOWTO:
> http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html
> ------------------------------------------------------------------------------
>
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords