[tulip-bug] tulip compile problems

Don dharter@mailcity.com
Mon, 18 Dec 2000 20:05:03 -0600


This is a multi-part message in MIME format.
--------------517964C0A3701BF0D7975E00
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am having problems compiling the modules.  I wonder what versions of
the kernel will work.  Does the latest beta version of the kernel have
the latest driver?  I have attached a file of error messages for 2
different kernel versions.  For one I made a symbolic link in
/usr/src/linux/include/ asm-i386 to asm.  I try to recompile and it
still failed.


--------------517964C0A3701BF0D7975E00
Content-Type: text/plain; charset=us-ascii;
 name="tulip_driver"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="tulip_driver"

VERSION = 2
PATCHLEVEL = 3
SUBLEVEL = 51    
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -DMODVERSIONS   -c pci-skeleton.c -o pci-skeleton.o
pci-skeleton.c: In function `netdev_open':
pci-skeleton.c:724: structure has no member named `tbusy'
pci-skeleton.c:725: structure has no member named `interrupt'
pci-skeleton.c:730: structure has no member named `start'
pci-skeleton.c: In function `netdev_timer':
pci-skeleton.c:789: structure has no member named `tbusy'
pci-skeleton.c:789: structure has no member named `tbusy'
pci-skeleton.c: In function `start_tx':
pci-skeleton.c:885: structure has no member named `tbusy'
pci-skeleton.c:912: structure has no member named `tbusy'
pci-skeleton.c: In function `intr_handler':
pci-skeleton.c:948: structure has no member named `interrupt'
pci-skeleton.c:951: structure has no member named `interrupt'
pci-skeleton.c:991: structure has no member named `tbusy'
pci-skeleton.c:995: structure has no member named `tbusy'
pci-skeleton.c:996: `NET_BH' undeclared (first use in this function)
pci-skeleton.c:996: (Each undeclared identifier is reported only once
pci-skeleton.c:996: for each function it appears in.)
pci-skeleton.c:1019: structure has no member named `start'
pci-skeleton.c:1028: structure has no member named `interrupt'
pci-skeleton.c: In function `netdev_close':
pci-skeleton.c:1294: structure has no member named `start'
pci-skeleton.c:1295: structure has no member named `tbusy'
make: *** [pci-skeleton.o] Error 1
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 18
EXTRAVERSION =
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include   -c pci-skeleton.c -o pci-skeleton.o
In file included from pci-skeleton.c:78:
/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: No such file or directory
pci-skeleton.c:86: linux/version.h: No such file or directory
In file included from pci-skeleton.c:87:
/usr/src/linux/include/linux/module.h:23: asm/atomic.h: No such file or directory
/usr/src/linux/include/linux/module.h:207: linux/version.h: No such file or directory
In file included from /usr/src/linux/include/linux/types.h:4,
                 from /usr/src/linux/include/linux/string.h:4,
                 from pci-skeleton.c:93:
/usr/src/linux/include/linux/posix_types.h:46: asm/posix_types.h: No such file or directory
In file included from /usr/src/linux/include/linux/string.h:4,
                 from pci-skeleton.c:93:
/usr/src/linux/include/linux/types.h:5: asm/types.h: No such file or directory
In file included from pci-skeleton.c:93:
/usr/src/linux/include/linux/string.h:37: asm/string.h: No such file or directory
In file included from pci-skeleton.c:95:
/usr/src/linux/include/linux/errno.h:4: asm/errno.h: No such file or directory
In file included from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/sched.h:4: asm/param.h: No such file or directory
In file included from /usr/src/linux/include/linux/binfmts.h:4,
                 from /usr/src/linux/include/linux/sched.h:8,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/ptrace.h:24: asm/ptrace.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/timex.h:138: asm/timex.h: No such file or directory
In file included from /usr/src/linux/include/linux/timex.h:142,
                 from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/time.h:4: asm/param.h: No such file or directory
In file included from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/sched.h:16: asm/system.h: No such file or directory
/usr/src/linux/include/linux/sched.h:17: asm/semaphore.h: No such file or directory
/usr/src/linux/include/linux/sched.h:18: asm/page.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:12,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/wait.h:11: asm/page.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:14,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/vfs.h:4: asm/statfs.h: No such file or directory
In file included from /usr/src/linux/include/linux/net.h:21,
                 from /usr/src/linux/include/linux/fs.h:15,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/socket.h:6: asm/socket.h: No such file or directory
In file included from /usr/src/linux/include/linux/socket.h:7,
                 from /usr/src/linux/include/linux/net.h:21,
                 from /usr/src/linux/include/linux/fs.h:15,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/sockios.h:21: asm/sockios.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:17,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/ioctl.h:4: asm/ioctl.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:20,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/stat.h:6: asm/stat.h: No such file or directory
In file included from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/fs.h:22: asm/atomic.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:23,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/bitops.h:69: asm/bitops.h: No such file or directory
In file included from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/fs.h:24: asm/cache.h: No such file or directory
/usr/src/linux/include/linux/fs.h:168: asm/semaphore.h: No such file or directory
/usr/src/linux/include/linux/fs.h:169: asm/byteorder.h: No such file or directory
/usr/src/linux/include/linux/fs.h:170: asm/bitops.h: No such file or directory
In file included from /usr/src/linux/include/linux/affs_fs_i.h:4,
                 from /usr/src/linux/include/linux/fs.h:273,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/a.out.h:8: asm/a.out.h: No such file or directory
/usr/src/linux/include/linux/a.out.h:131: asm/page.h: No such file or directory
In file included from /usr/src/linux/include/linux/fs.h:482,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/fcntl.h:4: asm/fcntl.h: No such file or directory
In file included from /usr/src/linux/include/linux/nfs_fs_sb.h:4,
                 from /usr/src/linux/include/linux/fs.h:512,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/in.h:177: asm/byteorder.h: No such file or directory
In file included from /usr/src/linux/include/linux/tty.h:22,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/termios.h:5: asm/termios.h: No such file or directory
In file included from /usr/src/linux/include/linux/tty.h:23,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/tqueue.h:16: asm/bitops.h: No such file or directory
/usr/src/linux/include/linux/tqueue.h:17: asm/system.h: No such file or directory
/usr/src/linux/include/linux/tqueue.h:18: asm/spinlock.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/tty.h:28: asm/system.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/signal.h:4: asm/signal.h: No such file or directory
/usr/src/linux/include/linux/signal.h:5: asm/siginfo.h: No such file or directory
/usr/src/linux/include/linux/signal.h:23: asm/bitops.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:70,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/param.h:4: asm/param.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:71,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/resource.h:58: asm/resource.h: No such file or directory
In file included from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/sched.h:74: asm/processor.h: No such file or directory
/usr/src/linux/include/linux/sched.h:102: asm/spinlock.h: No such file or directory
/usr/src/linux/include/linux/sched.h:476: asm/current.h: No such file or directory
In file included from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/mm.h:16: asm/page.h: No such file or directory
/usr/src/linux/include/linux/mm.h:17: asm/atomic.h: No such file or directory
In file included from /usr/src/linux/include/linux/malloc.h:4,
                 from pci-skeleton.c:97:
/usr/src/linux/include/linux/slab.h:15: asm/cache.h: No such file or directory
In file included from pci-skeleton.c:98:
/usr/src/linux/include/linux/interrupt.h:6: asm/bitops.h: No such file or directory
/usr/src/linux/include/linux/interrupt.h:7: asm/atomic.h: No such file or directory
/usr/src/linux/include/linux/interrupt.h:51: asm/hardirq.h: No such file or directory
/usr/src/linux/include/linux/interrupt.h:52: asm/softirq.h: No such file or directory
In file included from pci-skeleton.c:100:
/usr/src/linux/include/linux/netdevice.h:34: asm/atomic.h: No such file or directory
In file included from /usr/src/linux/include/linux/netdevice.h:135,
                 from pci-skeleton.c:100:
/usr/src/linux/include/linux/skbuff.h:20: asm/atomic.h: No such file or directory
/usr/src/linux/include/linux/skbuff.h:21: asm/types.h: No such file or directory
/usr/src/linux/include/linux/skbuff.h:22: asm/spinlock.h: No such file or directory
/usr/src/linux/include/linux/skbuff.h:134: asm/system.h: No such file or directory
pci-skeleton.c:103: asm/processor.h: No such file or directory
pci-skeleton.c:104: asm/bitops.h: No such file or directory
pci-skeleton.c:105: asm/io.h: No such file or directory
In file included from pci-skeleton.c:111:
kern_compat.h:35: linux/version.h: No such file or directory
kern_compat.h:50: warning: `MODULE_AUTHOR' redefined
/usr/src/linux/include/linux/module.h:158: warning: this is the location of the previous definition
kern_compat.h:51: warning: `MODULE_DESCRIPTION' redefined
/usr/src/linux/include/linux/module.h:162: warning: this is the location of the previous definition
kern_compat.h:52: warning: `MODULE_PARM' redefined
/usr/src/linux/include/linux/module.h:186: warning: this is the location of the previous definition
kern_compat.h:56: warning: `hard_smp_processor_id' redefined
/usr/src/linux/include/linux/smp.h:79: warning: this is the location of the previous definition
In file included from kern_compat.h:78,
                 from pci-skeleton.c:111:
/usr/src/linux/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
pci-skeleton.c:987: macro `dev_kfree_skb' used with too many (2) args
pci-skeleton.c:1351: macro `dev_kfree_skb' used with too many (2) args
pci-skeleton.c:1357: macro `dev_kfree_skb' used with too many (2) args
make: *** [pci-skeleton.o] Error 1

--------------517964C0A3701BF0D7975E00--