[prev in list] [next in list] [prev in thread] [next in thread]
List: keepalived-devel
Subject: [Keepalived-devel] enable-debug doesn't work with keepalived 1.1.16
From: "Vonlanthen, Elmar" <Elmar.Vonlanthen () united-security-providers ! ch>
Date: 2009-02-18 12:18:13
Message-ID: 98D8B015D09D1241A15FD54BA7EAFF15029CF772 () ttsrv02 ! tetrade ! ch
[Download RAW message or body]
This is an S/MIME signed message
[Attachment #2 (multipart/signed)]
This is an S/MIME signed message
Hello all
If I enable the debug mode compiling doesn't work. In 1.1.15 it is
working.
# ./configure --enable-debug
...
Keepalived configuration
------------------------
Keepalived version : 1.1.16
Compiler : gcc
Compiler flags : -g -O2
Extra Lib : -lpopt -lssl -lcrypto
Use IPVS Framework : Yes
IPVS sync daemon support : Yes
Use VRRP Framework : Yes
Use LinkWatch : Yes
Use Debug flags : Yes
# make
make -C lib || exit 1;
make[1]: Entering directory `/root/keepalived-1.1.16/lib'
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c memory.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c utils.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c notify.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c timer.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c
scheduler.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c vector.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c list.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c html.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c parser.c
gcc -g -O2 -I. -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -c signals.c
signals.c: In function signal_handler :
signals.c:71: warning: implicit declaration of function syslog
signals.c:71: error: LOG_DEBUG undeclared (first use in this function)
signals.c:71: error: (Each undeclared identifier is reported only once
signals.c:71: error: for each function it appears in.)
make[1]: *** [signals.o] Error 1
make[1]: Leaving directory `/root/keepalived-1.1.16/lib'
make: *** [all] Error 1
# gcc -v
Using built-in specs.
Target: i586-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
--prefix=/usr --bindir=/usr/i586-pc-linux-gnu/gcc-bin/4.1.2
--includedir=/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/include
--datadir=/usr/share/gcc-data/i586-pc-linux-gnu/4.1.2
--mandir=/usr/share/gcc-data/i586-pc-linux-gnu/4.1.2/man
--infodir=/usr/share/gcc-data/i586-pc-linux-gnu/4.1.2/info
--with-gxx-include-dir=/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/include/g++-
v4 --host=i586-pc-linux-gnu --build=i586-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt
--disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj
--with-arch=i586 --enable-languages=c,c++,treelang,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.3)
Best regards
Elmar
["smime.p7s" (application/x-pkcs7-signature)]
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Keepalived-devel mailing list
Keepalived-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic