Package: ulogd
Version: 1.23-2
Severity: normal
Tags: patch

When building 'ulogd' on amd64/unstable with gcc-4.0,
I get the following error:

gcc -g -O2  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" [EMAIL 
PROTECTED]@/debian/include -I.. -I../libipulog/include -I../include -fPIC -o 
ulogd_SYSLOG_sh.o -c ulogd_SYSLOG.c
ulogd_SYSLOG.c:139: error: parse error before '&' token
make[2]: *** [ulogd_SYSLOG_sh.o] Error 1
make[2]: Leaving directory `/ulogd-1.23/extensions'

With the attached patch 'ulogd' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ulogd-1.23/extensions/ulogd_SYSLOG.c 
./extensions/ulogd_SYSLOG.c
--- ../tmp-orig/ulogd-1.23/extensions/ulogd_SYSLOG.c    2005-02-12 
22:17:41.000000000 +0100
+++ ./extensions/ulogd_SYSLOG.c 2005-06-20 08:52:32.000000000 +0200
@@ -136,7 +136,7 @@
        .name = "syslog", 
        .init = &syslog_init,
        .fini = &syslog_fini,
-       .output &_output_syslog
+       .output = &_output_syslog
 };
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to