Could you please test the new stable version 3.18.0 [1].
It contains a imklog driver for BSD based systems (tested on FreeBSD).

So, instead of simply disabling the imklog module, it would be much nicer to get it working on kfreebsd.

Yes, 3.18.0 seems better, but the imklog module needs porting anyway.

It is rather easy, but really do not define OS_BSD :-)
Please apply patch bellow and regenerate configure.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr


diff -ut rsyslog-3.18.0.orig/configure.ac rsyslog-3.18.0/configure.ac
--- rsyslog-3.18.0.orig/configure.ac
+++ rsyslog-3.18.0/configure.ac
@@ -27,6 +27,11 @@
     AC_DEFINE([OS_BSD], [1], [Indicator for a BSD OS])
     os_type="bsd"
   ;;
+  *-*-kfreebsd*)
+    # kernel is FreeBSD, but userspace is glibc - i.e. like linux
+    # do not DEFINE OS_BSD
+    os_type="bsd"
+  ;;
 esac

AC_DEFINE_UNQUOTED([HOSTENV], "$host", [the host environment, can be queried via a system variable])





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

Reply via email to