LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with gkrellm and plugins (https://www.linuxquestions.org/questions/linux-software-2/problems-with-gkrellm-and-plugins-86424/)

psyklops 08-27-2003 07:43 PM

Problems with gkrellm and plugins
 
Im having a tough time trying to get the plugins working. I downloaded and installed the gkrellm via apt but and am trying to build the plugins from source. However, everytime I would run make on every plugin, I would get a list of errors... Here's an example of a plugin that would allow me to monitor my fans and cpu temp for a dell laptop.

i8krellm.c:1390: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1392: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1394: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1396: invalid use of undefined type `struct _i8krellm_guiopts'
i8krellm.c:1398: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1400: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1402: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1404: invalid use of undefined type `struct _i8krellm_fan'
i8krellm.c:1406: invalid use of undefined type `struct _i8krellm_guiopts'
i8krellm.c:1408: invalid use of undefined type `struct _i8krellm_guiopts'
i8krellm.c:1410: invalid use of undefined type `struct _i8krellm_guiopts'
i8krellm.c:1412: invalid use of undefined type `struct _i8krellm_guiopts'
i8krellm.c:1414: invalid use of undefined type `struct _i8krellm_guiopts'
i8krellm.c: At top level:
i8krellm.c:1420: parse error before "plugin_mon"
i8krellm.c:1420: warning: type defaults to `int' in declaration of `plugin_mon'
i8krellm.c:1421: warning: initialization makes integer from pointer without a cast
i8krellm.c:1422: warning: excess elements in scalar initializer
i8krellm.c:1422: warning: (near initialization for `plugin_mon')
i8krellm.c:1423: warning: excess elements in scalar initializer
i8krellm.c:1423: warning: (near initialization for `plugin_mon')
i8krellm.c:1424: warning: excess elements in scalar initializer
i8krellm.c:1424: warning: (near initialization for `plugin_mon')
i8krellm.c:1425: warning: excess elements in scalar initializer
i8krellm.c:1425: warning: (near initialization for `plugin_mon')
i8krellm.c:1426: warning: excess elements in scalar initializer
i8krellm.c:1426: warning: (near initialization for `plugin_mon')
i8krellm.c:1427: warning: excess elements in scalar initializer
i8krellm.c:1427: warning: (near initialization for `plugin_mon')
i8krellm.c:1428: warning: excess elements in scalar initializer
i8krellm.c:1428: warning: (near initialization for `plugin_mon')
i8krellm.c:1429: warning: excess elements in scalar initializer
i8krellm.c:1429: warning: (near initialization for `plugin_mon')
i8krellm.c:1430: warning: excess elements in scalar initializer
i8krellm.c:1430: warning: (near initialization for `plugin_mon')
i8krellm.c:1431: warning: excess elements in scalar initializer
i8krellm.c:1431: warning: (near initialization for `plugin_mon')
i8krellm.c:1432: warning: excess elements in scalar initializer
i8krellm.c:1432: warning: (near initialization for `plugin_mon')
i8krellm.c:1433: `MON_CPU' undeclared here (not in a function)
i8krellm.c:1433: `MON_INSERT_AFTER' undeclared here (not in a function)
i8krellm.c:1433: warning: excess elements in scalar initializer
i8krellm.c:1433: warning: (near initialization for `plugin_mon')
i8krellm.c:1434: warning: excess elements in scalar initializer
i8krellm.c:1434: warning: (near initialization for `plugin_mon')
i8krellm.c:1436: warning: excess elements in scalar initializer
i8krellm.c:1436: warning: (near initialization for `plugin_mon')
i8krellm.c:1436: warning: data definition has no type or storage class
i8krellm.c:1439: parse error before '*' token
i8krellm.c:1439: warning: return type defaults to `int'
i8krellm.c: In function `init_plugin':
i8krellm.c:1441: warning: implicit declaration of function `gkrellm_add_meter_style'
/usr/include/stdlib.h: At top level:
i8krellm.c:149: storage size of `_i8k_procinfo' isn't known
i8krellm.c:272: storage size of `_i8k_lf' isn't known
i8krellm.c:276: storage size of `_i8k_rf' isn't known
i8krellm.c:286: storage size of `_i8k_chart_settings' isn't known
i8krellm.c:301: storage size of `_i8k_guiopts' isn't known
i8krellm.c:314: storage size of `_i8k_state' isn't known
i8krellm.c:360: warning: `__i8k_cb_chart_press' defined but not used
make: *** [i8krellm.o] Error 1
[psyklops@MoBAP i8krellm-2.3]$


All times are GMT -5. The time now is 05:35 PM.