LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2018, 12:26 AM   #1
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 87

Rep: Reputation: Disabled
Thermald build fail Slack 14.2


Tried to install thermald from SBo and got

Code:
In file included from src/thd_zone.h:34:0,
                 from src/thd_engine.h:36,
                 from src/main.cpp:44:
src/thd_trip_point.h:46:38: error: 'INT32_MAX' was not declared in this scope
 #define TRIP_PT_INVALID_TARGET_STATE INT32_MAX
                                      ^
src/thd_trip_point.h:108:4: note: in expansion of macro 'TRIP_PT_INVALID_TARGET_STATE'
    TRIP_PT_INVALID_TARGET_STATE, pid_param_t *pid_param = NULL);
    ^
Makefile:742: recipe for target 'src/thermald-main.o' failed
make[2]: *** [src/thermald-main.o] Error 1
make[2]: Leaving directory '/tmp/SBo/thermal_daemon-1.8'
Makefile:1348: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/thermal_daemon-1.8'
Makefile:501: recipe for target 'all' failed
make: *** [all] Error 2
Running 14.2 up to date and kernel 4.4.157

Retraced my steps but I can't find my mistake if any. SBo says msr-tools is optional, so I did not try to install it.
 
Old 12-06-2018, 04:29 PM   #2
Arrabiata
LQ Newbie
 
Registered: May 2010
Location: Italy
Distribution: Slackware-14.2 x86_64 Laptop & Router
Posts: 9

Rep: Reputation: 8
modify the "thd_trip_point.h" in ..thermal_daemon-1.8/src

for example
#include <stdexcept>
+ #include <stdint.h>
 
1 members found this post helpful.
Old 12-07-2018, 02:36 AM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Arrabiata View Post
modify the "thd_trip_point.h" in ..thermal_daemon-1.8/src

for example
#include <stdexcept>
+ #include <stdint.h>
That's great, installed fine with this change. Thank you.
 
Old 12-07-2018, 10:16 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,874

Rep: Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134Reputation: 1134
Thanks
it is now pushed in my branch and will be part of the next public update
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 07:40 PM
SBCL build from slack builds fails to build - failed contribs sb-bsd-sockets sunlight Slackware 3 11-07-2015 05:31 PM
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 03:39 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 10:51 PM
ATI Driver module build fail Bana Linux - Software 0 02-16-2004 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration