Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: polikuo on March 08, 2021, 12:51:33 PM

Title: lm-sensors-dev
Post by: polikuo on March 08, 2021, 12:51:33 PM
Hi, I'm compiling "hardinfo", which requires "lm-sensors". (TC 12.0 x86_64)

Code: [Select]
/tmp/hardinfo/modules/devices/sensors.c:586:28: error: ‘SENSORS_FEATURE_MAX’ undeclared here (not in a function); did you mean ‘SENSORS_FEATURE_FAN’?
  586 | } libsensors_feature_types[SENSORS_FEATURE_MAX] = {
      |                            ^~~~~~~~~~~~~~~~~~~
      |                            SENSORS_FEATURE_FAN
make[2]: *** [CMakeFiles/devices.dir/build.make:232: CMakeFiles/devices.dir/modules/devices/sensors.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....

The app browser says we have version 3.3.5
But the variable was not introduced until 3.4.0
The latest release now is 3.6.0
The original site seems to be dead, but the github (https://github.com/lm-sensors/lm-sensors) is fine.
Title: Re: lm-sensors-dev
Post by: Juanito on March 09, 2021, 12:42:10 AM
updated extension posted