Hi I'm having issues compiling and installing Heartbeat 3.0.5 from source
at RHEL 6.3 and I'm running with some issues I cannot solve. Prior
compiling Heartbeat I was able to install all dependencies but when I get
the stage of "make" I get

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I../include
-I../linux-ha -I../linux-ha -I../libltdl -I../libltdl
 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -g
-I/usr/include/heartbeat  -Wall -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wdeclaration-after-statement -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   -ggdb3 -funsigned-char -O2 -g
-I/usr/include/heartbeat  -Wall -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wdeclaration-after-statement -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   -ggdb3 -funsigned-char -MT
heartbeat-heartbeat.o -MD -MP -MF .deps/heartbeat-heartbeat.Tpo -c -o
heartbeat-heartbeat.o `test -f 'heartbeat.c' || echo './'`heartbeat.c
heartbeat.c: In function 'restart_heartbeat':
heartbeat.c:4216: error: 'HA_LIBHBDIR' undeclared (first use in this
function)
heartbeat.c:4216: error: (Each undeclared identifier is reported only once
heartbeat.c:4216: error: for each function it appears in.)
heartbeat.c:4216: error: expected ')' before string constant
heartbeat.c:4219: error: too few arguments to function 'execl'
heartbeat.c:4221: error: expected ')' before string constant
heartbeat.c:4222: error: too few arguments to function 'execl'
heartbeat.c:4229: error: expected ')' before string constant
heartbeat.c:4229: error: too few arguments to function 'execl'
heartbeat.c:4231: error: expected ')' before 'HA_LIBHBDIR'
gmake[2]: *** [heartbeat-heartbeat.o] Error 1
gmake[2]: Leaving directory
`/root/rpmbuild/BUILD/Heartbeat-3-0-STABLE-3.0.4/heartbeat'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/root/rpmbuild/BUILD/Heartbeat-3-0-STABLE-3.0.4/heartbeat'
make: *** [all-recursive] Error 1
error: Estado de salida erróneo de /var/tmp/rpm-tmp.nA38v2 (%build)


Errores de construcción RPM:
    Estado de salida erróneo de /var/tmp/rpm-tmp.nA38v2 (%build)


and then it won't go on. Any suggestions?

Thank you,

Emilio.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to