Messages in this thread Patch in this message | | | Subject | errors in 2.3.47 | Date | Tue, 22 Feb 2000 00:19:55 +0900 | From | Akira YOSHIYAMA <> |
| |
Hi all,
I got an error as below:
make[4]: Entering directory `/usr/src/linux/drivers/net/pcmcia' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o 3c589_cs.o 3c589_cs.c 3c589_cs.c: In function `el3_interrupt': 3c589_cs.c:791: parse error before `||' 3c589_cs.c:845: break statement not within loop or switch 3c589_cs.c: At top level: 3c589_cs.c:851: parse error before `->' 3c589_cs.c:1126: warning: `init_3c589_cs' defined but not used 3c589_cs.c:1140: warning: `exit_3c589_cs' defined but not used make[4]: *** [3c589_cs.o] Error 1 make[4]: Leaving directory `/usr/src/linux/drivers/net/pcmcia' make[3]: *** [_modinsubdir_pcmcia] Error 2 make[3]: Leaving directory `/usr/src/linux/drivers/net' make[2]: *** [_modsubdir_net] Error 2 make[2]: Leaving directory `/usr/src/linux/drivers' make[1]: *** [_mod_drivers] Error 2 make[1]: Leaving directory `/usr/src/linux' make: *** [stamp-build] Error 2
See below:
diff -u 3c589_cs.c.orig 3c589_cs.c --- 3c589_cs.c.orig Tue Feb 22 00:05:24 2000 +++ 3c589_cs.c Tue Feb 22 00:05:34 2000 @@ -788,7 +788,7 @@ while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete | StatsFull)) { - if (!netif_device_present(dev)) || + if (!netif_device_present(dev) || ((status & 0xe000) != 0x2000)) { DEBUG(1, "%s: interrupt from dead card\n", dev->name); break; /usr/src/linux/drivers/net/pcmcia$ --- And I got many warnings:
make[3]: Entering directory `/usr/src/linux/drivers/net/pcmcia' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o 3c589_cs.o 3c589_cs.c 3c589_cs.c:1126: warning: `init_3c589_cs' defined but not used 3c589_cs.c:1140: warning: `exit_3c589_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o 3c574_cs.o 3c574_cs.c 3c574_cs.c:1327: warning: `init_3c574_cs' defined but not used 3c574_cs.c:1344: warning: `exit_3c574_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o fmvj18x_cs.o fmvj18x_cs.c fmvj18x_cs.c:640: warning: `init_fmvj18x_cs' defined but not used fmvj18x_cs.c:654: warning: `exit_fmvj18x_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o nmclan_cs.o nmclan_cs.c nmclan_cs.c:1718: warning: `init_nmclan_cs' defined but not used nmclan_cs.c:1735: warning: `exit_nmclan_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o pcnet_cs.o pcnet_cs.c pcnet_cs.c:1377: warning: `init_pcnet_cs' defined but not used pcnet_cs.c:1391: warning: `exit_pcnet_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o smc91c92_cs.o smc91c92_cs.c smc91c92_cs.c:1982: warning: `init_smc91c92_cs' defined but not used smc91c92_cs.c:1996: warning: `exit_smc91c92_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o xirc2ps_cs.o xirc2ps_cs.c xirc2ps_cs.c:2165: warning: `init_xirc2ps_cs' defined but not used xirc2ps_cs.c:2185: warning: `exit_xirc2ps_cs' defined but not used gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -c -o aironet4500_cs.o aironet4500_cs.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -DCARDBUS -DMODULE -c -o 3c575_cb.o 3c575_cb.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE -DCARDBUS -DMODULE -c -o tulip_cb.o tulip_cb.c tulip_cb.c:3127: warning: `tulip_init' defined but not used tulip_cb.c:3133: warning: `tulip_exit' defined but not used
What's this?
Thanks,
A.Yoshiyama <yosshy@debian.or.jp>
- 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/
| |