[syslog-ng] 3.2 alpha 2 build error
syslogng at feystorm.net
syslogng at feystorm.net
Tue Sep 7 19:29:40 CEST 2010
Bazsi, what version of libdbi should work? I just downloaded the very
latest version (0.8.4) and I get the same errors Matthew does.
-Patrick
Sent: Giovedì 2 Settembre 2010 9.28.43
From: Balazs Scheidler <bazsi at balabit.hu>
To: Syslog-ng users' and developers' mailing list
<syslog-ng at lists.balabit.hu>
Subject: Re: [syslog-ng] 3.2 alpha 2 build error
> On Thu, 2010-08-19 at 18:16 -0700, Matthew Hall wrote:
>
>> When building using debian/rules binary on 3.2 alpha 2 my build fails
>> here. Any advice on this one?
>>
>> Thanks,
>> Matthew.
>>
>> /bin/bash ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I.. -DENABLE_SQL=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -MT libafsql_la-afsql.lo -MD -MP -MF .deps/libafsql_la-afsql.Tpo -c -o libafsql_la-afsql.lo `test -f 'afsql.c' || echo './'`afsql.c
>> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I.. -DENABLE_SQL=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -MT libafsql_la-afsql.lo -MD -MP -MF .deps/libafsql_la-afsql.Tpo -c afsql.c -fPIC -DPIC -o .libs/libafsql_la-afsql.o
>> afsql.c:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbi_instance’
>> afsql.c: In function ‘afsql_dd_insert_db’:
>> afsql.c:583: warning: implicit declaration of function ‘dbi_conn_new_r’
>> afsql.c:583: error: ‘dbi_instance’ undeclared (first use in this function)
>> afsql.c:583: error: (Each undeclared identifier is reported only once
>> afsql.c:583: error: for each function it appears in.)
>> afsql.c: In function ‘afsql_dd_init’:
>> afsql.c:1007: warning: implicit declaration of function ‘dbi_initialize_r’
>> afsql.c:1007: error: ‘dbi_instance’ undeclared (first use in this function)
>>
>>
>
> This is caused by a too old libdbi. Either disable sql support, or
> upgrade libdbi.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100907/6c09cbcd/attachment.htm
More information about the syslog-ng
mailing list