Problems with newer tulip.c (.07 or .10)

root (root@tfg.com.inter.net)
Mon, 4 Mar 1996 09:06:50 -0600 (CST)


The following is output while trying to build kernel 1.3.70 with the
newer tulip drivers (ver .07 or .10). The kernel builds ok with the
supplied ver .05 tulip.c driver supplied with the 1.3.70 source. If
anyone has come across this problem, I could sure use the help. Thanks.

gcc -D__KERNEL__ -I/pub/src/1.3.70/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
set -e; for i in kernel drivers mm fs net ipc lib arch/i386/kernel arch/i386/mm arch/i386/lib; do make -C $i; done
make[1]: Entering directory `/pub/src/1.3.70/kernel'
make all_targets
make[2]: Entering directory `/pub/src/1.3.70/kernel'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/pub/src/1.3.70/kernel'
make[1]: Leaving directory `/pub/src/1.3.70/kernel'
make[1]: Entering directory `/pub/src/1.3.70/drivers'
set -e; for i in block char net pci cdrom; do make -C $i; done
make[2]: Entering directory `/pub/src/1.3.70/drivers/block'
make all_targets
make[3]: Entering directory `/pub/src/1.3.70/drivers/block'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/pub/src/1.3.70/drivers/block'
make[2]: Leaving directory `/pub/src/1.3.70/drivers/block'
make[2]: Entering directory `/pub/src/1.3.70/drivers/char'
make all_targets
make[3]: Entering directory `/pub/src/1.3.70/drivers/char'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/pub/src/1.3.70/drivers/char'
make[2]: Leaving directory `/pub/src/1.3.70/drivers/char'
make[2]: Entering directory `/pub/src/1.3.70/drivers/net'
make all_targets
make[3]: Entering directory `/pub/src/1.3.70/drivers/net'
gcc -D__KERNEL__ -I/pub/src/1.3.70/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o tulip.o tulip.c
tulip.c:40: conflicting types for `init_etherdev'
/pub/src/1.3.70/include/linux/etherdevice.h:42: previous declaration of `init_etherdev'
tulip.c: In function `dec21040_init':
tulip.c:210: warning: passing arg 4 of `pcibios_read_config_dword' from incompatible pointer type
tulip.c: In function `tulip_probe1':
tulip.c:305: warning: assignment from incompatible pointer type
tulip.c: In function `tulip_open':
tulip.c:397: warning: passing arg 2 of `request_irq' from incompatible pointer type
tulip.c:397: too few arguments to function `request_irq'
tulip.c: In function `tulip_interrupt':
tulip.c:710: too few arguments to function `free_irq'
tulip.c: In function `tulip_close':
tulip.c:802: too few arguments to function `free_irq'
make[3]: *** [tulip.o] Error 1
make[3]: Leaving directory `/pub/src/1.3.70/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/pub/src/1.3.70/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/pub/src/1.3.70/drivers'
make: *** [linuxsubdirs] Error 2