From 549eb9409a914a3682757f5e35833fd8e0fe1c4f Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 25 Jul 2008 16:18:15 +0200 Subject: [PATCH] README.Debian: myplugin.c has to be compiled using -DHAVE_CONFIG_H. --- debian/README.Debian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2