Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 12:59:28 -0300
From:      Carlos Fernando Assis Paniago <Carlos.Paniago@cnptia.embrapa.br>
To:        freebsd-stable@freebsd.org
Subject:   Compilation problem in 7.2-STABLE - module cpuctl.c
Message-ID:  <4A8EC460.2020903@cnptia.embrapa.br>

next in thread | raw e-mail | index | archive | help
when compiling a 7.2 STABLE kernel in an amd64 machine I found:

===> coda5 (all) 

===> coretemp (all) 

===> cpuctl (all) 

cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/src/sys/amd64/compile/A027/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer 
-I/usr/src/sys/amd64/compile/A027 -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/cpuctl/../../dev/cpuctl/cpuctl.c
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c: In function 
'cpuctl_ioctl':
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c:162: error: 
'CPUCTL_MSRSBIT' undeclared (first use in this function)
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c:162: error: (Each 
undeclared identifier is reported only once
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c:162: error: for 
each function it appears in.)
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c:163: error: 
'CPUCTL_MSRCBIT' undeclared (first use in this function)
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c: In function 
'cpuctl_do_msr':
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c:239: error: 
'CPUCTL_MSRSBIT' undeclared (first use in this function)
/usr/src/sys/modules/cpuctl/../../dev/cpuctl/cpuctl.c:245: error: 
'CPUCTL_MSRCBIT' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/sys/modules/cpuctl.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/amd64/compile/A027.
a027#

Someone with the same problem? Do you know a solution?

Paniago.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8EC460.2020903>