HELP: liblognorm compile error.

Forum for everything related to liblognorm.

Moderator: rgerhards

Google Ads


HELP: liblognorm compile error.

Postby fgrygus » Wed Mar 13, 2013 11:35 pm

Hi,

I have been using liblognorm-0.3.0 for some time, without issue. Using the same environment, I successfully compile libee-0.3.2 and libstr-0.3.2(and 0.4.1 for troubleshooting). When I try to compile liblognorm-0.3.5, I get an error. Am I missing a dependency?

[root@host liblognorm-0.3.5]# ./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig --libdir=/usr/lib --includedir=/usr/include
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for library containing clock_gettime... -lrt
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBESTR... yes
checking for LIBEE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lognorm.pc
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
*****************************************************
liblognorm will be compiled with the following settings:

Debug mode enabled: no
[root@host liblognorm-0.3.5]# make
make all-recursive
make[1]: Entering directory `/root/sagan/liblognorm-0.3.5'
Making all in src
make[2]: Entering directory `/root/sagan/liblognorm-0.3.5/src'
CC liblognorm_la-liblognorm.lo
CC liblognorm_la-ptree.lo
ptree.c: In function âdotAddPtrâ:
ptree.c:480: warning: cast from pointer to integer of different size
CC liblognorm_la-annot.lo
annot.c: In function âln_annotateEventWithTagâ:
annot.c:201: warning: implicit declaration of function âee_addStrValueToFieldâ
annot.c: In function âln_annotateEventâ:
annot.c:225: warning: implicit declaration of function âee_EventGetTagbucketâ
annot.c:228: warning: implicit declaration of function âee_TagbucketGetNextTagâ
CC liblognorm_la-samp.lo
samp.c: In function âparseFieldDescrâ:
samp.c:167: error: âee_parseRFC5424Dateâ undeclared (first use in this function)
samp.c:167: error: (Each undeclared identifier is reported only once
samp.c:167: error: for each function it appears in.)
samp.c: In function âgetFieldNameâ:
samp.c:525: warning: unused parameter âctxâ
make[2]: *** [liblognorm_la-samp.lo] Error 1
make[2]: Leaving directory `/root/sagan/liblognorm-0.3.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sagan/liblognorm-0.3.5'
make: *** [all] Error 2
fgrygus
New
 
Posts: 1
Joined: Wed Mar 13, 2013 11:20 pm

Google Ads


Return to liblognorm

Who is online

Users browsing this forum: No registered users and 1 guest

cron