From risner@akira.stdio.com  Tue Mar 10 08:08:11 1998
Received: from akira.stdio.com (akira.stdio.com [204.152.114.80])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17644
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Mar 1998 08:08:08 -0800 (PST)
          (envelope-from risner@akira.stdio.com)
Received: (from risner@localhost)
	by akira.stdio.com (8.8.8/8.8.5) id LAA08271;
	Tue, 10 Mar 1998 11:11:31 -0500 (EST)
Message-Id: <199803101611.LAA08271@akira.stdio.com>
Date: Tue, 10 Mar 1998 11:11:31 -0500 (EST)
From: James Risner <risner@akira.stdio.com>
Reply-To: risner@akira.stdio.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: aic7xxx compile broken in 2.2.5-STABLE
X-Send-Pr-Version: 3.2

>Number:         5967
>Category:       kern
>Synopsis:       upg from 2.1.7.1/2.2.1 to 2.2.5-stable (aic7xxx no compile)
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 10 08:10:01 PST 1998
>Closed-Date:    Fri Aug 6 19:12:12 PDT 1999
>Last-Modified:  Fri Aug  6 19:12:54 PDT 1999
>Originator:     James Risner
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
Home
>Environment:

	controller      ahc0
	2.2.5-STABLE cvsup upgraded

>Description:

	cd /usr/src/sys/compile/SYS; make depend
make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
Warning: Object directory not changed from original /usr/src/sys/compile/SYS2
cc -O -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.
*** Error code 1

Stop.

>How-To-Repeat:

	Install 2.1.7.1 or 2.2.1 system.
	CVSUP down 2.2.5-STABLE.
	config "kernelname"
	cd ../../compile/kernelname; make depend

>Fix:
	
	Work around:
cd /usr/src/sys/dev/aic7xxx; make
cd /usr/src/sys/compile/SYS; make depend

Kernel config file:
machine         "i386"
cpu             "I386_CPU"
cpu             "I486_CPU"
cpu             "I586_CPU"              # aka Pentium(tm)
ident           MAIL
maxusers        64

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         "SCSI_DELAY=9"          #Be pessimistic about Joe SCSI device
options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
options         UCONSOLE                #Allow users to grab the console

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE          #kernel tracing
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
options         DDB
options         "MAXMEM=(128*1024)"
options         CHILD_MAX=128
options         OPEN_MAX=128
options         "MAXDSIZ=(256*1024*1024)"
options         "DFLDSIZ=(256*1024*1024)"

config          kernel  root on sd0 

controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1

controller      ahc0

controller      scbus0

device          sd0

device          st0

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

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          lpt1    at isa? port? tty
device          lpt2    at isa? port? tty

device ed0 at isa? port 0x300 net irq 11 iomem 0xd0000 iosiz 32768 vector edintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   bpfilter        4       #Berkeley packet filter
pseudo-device   pty     16     
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   vn              #Vnode driver (turns a file int

>Release-Note:
>Audit-Trail:

