Re: Probable bug with 2.3.x

Thomas Sailer (sailer@ife.ee.ethz.ch)
Fri, 27 Aug 1999 17:34:18 +0200


Mario Jorge Nunes Filipe wrote:
>
> Hi
>
> I have a Creative Ensoniq 1371 sound card. Kernel 2.2.x compiles ok with
> it, but every attempt that i've made with the 2.3.x always end up like
> this:
> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.3.15/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
> -fno-strength-reduce -DCPU=586 -c -o es1371.o es1371.c
> es1371.c: In function `es1371_setup':
> es1371.c:3109: section attribute cannot be specified for local variables

That seems to be an attribute pickyness of gcc 2.7.2.x. Try moving
the variable declaration of nr_dev outside of the es1371_setup function.

Tom

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/