WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
lm-sensors-dev
« on: March 08, 2021, 09:51:33 AM »
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: 14570
Re: lm-sensors-dev
« Reply #1 on: March 08, 2021, 09:42:10 PM »
updated extension posted