Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jul 2009 11:27:33 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        Max Brazhnikov <makc@issp.ac.ru>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, svn-src-stable-7@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r195197 - in stable/7/sys: . amd64/amd64 amd64/include contrib/pf dev/coretemp dev/hwpmc i386/cpufreq i386/i386 i386/include
Message-ID:  <4A545875.1080401@freebsd.org>
In-Reply-To: <200907081104.29163.makc@issp.ac.ru>
References:  <200906301710.n5UHA8b0086710@svn.freebsd.org> <200907081104.29163.makc@issp.ac.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
on 08/07/2009 10:04 Max Brazhnikov said the following:
> 
> buildkernel fails for me with latest stable:

I almost missed your message - so much of the original commit message you quoted :-)
I can not reproduce this build failure here.

What arch is this (I assumed i386)?
What method of obtaining/updating sources?
What non-standard/non-default flags?

> ===> coretemp (all)
> cc -O2 -fno-strict-aliasing -pipe -march=prescott  -D_KERNEL -DKLD_MODULE -
> std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
> /usr/obj/usr/src/sys/LQC/opt_global.h -I. -I@ -I@/contrib/altq -finline-
> limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -
> fno-common -g -I/usr/obj/usr/src/sys/LQC -mno-align-long-strings -mpreferred-
> stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -
> 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_identify':
> /usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: 
> 'cpu_vendor_id' undeclared (first use in this function)
> /usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: (Each 
> undeclared identifier is reported only once
> /usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: for 
> each function it appears in.)
> /usr/src/sys/modules/coretemp/../../dev/coretemp/coretemp.c:98: error: 
> 'CPU_VENDOR_INTEL' undeclared (first use in this function)
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/coretemp.
> *** Error code 1

-- 
Andriy Gapon



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