Results 1 to 4 of 4
I'm trying to compile lm-sensors but I'm getting an error i'm not sure what to do with...
k-dawg@k-dawg-desktop:~/lm_sensors-3.1.1$ make
gcc -Wl,-rpath,/usr/local/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors
lib/libsensors.so: undefined reference ...
- 08-27-2009 #1
lm-sensors compiling error
I'm trying to compile lm-sensors but I'm getting an error i'm not sure what to do with...
k-dawg@k-dawg-desktop:~/lm_sensors-3.1.1$ make
gcc -Wl,-rpath,/usr/local/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors
lib/libsensors.so: undefined reference to `sensors_yylex'
lib/libsensors.so: undefined reference to `sensors_lex_error'
lib/libsensors.so: undefined reference to `sensors_yylineno'
lib/libsensors.so: undefined reference to `sensors_scanner_exit'
lib/libsensors.so: undefined reference to `sensors_scanner_init'
lib/libsensors.so: undefined reference to `sensors_yyfilename'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1
A lil help on what this means would be appreciated.
- 08-27-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
Either you are missing a library that contains the symbols specified in the error messages, or the library needs to be reindexed. To check the latter, cd to the lib directory and execute the command "ranlib libsensors.a", assuming you aren't linking with a shared library version of libsensors.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 08-27-2009 #3
Well after some searching I found "make clean" took care of the compiling error. But still cant get sensors to work. I've heard conky will display temp's where lm-sensors will not work?
- 08-27-2009 #4


Reply With Quote
