Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during compilation on FX504GE #59

Closed
ShrirajHegde opened this issue Feb 2, 2021 · 1 comment
Closed

Error during compilation on FX504GE #59

ShrirajHegde opened this issue Feb 2, 2021 · 1 comment

Comments

@ShrirajHegde
Copy link

ShrirajHegde commented Feb 2, 2021

make[1]: Entering directory '/usr/src/linux-headers-5.8.0-41-generic'
  CC [M]  /home/shriraj/Desktop/temp/faustus/src/faustus.o
/home/shriraj/Desktop/temp/faustus/src/faustus.c: In function ‘asus_hwmon_temp1’:
/home/shriraj/Desktop/temp/faustus/src/faustus.c:1698:10: error: implicit declaration of function ‘DECI_KELVIN_TO_CELSIUS’ [-Werror=implicit-function-declaration]
 1698 |  value = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;
      |          ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:290: /home/shriraj/Desktop/temp/faustus/src/faustus.o] Error 1
make[1]: *** [Makefile:1780: /home/shriraj/Desktop/temp/faustus] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-41-generic'
make: *** [Makefile:9: default] Error 2

image

@hackbnw
Copy link
Owner

hackbnw commented Feb 21, 2021

Hi @ShrirajHegde

seems you're compiling old version. Don't know what exactly you compiling, but this is not master branch, the fix, supporting newer kernels, was added in 2eb25c4

@hackbnw hackbnw closed this as completed Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants