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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 

       "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

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux