Cannot make ver 3.0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good afternoon,

I've just tried to make lm_sensors ver 3.0.3, with the following result:

[root at Fedora-Blue lm_sensors-3.0.3]# make all
gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -Wno-shadow 
-Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c 
lib/conf-lex.c -o lib/conf-lex.ao
rm -f lib/libsensors.a
ar rcvs lib/libsensors.a lib/data.ao lib/general.ao lib/error.ao 
lib/access.ao lib/init.ao lib/sysfs.ao lib/conf-parse.ao lib/conf-lex.ao
a - lib/data.ao
a - lib/general.ao
a - lib/error.ao
a - lib/access.ao
a - lib/init.ao
a - lib/sysfs.ao
a - lib/conf-parse.ao
a - lib/conf-lex.ao
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -c lib/data.c -o lib/data.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -c lib/general.c -o lib/general.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -c lib/error.c -o lib/error.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -c lib/access.c -o lib/access.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -c lib/init.c -o lib/init.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -c lib/sysfs.c -o lib/sysfs.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.lo
gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes 
-Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.lo
gcc -shared -Wl,-soname,libsensors.so.4 -o lib/libsensors.so.4.0.2 
lib/data.lo lib/general.lo lib/error.lo lib/access.lo lib/init.lo 
lib/sysfs.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm
rm -f lib/libsensors.so.4
ln -sf libsensors.so.4.0.2 lib/libsensors.so.4
rm -f lib/libsensors.so
ln -sf libsensors.so.4.0.2 lib/libsensors.so
gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -c 
prog/sensors/main.c -o prog/sensors/main.ro
prog/sensors/main.c: In function ?set_degstr?:
prog/sensors/main.c:128: warning: initialization discards qualifiers 
from pointer target type
prog/sensors/main.c:128: warning: initialization discards qualifiers 
from pointer target type
gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -c 
prog/sensors/chips.c -o prog/sensors/chips.ro
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'
collect2: ld returned 1 exit status
make: *** [prog/sensors/sensors] Error 1

Any suggestions on how to deal with the 5 undefined references????

I'm using Fedora 9

root at Fedora-Blue lm_sensors-3.0.3]# uname -r
2.6.27.12-78.2.8.fc9.i686
[root at Fedora-Blue lm_sensors-3.0.3]# uname -a
Linux Fedora-Blue 2.6.27.12-78.2.8.fc9.i686 #1 SMP Mon Jan 19 20:14:35 
EST 2009 i686 athlon i386 GNU/Linux


Thanks

Dave




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux