From: Sebastian Harl Date: Fri, 25 Jul 2008 14:18:15 +0000 (+0200) Subject: README.Debian: myplugin.c has to be compiled using -DHAVE_CONFIG_H. X-Git-Tag: collectd-4.4.2-1~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=549eb9409a914a3682757f5e35833fd8e0fe1c4f;p=pkg-collectd.git README.Debian: myplugin.c has to be compiled using -DHAVE_CONFIG_H. --- diff --git a/debian/README.Debian b/debian/README.Debian index 4c22f5e..273216a 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -74,7 +74,7 @@ Building your own plugins: The resulting file can be compiled as follows: - gcc -shared -fPIC -o myplugin.so myplugin.c + gcc -DHAVE_CONFIG_H -shared -fPIC -o myplugin.so myplugin.c Copy myplugin.so to /usr/lib/collectd and add the following line to your collectd config file: