On 27-Feb-2003 Andy Farkas wrote:
> On Thu, 27 Feb 2003 [EMAIL PROTECTED] wrote:
> 
>> You need to compile a kernel with this
>>      "cpu I386_CPU"
>> in your config file.
>>
> 
> Seems you can't build a "cpu I386_CPU" only kernel! ie:
> 
># grep CPU GENERIC
> cpu             I386_CPU
>#cpu            I486_CPU
>#cpu            I586_CPU
>#cpu            I686_CPU
> 
># make buildkernel KERNCONF=GENERIC
> ...
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I/usr/src/sys
> -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
> -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h
> -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2
> -ffreestanding -Werror  /usr/src/sys/i386/i386/identcpu.c
> cc1: warnings being treated as errors
> /usr/src/sys/i386/i386/identcpu.c: In function `printcpuinfo':
> /usr/src/sys/i386/i386/identcpu.c:145: warning: unused variable `brand'
> machine/specialreg.h: At top level:
> /usr/src/sys/i386/i386/identcpu.c:99: warning: `cpu_brand' defined but not used
> /usr/src/sys/i386/i386/identcpu.c:103: warning: `cpu_brandtable' defined but not used
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
>:(

Fixed.  Apparently people don't compile kernels for 80386's very often.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to