Help with 'make' failure while building custom kernel

Kris Kennaway kris at obsecurity.org
Fri Jun 24 15:07:20 GMT 2005


On Fri, Jun 24, 2005 at 04:11:17AM -0500, Jim Haskell wrote:

> The offending lines from make:
> 
> cc -c -x assembler-with-cpp -DLOCORE -O -pipe  -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -std=c99 -nostdinc -I-  -I. 
> -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq 
> -I../../../contrib/ipfilter -I../../../contrib/pf 
> -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd 
> -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
> -finline-limit=8000 --param inline-unit-growth=100 --param 
> large-function-growth=1000  -mno-align-long-strings 
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -ffreestanding -Werror ../../../i386/i386/locore.s
> ../../../i386/i386/locore.s: Assembler messages:
> ../../../i386/i386/locore.s:783: Error: suffix or operands invalid for `shr'

This may happen if you are trying to upgrade from FreeBSD 4 to FreeBSD
5 or later, but are trying to build the new kernel out of the correct
sequence in the upgrade process (see the Handbook).

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050624/3ab7d884/attachment.bin


More information about the freebsd-questions mailing list