(from cvs) sensors binary compile probs on rh8

Jean Delvare khali at linux-fr.org
Fri Dec 13 10:01:27 CET 2002


> FYI-
> 
> gcc -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro
> -Llib -lsensors
> lib/libsensors.so: undefined reference to `log'
> lib/libsensors.so: undefined reference to `exp'
> collect2: ld returned 1 exit stat

Looks like we need an extra "-lm" on the command line.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



More information about the lm-sensors mailing list