Package: procmeter3
Version: 3.6-2
Severity: important
Tags: patch

I get this error when launching procmeter3
ProcMeter: Cannot open the module '/usr/lib/ProcMeter3/modules/stat-disk.so' : 
/usr/lib/ProcMeter3/modules/stat-disk.so: undefined symbol: minor

3.6-1.1 didn't have this problem.

When compiling only stat-disk, I see errors for major() and minor().

The following fixed the issue for me:

--- stat-disk.c.orig    2019-07-13 14:21:23.591434156 -0400
+++ stat-disk.c 2019-07-13 14:18:28.762860695 -0400
@@ -25,6 +25,7 @@
 #include <sys/stat.h>
 
 #include <linux/major.h>
+#include <sys/sysmacros.h>
 
 #include "procmeter.h"
 

I didn't recompile all of procmeter, just this one object.

Reply via email to