WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: lm-sensors-dev  (Read 1705 times)

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
lm-sensors-dev
« 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 is fine.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: lm-sensors-dev
« Reply #1 on: March 09, 2021, 12:42:10 AM »
updated extension posted