From owner-freebsd-questions Wed Oct 29 05:53:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA16696 for questions-outgoing; Wed, 29 Oct 1997 05:53:55 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from blinx.lizard.org (blinx.wms.co.uk [194.159.247.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA16688 for ; Wed, 29 Oct 1997 05:53:49 -0800 (PST) (envelope-from darrylb@blinx.lizard.org) Received: (from darrylb@localhost) by blinx.lizard.org (8.8.7/8.7.3) id NAA10980; Wed, 29 Oct 1997 13:50:08 GMT From: Darryl Bowler Message-Id: <199710291350.NAA10980@blinx.lizard.org> Subject: Re: I cannot rebuild kernel after updating sources to 2.2.5 To: jose@we.lc.ehu.es (Jose M. Alcaide) Date: Wed, 29 Oct 1997 13:50:07 +0000 (GMT) Cc: questions@freebsd.org In-Reply-To: <34570707.E706738C@we.lc.ehu.es> from "Jose M. Alcaide" at "Oct 29, 97 10:51:03 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >i I had exactly the same problem, I got around it by cvsuping a new source tree and rebuilt a new config from it without doing a make depend. Odd, but it worked. Regards Darryl. 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. > > I thought that there was something wrong in my config file, so that I tried > a kernel rebuild using GENERIC... and it also crashed at the same point!!! > My next step was checking that CVsup updated properly the src-sys package, > so I run CVsup again: it didn't apply any changes to the sources. > > I would be very grateful if you could help me. > > Regards, > -- JM > ----------------------------------------------------------------------- > Jose M. Alcaide | E-mail: > Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose > Dpto. de Electricidad y Electronica | > Facultad de Ciencias - Campus de Lejona | Tel.: +34-4-4647700 x2624 > 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-4-4858139 > ----------------------------------------------------------------------- > "Go ahead... make my day." - H. Callahan > # > # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks > # > # For more information read the handbook part System Administration -> > # Configuring the FreeBSD Kernel -> The Configuration File. > # The handbook is available in /usr/share/doc/handbook or online as > # latest version from the FreeBSD World Wide Web server > # > # > # An exhaustive list of options and more detailed explanations of the > # device lines is present in the ./LINT configuration file. If you are > # in doubt as to the purpose or necessity of a line, check first in LINT. > # > # $Id: GENERIC,v 1.77.2.4 1997/02/22 20:31:24 joerg Exp $ > > machine "i386" > cpu "I686_CPU" > ident TIBURON > maxusers 10 > > options INET #InterNETworking > options FFS #Berkeley Fast Filesystem > options NFS #Network Filesystem > options NFS_NOSERVER #Disable the NFS-server code. > options MSDOSFS #MSDOS Filesystem > options "CD9660" #ISO 9660 Filesystem > options PROCFS #Process filesystem > options MFS #Memory File System > options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=5 #Be optimistic about Joe SCSI device > options BOUNCE_BUFFERS #include support for DMA bounce buffers > options UCONSOLE #Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options SYSVSHM #System V shared memory > > # Ojito con estas opciones del controlador SCSI: > options AHC_TAGENABLE > options AHC_ALLOW_MEMIO > options AHC_SCBPAGING_ENABLE > > config kernel root on sd0 > > controller isa0 > controller eisa0 > controller pci0 > > controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr > disk fd0 at fdc0 drive 0 > > # A single entry for any of these controllers (ncr, ahb, ahc, amd) is > # sufficient for any number of installed devices. > controller ahc0 > controller scbus0 > device sd0 > device cd0 #Only need one of these, the code dynamically grows > > # syscons is the default console driver, resembling an SCO console > device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr > > # Mandatory, don't remove > device npx0 at isa? port "IO_NPX" irq 13 vector npxintr > > device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr > device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr > > device lpt0 at isa? port? tty irq 7 vector lptintr > > device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr > > # Order is important here due to intrusive probes, do *not* alphabetize > # this list of network interfaces until the probes have been fixed. > # Right now it appears that the ie0 must be probed before ep0. See > # revision 1.20 of this file. > device vx0 > > pseudo-device loop > pseudo-device ether > pseudo-device bpfilter 4 #Berkeley packet filter > pseudo-device log > pseudo-device pty 16 > pseudo-device gzip # Exec gzipped a.out's > > # KTRACE enables the system-call tracing facility ktrace(2). > # This adds 4 KB bloat to your kernel, and slightly increases > # the costs of each syscall. > #options KTRACE #kernel tracing > > # Controls all sound devices > #controller snd0 > #device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr > #options SBC_IRQ=5 > #device opl0 at isa? port 0x388 -- ******************************************************************************* http://www.lizard.org/ Web Cache: www.lizard.org 3128 Tel:+44 (0)966 197371 darryl_bowler@uk.ibmmail.com Network Systems - IBM Global Networks *******************************************************************************