Package: ulogd
Severity: normal
Tags: patch
When building 'ulogd' on amd64 with gcc-4.0,
I get the following error:
gcc -g -O2 -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\" [EMAIL
PROTECTED]@/debian/include -I./libipulog/include -I./include -rdynamic ulogd.c
conffile/conffile.o ./libipulog/libipulog.a -o ulogd -ldl
ulogd.c:84: error: static declaration of 'logfile' follows non-static
declaration
./include/ulogd/ulogd.h:59: error: previous declaration of 'logfile' was here
make[1]: *** [ulogd] Error 1
make[1]: Leaving directory `/ulogd-1.02'
make: *** [debian/stamp-makefile-build] Error 2
With the attached patch 'ulogd' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/ulogd-1.02/include/ulogd/ulogd.h ./include/ulogd/ulogd.h
--- ../tmp-orig/ulogd-1.02/include/ulogd/ulogd.h 2003-01-13
14:34:55.000000000 +0100
+++ ./include/ulogd/ulogd.h 2005-03-02 18:25:01.505365718 +0100
@@ -56,8 +56,6 @@
#define ULOGD_ERROR 7 /* error condition, requires user action */
#define ULOGD_FATAL 8 /* fatal, program aborted */
-extern FILE *logfile;
-
typedef struct ulog_iret {
/* next interpreter return (key) in the global list */
struct ulog_iret *next;
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]