Re: Kernel built with new GCC panics immediately

From: Wesley Morgan <morganw_at_chemikals.org>
Date: Fri, 11 Jul 2003 17:24:59 -0400 (EDT)
On Fri, 11 Jul 2003, Kevin Oberman wrote:

> > removed /usr/src/sys/i386/compile/<YOUR_KERNCONF> before rebuilding a
> > new kernel with GCC 3.3?
> >
> > Also, if simply removing stale file is not a culpit, I will appreciate
> > if you can test the patch below:
>
> I have cleaned out everything with no improvement. I have applied the
> patches and no improvement. My system still is seen as a 286 followed
> by a panic.

Lucky you. I can't even build a kernel... It fails in the wi module:

In file included from /usr/src/sys/dev/wi/if_wi_pccard.c:68:
_at_/dev/pccard/pccarddevs.h:210:27: warning: ISO C requires whitespace after
the macro name
_at_/dev/pccard/pccarddevs.h:211:31: warning: ISO C requires whitespace after
the macro name
_at_/dev/pccard/pccarddevs.h:212:27: warning: ISO C requires whitespace after
the macro name
/usr/src/sys/dev/wi/if_wi_pccard.c:132: error: `PCMCIA_PRODUCT_ASUS_WL100'
undeclared here (not in a function)
/usr/src/sys/dev/wi/if_wi_pccard.c:132: error: initializer element is not
constant
/usr/src/sys/dev/wi/if_wi_pccard.c:132: error: (near initialization for
`wi_pccard_products[6].pp_product')
/usr/src/sys/dev/wi/if_wi_pccard.c:132: error: `PCMCIA_CIS_ASUS_WL100'
undeclared here (not in a function)



On for about 15 pages. Looks like a simple error cascading into hundreds.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
Received on Fri Jul 11 2003 - 12:27:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC