From: DB <Freddog_de@yahoo.co.uk>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Cannot make ver 3.0.3
Date: Tue, 17 Feb 2009 15:36:35 +0000 [thread overview]
Message-ID: <499AD983.7060708@yahoo.co.uk> (raw)
Good afternoon,
I've just tried to make lm_sensors ver 3.0.3, with the following result:
[root@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@Fedora-Blue lm_sensors-3.0.3]# uname -r
2.6.27.12-78.2.8.fc9.i686
[root@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
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next reply other threads:[~2009-02-17 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-17 15:36 DB [this message]
2009-02-17 15:48 ` [lm-sensors] Cannot make ver 3.0.3 Jean Delvare
2009-02-17 17:38 ` Jean Delvare
2009-02-19 9:34 ` Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499AD983.7060708@yahoo.co.uk \
--to=freddog_de@yahoo.co.uk \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.