Skip to contentSkip to conversation

Problem making lmsensors

lm-sensors DB 2 participants 4 messages Jan 3, 2011 – Jan 4, 2011

lore
Share & tools
lore

DB

author
#0 lore raw

Good evening all - & a happy new year!

I'm just trying to set up lmsensors & keep getting the following error messages:

make install
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

Can anyone please give me an idea what I am missing?

My system is uname -ar
Linux Fedora-Blue 2.6.34.7-66.fc13.i686.PAE #1 SMP Wed Dec 15 07:21:49 UTC 2010 i686 i686 i386 GNU/Linux
I downloaded & installed bison & flex.

Thanks

Dave

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Did you run make clean after installing flex and bison ?

Guenter

Quoted 25 lines · DB

Good evening all - & a happy new year!

I'm just trying to set up lmsensors & keep getting the following error messages:

make install
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

Can anyone please give me an idea what I am missing?

My system is uname -ar
Linux Fedora-Blue 2.6.34.7-66.fc13.i686.PAE #1 SMP Wed Dec 15 07:21:49 UTC 2010 i686 i686 i386 GNU/Linux
I downloaded & installed bison & flex.

Quoted 8 lines

Thanks

Dave

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

author
#2 lore raw
In reply to DB
Quoted 3 lines · Guenter Roeck

Did you run make clean after installing flex and bison ?

Hi Guenter,

No, I didn't try make clean last night. I've just tried it now & cannot find anyway to make it work! Not even a man page....
Here are my results:

[Dave@Fedora-Blue LM-Sensors]$ make clean
make: *** No rule to make target `clean'. Stop.
[Dave@Fedora-Blue LM-Sensors]$ su
Password:
[root@Fedora-Blue LM-Sensors]# makeclean
bash: makeclean: command not found
[root@Fedora-Blue LM-Sensors]# make clean
make: *** No rule to make target `clean'. Stop.

Seems like noone/notheing wants to do that!

Thanks

Dave

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

author
#3 lore raw
In reply to DB
Quoted 19 lines · DB
Quoted 3 lines · Guenter Roeck

Did you run make clean after installing flex and bison ?

Hi Guenter,

No, I didn't try make clean last night. I've just tried it now & cannot find anyway to make it work! Not even a man page....
Here are my results:

[Dave@Fedora-Blue LM-Sensors]$ make clean
make: *** No rule to make target `clean'. Stop.
[Dave@Fedora-Blue LM-Sensors]$ su
Password:
[root@Fedora-Blue LM-Sensors]# makeclean
bash: makeclean: command not found
[root@Fedora-Blue LM-Sensors]# make clean
make: *** No rule to make target `clean'. Stop.

Quoted 5 lines

Seems like noone/notheing wants to do that!

Thanks

Dave

No Problem - was in the wrong directory!!! Must get my glasses changed!

Dave

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors