[syslog-ng] Encoding provlem when writing to postgres

ml at bortal.de ml at bortal.de
Fri Oct 17 15:32:58 CEST 2008


Hi,

> The nightly snapshot went to the 2.1 directory, but now I've changed
> that. Tomorrow the 3.0 sources should appear in the nightly snapshot
> directory:
>
>
http://www.balabit.com/downloads/files/syslog-ng/sources/3.0/src-snapshot

i am getting the following error:
--------------------------------------------
make[1]: Leaving directory `/usr/local/src/syslog-ng-2.9.0+20081017'
syslog-db:/usr/local/src/syslog-ng-2.9.0+20081017# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/syslog-ng-2.9.0+20081017'
Making all in src
make[2]: Entering directory
`/usr/local/src/syslog-ng-2.9.0+20081017/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/local/include/eventlog    
-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H 
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall
-MT afsql.o -MD -MP -MF ".deps/afsql.Tpo" -c -o afsql.o afsql.c; \
	then mv -f ".deps/afsql.Tpo" ".deps/afsql.Po"; else rm -f
".deps/afsql.Tpo"; exit 1; fi
afsql.c: In function ‘afsql_dd_init’:
afsql.c:713: error: ‘server_mode’ undeclared (first use in this
function)
afsql.c:713: error: (Each undeclared identifier is reported only once
afsql.c:713: error: for each function it appears in.)
afsql.c:738: error: too many arguments to function ‘log_queue_new’
afsql.c:741: warning: implicit declaration of function
‘log_queue_restore_queue’
afsql.c:746: warning: implicit declaration of function
‘log_queue_get_filename’
afsql.c:746: warning: passing argument 2 of ‘evt_tag_str’ makes pointer
from integer without a cast
afsql.c: In function ‘afsql_dd_deinit’:
afsql.c:849: warning: implicit declaration of function
‘log_queue_save_queue’
make[2]: *** [afsql.o] Error 1
make[2]: Leaving directory `/usr/local/src/syslog-ng-2.9.0+20081017/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/syslog-ng-2.9.0+20081017'
make: *** [all] Error 2



Any hint?

Thanks,
Mario





More information about the syslog-ng mailing list