I'm attempting to build debs of this version of Heartbeat on Ubuntu 8.0.4:

http://hg.linux-ha.org/dev/archive/tip.tar.bz2

$ cd Linux-HA-Dev-b32ca6086e32
$ dpkg-buildpackage -rfakeroot

...

All goes well until it tries to build cl_respawn.  Then there are
several undeclared functions/identifiers as noted below.

Any thoughts?

Thanks!

-Ben

creating cl_respawn
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/lib/glib-2.0/include
-I/usr/include/libxml2  -Wall -g -O2 -fgnu89-inline  -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 send_arp-send_arp.linux.o -MD -MP -MF
.deps/send_arp-send_arp.linux.Tpo -c -o send_arp-send_arp.linux.o
`test -f 'send_arp.linux.c' || echo './'`send_arp.linux.c
send_arp.linux.c:38: warning: initialization discards qualifiers from
pointer target type
send_arp.linux.c:83: warning: no previous prototype for 'set_signal'
send_arp.linux.c:94: warning: no previous prototype for 'send_pack'
send_arp.linux.c:136: warning: no previous prototype for 'finish'
send_arp.linux.c:161: warning: no previous prototype for 'catcher'
send_arp.linux.c:181: warning: no previous prototype for 'print_hex'
send_arp.linux.c:191: warning: no previous prototype for 'recv_pack'
send_arp.linux.c: In function 'main':
send_arp.linux.c:348: error: 'SNAPSHOT' undeclared (first use in this function)
send_arp.linux.c:348: error: (Each undeclared identifier is reported only once
send_arp.linux.c:348: error: for each function it appears in.)
send_arp.linux.c:366: error: 'print_usage' undeclared (first use in
this function)
make[2]: *** [send_arp-send_arp.linux.o] Error 1
make[2]: Leaving directory
`/home/insyte/build_deb/Linux-HA-Dev-b32ca6086e32/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/insyte/build_deb/Linux-HA-Dev-b32ca6086e32'
make: *** [configure] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to