From owner-freebsd-questions@FreeBSD.ORG Fri Jun 24 09:11:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2000816A41C for ; Fri, 24 Jun 2005 09:11:51 +0000 (GMT) (envelope-from militantjingoist@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4B7943D1D for ; Fri, 24 Jun 2005 09:11:50 +0000 (GMT) (envelope-from militantjingoist@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so1068460nzp for ; Fri, 24 Jun 2005 02:11:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=lxt0EVyHo9Tn+lsSw3NKnWgNcOCLahXkWSPsweq9GqPL2qo06j3oemZV+9yA8nkBC5EOUsz4+fot9vmEpAM+9dgtA8ERbZRKoHwvWQvqp/KoMfqLsv3xW9/u8UHrOmyr50s6rd7xvn6KcT8Ay144BoljF7hR1qxkYwrrSkcC9tI= Received: by 10.36.10.18 with SMTP id 18mr116946nzj; Fri, 24 Jun 2005 02:11:50 -0700 (PDT) Received: from ?192.168.1.104? ([68.189.201.207]) by mx.gmail.com with ESMTP id 17sm2860548nzo.2005.06.24.02.11.49; Fri, 24 Jun 2005 02:11:50 -0700 (PDT) Message-ID: <42BBCE35.5010905@gmail.com> Date: Fri, 24 Jun 2005 04:11:17 -0500 From: Jim Haskell User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <42BB5C26.7090702@gmail.com> <42BB7926.2060206@daleco.biz> In-Reply-To: <42BB7926.2060206@daleco.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Help with 'make' failure while building custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 09:11:51 -0000 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 >> # >> > > > > 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