Eric J. Bowser wrote:
Compiling xml.c:
[ERROR]
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../include
-I../../../include -I../../../include -I../../../include
-I../../../libltdl -I../../../libltdl -I../../../linux-ha
-I../../../linux-ha -I../../.. -I../../.. -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 -g -O2 -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 -Werror -ggdb3
-funsigned-char -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wdeclaration-after-statement -cc1: warnings being
treated as errors
xml.c: In function 'write_xml_file':
xml.c:618: warning: unused variable 'in'
xml.c: In function 'get_message_xml':
xml.c:758: error: 'BZ_OK' undeclared (first use in this function)
xml.c:758: error: (Each undeclared identifier is reported only once
xml.c:758: error: for each function it appears in.)
xml.c:779: warning: implicit declaration of function
'BZ2_bzBuffToBuffDecompress'
xml.c:782: error: 'BZ_OUTBUFF_FULL' undeclared (first use in this
function)
gmake[3]: *** [xml.lo] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Actually, on a guess, installing the bzip2 development package got me past this.
~Eric
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems