[syslog-ng] [libsyslog_ng_la-afinter.lo] Error 1, syslog-ng-3.4.1 on x86_64
Flur Blubr
fblubr at gmail.com
Fri May 31 06:45:20 CEST 2013
Dear all,
looking for help, for 4 days trying to compile syslog-ng-3.4.1 on some kind
of custom RED HAT derivate and still failing. RPMs and YUM are forbidden
and system has libraries spread around all directories / using exports export
EVTLOG_CFLAGS, export EVTLOG_LIBS, export GLIB_CFLAGS, export GLIB_LIBS to
overwrite PKG CONFIG .
uname -a
Linux 2.6.32-279.1.1.el6.x86_64 #1 SMP Wed Jun 20 11:41:22 EDT 2012 x86_64
x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
Configuration:
./configure --prefix=/my-prefix/syslog-ng --enable-sql --enable-ipv6
--enable-dynamic-linking --build=x86_64-pc-linux-gnu
--host=i686-pc-linux-gnu --enable-shared --disable-static CFLAGS=-O2
Getting this:
syslog-ng Open Source Edition 3.4.1 configured
Compiler options:
compiler : gcc -std=gnu99
compiler options : -O2 -Wall -pthread
-I/my-prefix/sources/glib-2.15.4/
-I/my-prefix/eventlog/include/eventlog/
-I$(top_srcdir)/lib/ivykis/src/include
-I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
linker flags :
prefix : /my-prefix/syslog-ng
linking mode : dynamic
embedded crypto : no
__thread keyword : yes
Submodules:
ivykis : internal
libmongo-client : internal
librabbitmq : internal
Features:
Debug symbols : no
GCC profiling : no
Memtrace : no
IPV6 support : yes
spoof-source support : no
tcp-wrapper support : no
Linux capability support : yes
PCRE support : yes
Env wrapper support : no
systemd support : no (unit dir: none)
Modules:
Module search path : /my-prefix/syslog-ng/lib/syslog-ng
Sun STREAMS support (module): no
SSL support (module) : yes
SQL support (module) : yes
PACCT module (EXPERIMENTAL) : no
MongoDB destination (module): yes
JSON support (module) : no
SMTP support (module) : no
AMQP destination (module) : yes
GEOIP support (module) : no
But make is failing no matter what I do:
afinter.c: At top level:
afinter.c:385: error: expected ')' before 'mark_freq'
afinter.c: In function 'afinter_message_posted':
afinter.c:404: error: 'internal_msg_lock' undeclared (first use in this
function)
afinter.c:405: error: 'internal_msg_queue' undeclared (first use in this
function)
afinter.c:407: warning: implicit declaration of function 'g_queue_new'
afinter.c:409: warning: implicit declaration of function 'g_queue_push_tail'
afinter.c:411: error: 'AFInterSource' has no member named 'post'
afinter.c: At top level:
afinter.c:416: error: expected ')' before 'hook_type'
afinter.c: In function 'afinter_global_init':
afinter.c:424: warning: implicit declaration of function
'register_application_hook'
afinter.c:424: error: 'afinter_register_posted_hook' undeclared (first use
in this function)
make[4]: *** [libsyslog_ng_la-afinter.lo] Error 1
make[4]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/my-prefix/syslog-ng-3.4.1'
make: *** [all] Error 2
Can somebody advice?
Thx for your time.
Regards
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130531/00acef13/attachment.htm
More information about the syslog-ng
mailing list