From owner-freebsd-questions Wed Oct 29 21:40:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA16126 for questions-outgoing; Wed, 29 Oct 1997 21:40:33 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA16121 for ; Wed, 29 Oct 1997 21:40:30 -0800 (PST) (envelope-from jwlo@ms11.hinet.net) Received: from ms11.hinet.net (h171.s155.ts.hinet.net [168.95.155.171]) by ms11.hinet.net (8.8.3/8.8.3) with ESMTP id NAA06860; Thu, 30 Oct 1997 13:41:40 +0800 (CST) Message-ID: <34581D26.8243034B@ms11.hinet.net> Date: Thu, 30 Oct 1997 13:37:42 +0800 From: Doug Lo X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: "Jose M. Alcaide" CC: freebsd-questions@FreeBSD.ORG Subject: Re: I cannot rebuild kernel after updating sources to 2.2.5 References: <34570707.E706738C@we.lc.ehu.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You wrote: > Hello, > > I have just updated the FreeBSD sources from 2.2.2_RELEASE to 2.2.5_RELEASE. > I made the world, merged/copied carefully the /etc directory, etc. Then, > I tried to build the new 2.2.5 kernel, using the same custom configuration file > (which I send attached to this message), The config command run fine. Then, > I typed the "make depend" command, which crashed shortly with the > following messages: > > --- blah, blah... ---- > lex -t ../../dev/aic7xxx/aicasm_scan.l > aicasm_scan.c > cc -O -m486 -pipe -I. -c aicasm_scan.c > ../../dev/aic7xxx/aicasm_scan.l: In function `yylex': > ../../dev/aic7xxx/aicasm_scan.l:68: `T_DOWNLOAD' undeclared (first use this function) > ../../dev/aic7xxx/aicasm_scan.l:68: (Each undeclared identifier is reported only once > ../../dev/aic7xxx/aicasm_scan.l:68: for each function it appears in.) > *** Error code 1 > Stop. Jose,There is a problem when CVSup'ing /usr/src/sys from (at least)2.2.2_RELEASE to 2.2.5_RELEASE. The solution is: - delete the entire /usr/src/sys tree; - re-CVSup src-sys; - rebuild the kernel as usual. Best regards, Doug.