keepalived-1.2.10 make error
Dánial Olsen <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to install keepalived 1.2.10 but make fails. See configure and make output below. I've compiled 1.2.9 successfully on this machine. It's a Debian 6.0.8 (2.6.32-5-amd64). # ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for strip... strip checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking whether ETHERTYPE_IPV6 is declared... yes checking for crypt in -lcrypt... yes checking for MD5_Init in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking for nl_socket_modify_cb in -lnl... no checking for nl_socket_alloc in -lnl-3... no configure: WARNING: keepalived will be built without libnl support. checking for kernel version... 2.6.32 checking for IPVS syncd support... yes checking for kernel macvlan support... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strtol... yes checking for uname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating genhash/Makefile config.status: creating keepalived/core/Makefile config.status: creating lib/config.h config.status: creating keepalived.spec config.status: creating keepalived/Makefile config.status: creating lib/Makefile config.status: creating keepalived/vrrp/Makefile config.status: creating keepalived/check/Makefile config.status: creating keepalived/libipvs-2.6/Makefile Keepalived configuration ------------------------ Keepalived version : 1.2.10 Compiler : gcc Compiler flags : -g -O2 Extra Lib : -lssl -lcrypto -lcrypt Use IPVS Framework : Yes IPVS sync daemon support : Yes IPVS use libnl : No Use VRRP Framework : Yes Use VRRP VMAC : Yes SNMP support : No SHA1 support : No Use Debug flags : No # make make -C lib || exit 1; make[1]: Entering directory `/root/keepalived-1.2.10/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/keepalived-1.2.10/lib' make -C keepalived make[1]: Entering directory `/root/keepalived-1.2.10/keepalived' make[2]: Entering directory `/root/keepalived-1.2.10/keepalived/core' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/keepalived-1.2.10/keepalived/core' make[2]: Entering directory `/root/keepalived-1.2.10/keepalived/check' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/keepalived-1.2.10/keepalived/check' make[2]: Entering directory `/root/keepalived-1.2.10/keepalived/vrrp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/keepalived-1.2.10/keepalived/vrrp' make[2]: Entering directory `/root/keepalived-1.2.10/keepalived/libipvs-2.6' gcc -g -O2 -I/usr/src/linux/include -I/usr/src/linux/include -DLIBIPVS_DONTUSE_NL -Wall -Wunused -c -o libipvs.o libipvs.c libipvs.c: In function `lerr2syserr´: libipvs.c:61: error: `LE_BAD_SOCK´ undeclared (first use in this function) libipvs.c:61: error: (Each undeclared identifier is reported only once libipvs.c:61: error: for each function it appears in.) libipvs.c:62: error: `LE_EXIST´ undeclared (first use in this function) libipvs.c:63: error: `LE_NOADDR´ undeclared (first use in this function) libipvs.c:64: error: `LE_OBJ_NOTFOUND´ undeclared (first use in this function) libipvs.c:65: error: `LE_INTR´ undeclared (first use in this function) libipvs.c:66: error: `LE_AGAIN´ undeclared (first use in this function) libipvs.c:67: error: `LE_INVAL´ undeclared (first use in this function) libipvs.c:68: error: `LE_NOACCESS´ undeclared (first use in this function) libipvs.c:69: error: `LE_NOMEM´ undeclared (first use in this function) libipvs.c:70: error: `LE_AF_NOSUPPORT´ undeclared (first use in this function) libipvs.c:71: error: `LE_PROTO_MISMATCH´ undeclared (first use in this function) libipvs.c:72: error: `LE_OPNOTSUPP´ undeclared (first use in this function) libipvs.c:73: error: `LE_PERM´ undeclared (first use in this function) libipvs.c:74: error: `LE_BUSY´ undeclared (first use in this function) libipvs.c:75: error: `LE_RANGE´ undeclared (first use in this function) libipvs.c:76: error: `LE_NODEV´ undeclared (first use in this function) make[2]: *** [libipvs.o] Error 1 make[2]: Leaving directory `/root/keepalived-1.2.10/keepalived/libipvs-2.6' make[1]: *** [all] Error 1 make[1]: Leaving directory `/root/keepalived-1.2.10/keepalived' make: *** [all] Error 2 Regards, Danial ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk