building the 5.1 kernel

Andrew tacoboy24 at dragoweb.com
Wed Sep 1 04:36:46 PDT 2004


I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a 
guide.

I am running freebsd 5.1 and as fyi have been  building suse and redhat 
kernels for a while without problems. But this is my first time 
building the freebsd kernel)

This is what I did.

cd /sys/i386/conf
config GENERIC <-- no changes to the file then per the results of config

cd ../compile/GENERIC
then

make depend

then

make

the following errors were reported. Why? What did I do incorrectly.

A

Log follows

MiniBSD /sys/i386/compile/GENERIC #: make
cc -c -x assembler-with-cpp -DLOCORE -O -pipe -march=i486 -Wall 
-Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. 
-I../../.. -I../../../dev
-I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL 
-include opt_global.h
-fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 
-ffreestanding
-Werror ../../../i386/i386/locore.s
{standard input}: Assembler messages:
{standard input}:546: Error: suffix or operands invalid for `shr'
{standard input}:547: Error: suffix or operands invalid for `shr'
{standard input}:547: Error: suffix or operands invalid for `shl'
{standard input}:556: Error: suffix or operands invalid for `shr'
{standard input}:557: Error: suffix or operands invalid for `shr'
{standard input}:557: Error: suffix or operands invalid for `shl'
{standard input}:561: Error: suffix or operands invalid for `shr'
{standard input}:561: Error: suffix or operands invalid for `shl'
{standard input}:566: Error: suffix or operands invalid for `shr'
{standard input}:566: Error: suffix or operands invalid for `shl'
{standard input}:571: Error: suffix or operands invalid for `shr'
{standard input}:571: Error: suffix or operands invalid for `shl'
{standard input}:576: Error: suffix or operands invalid for `shr'
{standard input}:576: Error: suffix or operands invalid for `shl'
{standard input}:581: Error: suffix or operands invalid for `shr'
{standard input}:581: Error: suffix or operands invalid for `shl'
{standard input}:587: Error: suffix or operands invalid for `shl'
{standard input}:593: Error: suffix or operands invalid for `shl'
{standard input}:598: Error: suffix or operands invalid for `shl'
{standard input}:604: Error: suffix or operands invalid for `shl'
{standard input}:610: Error: suffix or operands invalid for `shl'
*** Error code 1

Stop in /usr/src/sys/i386/compile/GENERIC.
MiniBSD /sys/i386/compile/GENERIC #:



More information about the freebsd-questions mailing list