Re: GSoC2007: cnst-sensors.2007-08-20.patch

From: Harald Schmalzbauer <h.schmalzbauer_at_omnisec.de>
Date: Sun, 26 Aug 2007 02:16:12 +0200
Am Sonntag, 26. August 2007 02:08:34 schrieb Harald Schmalzbauer:

> > The coretemp.c updated to contain the 2007-08-23 change from the CVS
> > (coretemp.c#rev1.2) can be downloaded directly from my perforce branch:
> >
> > http://p4web.freebsd.org/_at_sr=125633_at_//depot/projects/soc2007/cnst-sensors
> >/s ys.dev.coretemp/coretemp.c
>
> Great, but I have other problems too.
> Compiling world fails here:
> cc -O2 -fno-strict-aliasing -pipe -march=nocona -DINET6  -c
> /usr/src/usr.bin/systat/sensors.c In file included from
> /usr/src/usr.bin/systat/sensors.c:298:
> /usr/src/usr.bin/systat/systat.h:39: error: redefinition of 'struct cmdtab'
> /usr/src/usr.bin/systat/sensors.c:309: error: redefinition of 'opensensors'
> /usr/src/usr.bin/systat/sensors.c:47: error: previous definition
> of 'opensensors' was here
> /usr/src/usr.bin/systat/sensors.c:315: error: redefinition of
> 'closesensors' /usr/src/usr.bin/systat/sensors.c:53: error: previous
> definition
> of 'closesensors' was here
> /usr/src/usr.bin/systat/sensors.c:325: error: redefinition of
> 'labelsensors' /usr/src/usr.bin/systat/sensors.c:63: error: previous
> definition
> of 'labelsensors' was here
> /usr/src/usr.bin/systat/sensors.c:336: error: redefinition of
> 'fetchsensors' /usr/src/usr.bin/systat/sensors.c:74: error: previous
> definition
> of 'fetchsensors' was here
> /usr/src/usr.bin/systat/sensors.c:378: error: redefinition of 'drvstat'
> /usr/src/usr.bin/systat/sensors.c:116: error: previous definition of
> 'drvstat' was here
> /usr/src/usr.bin/systat/sensors.c:386: error: redefinition of 'showsensors'
> /usr/src/usr.bin/systat/sensors.c:124: error: previous definition
> of 'showsensors' was here
> /usr/src/usr.bin/systat/sensors.c:393: error: redefinition of 'initsensors'
> /usr/src/usr.bin/systat/sensors.c:131: error: previous definition
> of 'initsensors' was here
> /usr/src/usr.bin/systat/sensors.c:399: error: redefinition of 'printline'
> /usr/src/usr.bin/systat/sensors.c:137: error: previous definition
> of 'printline' was here
> /usr/src/usr.bin/systat/sensors.c:477: error: redefinition of 'fmttime'
> /usr/src/usr.bin/systat/sensors.c:215: error: previous definition of
> 'fmttime' was here
> *** Error code 1

Another problem with building kernel:

cc -O2 -fno-strict-aliasing -pipe -march=nocona  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/KORSO/opt_global.h -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000 --param 
inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/KORSO -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c: In 
function 'coretemp_refresh':
/usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:297: error: SSE 
register return with SSE disabled
*** Error code 1
1 error

Thanks for any help,

-Harry
Received on Sat Aug 25 2007 - 22:16:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC