[Linux-ha-dev] Do we need ccdv?
DAIKI MATSUDA
d.matuda at gmail.com
Mon Feb 25 19:39:22 MST 2008
Hi, all.
I am trying the latest development source code on RHEL 5 and
encoutered the following error,
gmake[1]: Entering directory
`/home/matsuda/redhat/BUILD/Heartbeat-Dev-527d1843faeb/tools'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I../include -I../linux-ha -I../linux-ha -I.
./libltdl -I../libltdl -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fst
ack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -fno-unit-at-
a-time -Wall -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wdeclaration-after-statement -Wpoin
ter-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast
-Winline -Wmissing-format-attribute -Wforma
t=2 -Wformat-security -Wformat-nonliteral -Wno-long-long
-Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -MT
cl_status.o -MD -MP -MF ".deps/cl_status.Tpo" -c -o cl_status.o cl_status.c; \
then mv -f ".deps/cl_status.Tpo" ".deps/cl_status.Po"; else rm
-f ".deps/cl_status.Tpo"; exit 1; fi
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -mar
ch=i386 -mtune=generic -fasynchronous-unwind-tables
-fno-unit-at-a-time -Wall -Wmissing-prototypes -Wmissing-decl
arations -Wstrict-prototypes -Wdeclaration-after-statement
-Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-alig
n -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2
-Wformat-security -Wformat-nonliteral -Wno-lo
ng-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -o ccdv
../tools/ccdv.c
cc1: warnings being treated as errors
../tools/ccdv.c: In function 'main':
../tools/ccdv.c:362: warning: ignoring return value of 'write',
declared with attribute warn_unused_result
gmake[1]: *** [ccdv] Error 1
gmake[1]: Leaving directory
`/home/matsuda/redhat/BUILD/Heartbeat-Dev-527d1843faeb/tools'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.50842 (%build)
So, I applied the attached the patch.
But ccdv is not installed the system. And I removed the part from
Makefile and there is no error. So, do we need ccdv?
Regards
MATSUDA, Daiki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccdv.c.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20080226/c910aa27/ccdv.c.bin
More information about the Linux-HA-Dev
mailing list