Re: multiple definition of `__module_kernel_version'

2000-11-08 Thread Keith Owens
On Wed, 08 Nov 2000 15:15:59 -0600, Timur Tabi <[EMAIL PROTECTED]> wrote: >../support/schedule.h:16: parse error > >and line 16 says: > >#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0) #include - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: multiple definition of `__module_kernel_version'

2000-11-08 Thread Timur Tabi
** Reply to message from Keith Owens <[EMAIL PROTECTED]> on Thu, 09 Nov 2000 08:08:31 +1100 > In 2.2 you have to > #define __NO_VERSION__ before including module.h in all of the module > objects except one. Search 2.2 drivers for __NO_VERSION__ to see > examples of this. If I do that, I get th

Re: multiple definition of `__module_kernel_version'

2000-11-08 Thread Keith Owens
On Wed, 08 Nov 2000 14:09:43 -0600, Timur Tabi <[EMAIL PROTECTED]> wrote: >I'm trying to port my driver from 2.4 to 2.2. When I try to compile it, I get >several "multiple definition of `__module_kernel_version'" errors: include/linux/module.h was changed in the 2.3 kernels to define __module_k