From: risner@stdio.com
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: kern/5967: aic7xxx compile broken in 2.2.5-STABLE
Date: Tue, 10 Mar 1998 11:39:14 -0500 (EST)

 >Number:         5967
 >Category:       kern
 >Synopsis:       upg from 2.1.7.1/2.2.1 to 2.2.5-stable (aic7xxx no compile)
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       high
 >Responsible:    freebsd-bugs
 >State:          closed
 >Quarter:
 >Keywords:
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Tue Mar 10 08:10:01 PST 1998
 >Last-Modified:
 >Originator:     James Risner
 >Organization:
 Home
 >Release:        FreeBSD 2.2.5-STABLE i386
 >Environment:
 
 	controller      ahc0
 	2.2.5-STABLE cvsup upgraded
 
 >Description:
 
 	cd /usr/src/sys/compile/SYS; make depend
 make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
 Warning: Object directory not changed from original /usr/src/sys/compile/SYS2
 cc -O -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.
 *** Error code 1
 
 Stop.
 
 >How-To-Repeat:
 
 	Install 2.1.7.1 or 2.2.1 system.
 	CVSUP down 2.2.5-STABLE.
 	config "kernelname"
 	cd ../../compile/kernelname; make depend
 
 >Fix:
 	
 	Work around:
 cd /usr/src/sys/dev/aic7xxx; make
 cd /usr/src/sys/compile/SYS; make depend
 
 Kernel config file:
 machine         "i386"
 cpu             "I386_CPU"
 cpu             "I486_CPU"
 cpu             "I586_CPU"              # aka Pentium(tm)
 ident           MAIL
 maxusers        64
 
 options         INET                    #InterNETworking
 options         FFS                     #Berkeley Fast Filesystem
 options         NFS                     #Network Filesystem
 options         MSDOSFS                 #MSDOS Filesystem
 options         PROCFS                  #Process filesystem
 options         "COMPAT_43"             #Compatible with BSD 4.3
 options         "SCSI_DELAY=9"          #Be pessimistic about Joe SCSI device
 options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
 options         UCONSOLE                #Allow users to grab the console
 
 options         SYSVSHM
 options         SYSVSEM
 options         SYSVMSG
 
 options         FAILSAFE                #Be conservative
 options         USERCONFIG              #boot -c editor
 options         VISUAL_USERCONFIG       #visual boot -c editor
 options         KTRACE          #kernel tracing
 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
 options         DDB
 options         "MAXMEM=(128*1024)"
 options         CHILD_MAX=128
 options         OPEN_MAX=128
 options         "MAXDSIZ=(256*1024*1024)"
 options         "DFLDSIZ=(256*1024*1024)"
 
 config          kernel  root on sd0 
 
 controller      isa0
 controller      pci0
 
 controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
 disk            fd0     at fdc0 drive 0
 disk            fd1     at fdc0 drive 1
 
 controller      ahc0
 
 controller      scbus0
 
 device          sd0
 
 device          st0
 
 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
 
 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          lpt1    at isa? port? tty
 device          lpt2    at isa? port? tty
 
 device ed0 at isa? port 0x300 net irq 11 iomem 0xd0000 iosiz 32768 vector edintr
 
 pseudo-device   loop
 pseudo-device   ether
 pseudo-device   log
 pseudo-device   bpfilter        4       #Berkeley packet filter
 pseudo-device   pty     16     
 pseudo-device   gzip            # Exec gzipped a.out's
 pseudo-device   vn              #Vnode driver (turns a file int
 
 >Audit-Trail:
 >Unformatted:

From: "Jose M. Alcaide" <jose@we.lc.ehu.es>
To: freebsd-gnats-submit@freebsd.org, risner@akira.stdio.com
Cc:  Subject: Re: kern/5967: upg from 2.1.7.1/2.2.1 to 2.2.5-stable (aic7xxx no compile)
Date: Wed, 11 Mar 1998 12:16:53 +0100

 I had this same problem some months ago when I upgraded my sources
 from 2.2.2-RELEASE to 2.2.5-RELEASE using CVSup.
 
 Delete the /usr/src/sys tree (save your kernel config first),
 and do the CVSup again. You will get new, fresh kernel sources,
 and the compilation will succeed.
 
 -- JM
 -----------------------------------------------------------------------
 Jose M. Alcaide                         | mailto:jose@we.lc.ehu.es
 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

From: "Jose M. Alcaide" <jose@we.lc.ehu.es>
To: freebsd-gnats-submit@freebsd.org, risner@akira.stdio.com
Cc:  Subject: Re: kern/5967: upg from 2.1.7.1/2.2.1 to 2.2.5-stable (aic7xxx no compile)
Date: Wed, 11 Mar 1998 12:16:53 +0100

 I had this same problem some months ago when I upgraded my sources
 from 2.2.2-RELEASE to 2.2.5-RELEASE using CVSup.
 
 Delete the /usr/src/sys tree (save your kernel config first),
 and do the CVSup again. You will get new, fresh kernel sources,
 and the compilation will succeed.
 
 -- JM
 -----------------------------------------------------------------------
 Jose M. Alcaide                         | mailto:jose@we.lc.ehu.es
 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
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Fri Aug 6 19:12:12 PDT 1999 
State-Changed-Why:  
This is for an _old_ version of FreeBSD, and besides 
a solution was given. 

Thanks:  Oleg V. Volkov <rover@lglobus.ru> for pointing out  
this can be closed. 
>Unformatted:
