Kernel built with new GCC panics immediately

Wesley Morgan morganw at chemikals.org
Fri Jul 11 14:27:33 PDT 2003


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:
@/dev/pccard/pccarddevs.h:210:27: warning: ISO C requires whitespace after
the macro name
@/dev/pccard/pccarddevs.h:211:31: warning: ISO C requires whitespace after
the macro name
@/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!


More information about the freebsd-current mailing list