http://bugme.osdl.org/show_bug.cgi?id=391
Summary: 2.5.62-bk5 compile failure with gcc-2.95
Kernel Version: 2.5.62-bk5
Status: NEW
Severity: blocking
Owner: ambx1@neo.rr.com
Submitter: plars@austin.ibm.com
Distribution:Debian stable
Hardware Environment:pIII-800
Software Environment:gcc-2.95
Problem Description:
I got this compile failure on the nightly bk pull test last night. It should
match up to what's in -bk5:
gcc -Wp,-MD,drivers/pnp/.interface.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default
-nostdinc -iwithprefix include -DKBUILD_BASENAME=interface
-DKBUILD_MODNAME=interface -c -o drivers/pnp/interface.o drivers/pnp/interface.c
drivers/pnp/interface.c: In function `pnp_set_current_resources':
drivers/pnp/interface.c:438: parse error before `struct'
drivers/pnp/interface.c:440: `res' undeclared (first use in this function)
drivers/pnp/interface.c:440: (Each undeclared identifier is reported only once
drivers/pnp/interface.c:440: for each function it appears in.)
drivers/pnp/interface.c:448: `nport' undeclared (first use in this function)
drivers/pnp/interface.c:468: `nmem' undeclared (first use in this function)
drivers/pnp/interface.c:488: `nirq' undeclared (first use in this function)
drivers/pnp/interface.c:500: `ndma' undeclared (first use in this function)
make[2]: *** [drivers/pnp/interface.o] Error 1
make[1]: *** [drivers/pnp] Error 2
make: *** [drivers] Error 2
Steps to reproduce:
I tried reproducing this with gcc-3.2 and it compiles fine, but when I switch to
2.95 it breaks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:36 EST