Dear All, I am new to this Fedora Linux. I worked on SuSE and Red Hat Linux. Now I am using Fedora Core 3 with 2.6.9-1.667 kernel version. I got a problem while compiling a module, but the same module is working under SuSE 9.1 with 2.6.5 and 2.6.6 kernel versions. I understood that the error messages are related to spin_lock_irqsave and spin_lock_init only. If I comment those two lines the compilation is OK. Please find the attached txt file for error messages that are occurred. Please any help greatly appreciated. Thanks in advance. Regards, Srinivas G
/home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c: In function `do_tifm_transfer': /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `magic' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `lock' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `babble' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `babble' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `module' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `owner' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `oline' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `lock' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `owner' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:933: error: request for member `oline' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:938: error: request for member `magic' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:938: error: request for member `lock' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:938: error: request for member `babble' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:938: error: request for member `babble' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:938: error: request for member `module' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:938: error: request for member `lock' in something not a structure or union /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c: In function `gendisk_init': /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:1090: error: invalid type argument of `->' /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:1090: error: invalid type argument of `->' /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:1090: error: invalid type argument of `->' /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:1090: error: invalid type argument of `->' /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:1090: error: invalid type argument of `->' /home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.c:1090: error: invalid type argument of `->' make[2]: *** [/home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source/tidrv.o] Error 1 make[1]: *** [_module_/home/ti/tifm-2.6.9-1.667-kernel/tifm-1.3-2.6.x-source] Error 2 make: *** [default] Error 2