Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Sep 2002 16:40:19 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Franz Stieber <f.stieber@gmx.at>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Kernel from the releng_4_6 tree 
Message-ID:  <20020908234019.1C0495D04@ptavv.es.net>
In-Reply-To: Your message of "Sun, 08 Sep 2002 13:28:08 %2B0200." <20020908112808.GA38210@anubis.bugat.at> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 8 Sep 2002 13:28:08 +0200
> From: Franz Stieber <f.stieber@gmx.at>
> Sender: owner-freebsd-stable@FreeBSD.ORG
> 
> 
> --ew6BAiZeqk4r7MaW
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> Hi!
> 
> When i make buildkernel with the actual cvs(up) checkout from the
> at-cvs-server i get this error:
> 
> gcc -O -pipe  -I/usr/include -I.    -c aicasm_gram.c
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y: In function
> `process_field':
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1388: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1389: `ENUM_ENTRY'
> undeclared (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1389: (Each undeclared
> identifier is reported only once
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1389: for each function it
> appears in.)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1394: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1395: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1397: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1397: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1399: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1405: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1410: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1415: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1417: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1419: structure has no
> member named `fields'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y: In function
> `initialize_symbol':
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1442: structure has no
> member named `fields'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1465: `FIELD' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1466: `ENUM' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1467: `ENUM_ENTRY'
> undeclared (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1468: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1469: sizeof applied to an
> incomplete type
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1470: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1474: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1474: sizeof applied to an
> incomplete type
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1475: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y: In function `type_check':
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1846: `FIELD' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1847: `ENUM' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1847: `ENUM_ENTRY'
> undeclared (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1848: union has no member
> named `finfo'
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y: In function `yyparse':
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:453: `FIELD' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:475: `ENUM' undeclared
> (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:491: `ENUM_ENTRY'
> undeclared (first use in this function)
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:687: union has no member
> named `finfo'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/ANUBIS.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> Has someone an idea what the problem is and/or how to fix it?

I had the same problem. Somehow there was a Makefile problem.
Unfortunately, I can't remember for sure if the problem was with
/sys/dev/aic7xxx/aisasm/Makefile or with /usr/src/Makefile.inc1. But I
know that after updating one of these that had gotten out of sync, the
problem was fixed. (I really think that it was the aicasm Makefile.)

I think all I did was delete the offending Makefile and let cvsup
restore it.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020908234019.1C0495D04>