From owner-freebsd-questions Sat May 9 00:57:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09818 for freebsd-questions-outgoing; Sat, 9 May 1998 00:57:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09792 for ; Sat, 9 May 1998 00:57:04 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA26485; Sat, 9 May 1998 17:27:03 +0930 (CST) (envelope-from grog) Message-ID: <19980509172702.Y12200@freebie.lemis.com> Date: Sat, 9 May 1998 17:27:02 +0930 From: Greg Lehey To: Kurt Jones , questions@FreeBSD.ORG Subject: Re: Problems building a kernel References: <3.0.5.32.19980509174108.00b5fc50@woftam.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.91.1i In-Reply-To: <3.0.5.32.19980509174108.00b5fc50@woftam.com.au>; from Kurt Jones on Sat, May 09, 1998 at 05:41:08PM +1000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 9 May 1998 at 17:41:08 +1000, Kurt Jones wrote: > Hello Everyone, > > I am trying to build a custom kernel, starting with the GENERIC kernel and > commenting out those things I don't need. I can build the GENERIC kernel > without difficulty (although it does take about an hour on my P90, is that > normal?) but it keeps failing to build my custom version. I have tried > making fewer and fewer alterations to the GENERIC kernel in an effort to > identify my mistake. > > When it fails it reports this: > > ../../kern/uipc_usrreq.c: In function `unp_internalize' : > ../../kern/uipc_usrreq.c:696: parse error before character 0343 > *** Error code 1 > > Stop. > > Where do I start looking? It tells you: ../../kern/uipc_usrreq.c:696. In English, this means the file /usr/src/sys/kern/uipc_usrreq.c, line 696. The problem it finds is a character 0343, which translates to ã, certainly not what you would expect to find there. In version 2.2.6, the line should be: register struct cmsghdr *cm = mtod(control, struct cmsghdr *); I'd guess you have a corrupted file. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message