2.7.0 Error in make
When trying to do make I get the following error,
Quoted 3 lines
bison -p
sensors_yy-dlib/conf-parse.y-olib/conf-parse.c
make: bison: Command not found
make: *** [lib/conf-parse.c] Error 127
Any ideas.
TIA
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030120/7a9fc9f3/attachment.bin
Quoted 12 lines · DB Troll
Quoted 1 line
Jean,
Ignore last msg I found flex and installed but still come up with an errorQuoted 7 lines
lib/libsensors.so: undefined reference tosensors_yylex' lib/libsensors.so: undefined reference tosensors_yyin'lib/libsensors.so: undefined reference tosensors_lex_error' lib/libsensors.so: undefined reference tosensors_yylineno'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1 linux:/home/dbtrol/lm_sensors-2.7.0 #David
Quoted 2 lines
David
After you've installed flex and bison (or equivalent), you probably need to "make clean" before you "make" again.
Regards,
Signature · 2 lines
Mark M. Hoffman [email protected]
Quoted 4 lines
Quoted 4 lines
bison -p
sensors_yy-dlib/conf-parse.y-olib/conf-parse.c
make: bison: Command not found
make: *** [lib/conf-parse.c] Error 127
You need to install bison. It is packaged for most (if not all) distributions. On some distributions, you have to look for yacc instead. Just find a package that provides bison, as a binary or as a symbolic link to yacc, and you're done.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines · Jean Delvare
Quoted 5 lines
Quoted 5 lines
bison -p
sensors_yy-dlib/conf-parse.y-olib/conf-parse.c
make: bison: Command not found
make: *** [lib/conf-parse.c] Error 127
Quoted 7 lines
You need to install bison. It is packaged for most (if not all) distributions. On some distributions, you have to look for yacc instead. Just find a package that provides bison, as a binary or as a symbolic link to yacc, and you're done.
Jean,
Ignore last msg I found flex and installed but still come up with an error
Quoted 7 lines
lib/libsensors.so: undefined reference tosensors_yylex' lib/libsensors.so: undefined reference tosensors_yyin'lib/libsensors.so: undefined reference tosensors_lex_error' lib/libsensors.so: undefined reference tosensors_yylineno'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1 linux:/home/dbtrol/lm_sensors-2.7.0 #David
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030120/bb795e5f/attachment.bin
Quoted 22 lines · Mark M. Hoffman
Quoted 14 lines · DB Troll
Jean,
Ignore last msg I found flex and installed but still come up with an errorQuoted 9 lines
lib/libsensors.so: undefined reference tosensors_yylex' lib/libsensors.so: undefined reference tosensors_yyin'lib/libsensors.so: undefined reference tosensors_lex_error' lib/libsensors.so: undefined reference tosensors_yylineno'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1 linux:/home/dbtrol/lm_sensors-2.7.0 #DavidQuoted 4 lines
David
Quoted 7 lines
After you've installed flex and bison (or equivalent), you probably need to "make clean" before you "make" again.
Regards,
Mark and Jean,
Thank you very much for the info. I now have sensors up and running. Still a few problems with a couple of wrong voltages and no voltages showing in gkrellm, also do not seem to get it to auto start on boot. Thanks
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030120/473546df/attachment.bin