As I write yesterday, I have problem with syslog installation. The
resolution I find I Fedora sysklogd-1.4.1-disable__syslog_chk.patch.
After I comment out(add //) int this patch line with:
extern void vsyslog(int pri, const char *fmt, va_list ap);
then I can compile sysklog without errors.
The patch is in attachment.

Filip Bartmann
--- sysklogd-1.4.1rh/syslog.c.disable__syslog_chk	2001-07-09 00:17:22.000000000 -0400
+++ sysklogd-1.4.1rh/syslog.c	2005-08-24 16:47:46.403988000 -0400
@@ -54,11 +54,8 @@
 #include <sys/file.h>
 #include <sys/signal.h>
 #include <sys/syslog.h>
-#if 0
-#include "syslog.h"
-#include "pathnames.h"
-#endif
-
+#undef   syslog
+#undef   vsyslog
 #include <sys/uio.h>
 #include <sys/wait.h>
 #include <netdb.h>
--- sysklogd-1.4.1rh/klogd.h.disable__syslog_chk	2000-12-11 14:46:07.000000000 -0500
+++ sysklogd-1.4.1rh/klogd.h	2005-08-24 17:08:14.151580000 -0400
@@ -30,7 +30,8 @@
 #include <stdio.h>
 #include <syslog.h>
 #include <string.h>
-
+#undef syslog
+#undef vsyslog
 
 /* Function prototypes. */
 extern int InitKsyms(char *);
@@ -38,3 +39,6 @@
 extern char * ExpandKadds(char *, char *);
 extern void SetParanoiaLevel(int);
 extern void Syslog(int priority, char *fmt, ...);
+extern void syslog(int pri, const char *fmt, ...);
+// extern void vsyslog(int pri, const char *fmt, va_list ap);
+extern void openlog(const char *ident, int logstat, int logfac);
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to