Help with 'make' failure while building custom kernel
Jim Haskell
militantjingoist at gmail.com
Fri Jun 24 09:11:51 GMT 2005
Kevin Kinsey wrote:
> Jim Haskell wrote:
>
>> I, a relatively newcomer to FreeBSD, am having trouble compiling my own
>> kernel for my new FreeBSD box. According to the handbook, if 'make'
>> fails (and /usr/sbin/config and make dep do not have problems,) I should
>> seek the wisdom of those on this listserv. Attached is my kernel config.
>> If any of you would be so kind as to take the time to look at my config
>> and give me a suggestion, I would be grateful.
>>
>> Sincerely,
>> Jim Haskell
>>
>> P.S.: Some notes about my system -- the target machine is a pIII 850
>> mhz (which I've positively identified as an i686 type), and the only
>> network cards installed use the rl driver.
>>
>> ---- config file ----
>> #
>> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
>> #
>>
>
> <snipped remaining kernel config file>
>
> Hello, Jim!
>
> IANAE, but I'm pretty sure that the last several lines of
> output of the failed "make" command, and perhaps giving
> the command that caused the failure, in addition to
> your config file, would be Most Helpful(TM).
>
> Also, have you been received the error more than once,
> and, if so, in the same place in the build, or at different
> stages?
>
> Kevin Kinsey
>
Ah, yes, right. My apologizes.
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'
../../../i386/i386/locore.s:783: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:791: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:792: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:792: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:831: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:832: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:832: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:843: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:843: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:848: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:848: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:853: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:853: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:858: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:858: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:864: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:870: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:907: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:918: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:925: Error: suffix or operands invalid for `shr'
../../../i386/i386/locore.s:927: Error: suffix or operands invalid for `shl'
../../../i386/i386/locore.s:940: Error: suffix or operands invalid for `shl'
*** Error code 1
Thanks,
Jim Haskell
More information about the freebsd-questions
mailing list