Skip to contentSkip to conversation

2.5.72: sbni.c doesn't compile with gcc 3.3

DISCUSSION Adrian Bunk 1 participant 1 message Jun 17, 2003

lore
Share & tools
lore
#0 lore raw

drivers/net/wan/sbni.c in 2.5.72 doesn't compile with gcc 3.3, compilation with gcc 2.95 works.

The error message is:

<-- snip -->

...
gcc -Wp,-MD,drivers/net/wan/.sbni.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=sbni -DKBUILD_MODNAME=sbni -c -o drivers/net/wan/sbni.o drivers/net/wan/sbni.c drivers/net/wan/sbni.c: In function `sbni_pci_probe':
drivers/net/wan/sbni.c:280: warning: passing arg 1 of pci_request_region' makes pointer from integer without a cast drivers/net/wan/sbni.c:283: warning: check_region' is deprecated (declared at include/linux/ioport.h:116) drivers/net/wan/sbni.c: In function `calc_crc32':
drivers/net/wan/sbni.c:1552: error: asm-specifier for variable `_crc' conflicts with asm clobber list
make[3]: *** [drivers/net/wan/sbni.o] Error 1

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed