LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

problems compiling saru-0.0.1

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: problems compiling saru-0.0.1
From: "Jim Miller" <jimm@xxxxxxxxxxxxxxx>
Date: Fri, 8 Apr 2005 11:41:55 -0500
Hi all,

I'm having trouble compling saru-0.0.1.  I've installed all the prerequsit
libraries needed:
libvanessa-adt0_0.0.6-2_i386.deb
libvanessa-adt-dev_0.0.6-2_i386.deb
libvanessa-logger0_0.0.7-1_i386.deb
libvanessa-logger-dev_0.0.7-1_i386.deb
libvanessa-socket0_0.0.7-1_i386.deb
libvanessa-socket-dev_0.0.7-1_i386.deb
libvanessa-socket-pipe_0.0.7-1_i386.deb
heartbeat-dev-1.2.3-8
iptables-dev-1.2.11-8

Below I have the results of ./confgure and make and I was hoping for some
direction for getting this resolved.


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for glib-config... /usr/bin/glib-config
checking for glib12-config... (cached) /usr/bin/glib-config
checking for glib13-config... (cached) /usr/bin/glib-config
checking for poptGetContext in -lpopt... yes
checking for vanessa_logger_closelog in -lvanessa_logger... yes
checking for vanessa_queue_create in -lvanessa_adt... yes
checking for vanessa_socket_daemon_inetd_process in -lvanessa_socket... yes
checking which glib config exists... "using /usr/bin/glib-config"
checking ipt (libiptc/libiptc.h) include path... /usr/include
checking for /usr/src/linux/include/linux/version.h... yes
checking kernel release... 2.4.27
checking kernel module install path...
/usr/lib/modules/2.4.27/kernel/net/ipv4/netfilter
checking for ll_cluster_new in -lhbclient... yes
checking heartbeat (heartbeat.h) include path... /usr/include/heartbeat
checking for iptables... /sbin/iptables
checking iptables version... "1.2.11"
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for wait3 that fills in rusage... yes
checking for flim... no
configure: creating ./config.status
config.status: creating debian/Makefile
config.status: creating iptables/Makefile
config.status: creating iptables/extensions/Makefile
config.status: creating iptables/kernel/Makefile
config.status: creating etc/Makefile
config.status: creating etc/init.d/Makefile
config.status: creating etc/init.d/saru.rh
config.status: creating etc/init.d/saru.debian
config.status: creating etc/saru/Makefile
config.status: creating saru/Makefile
config.status: creating patches/Makefile
config.status: creating Makefile
config.status: creating saru.spec
config.status: creating config.h
config.status: executing default-1 commands


direct1:/usr/src/saru-0.0.1# make
make  all-recursive
make[1]: Entering directory `/usr/src/saru-0.0.1'
Making all in saru
make[2]: Entering directory `/usr/src/saru-0.0.1/saru'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/src/linux/include -I/usr/include/hea
rtbeat
`/usr/bin/glib-config --cflags` -I../iptables/kernel -DSARU_SYSCONFDIR=\"/us
r/etc/saru\"    -g -O2 -c ping.c
ping.c: In function `main':
ping.c:570: error: `_ha_msg_h_Id' undeclared (first use in this function)
ping.c:570: error: (Each undeclared identifier is reported only once
ping.c:570: error: for each function it appears in.)
ping.c:571: error: `_heartbeat_h_Id' undeclared (first use in this function)
make[2]: *** [ping.o] Error 1
make[2]: Leaving directory `/usr/src/saru-0.0.1/saru'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/saru-0.0.1'
make: *** [all-recursive-am] Error 2


<Prev in Thread] Current Thread [Next in Thread>