FC5 and Intel 537EP driver make problem.
Hi,
I have Fedora Core 5, Kernel 2.6.16 and an Intel 537EP modem and have downloaded the intel-537ep-2.60.80.1 driver from the Intel website. After some problems with the make not finding the autoconf.h (now sorted) I am gettting errors from the make. See below:
make 537
Module precompile check
Current running kernel is: 2.6.15-1.2054_FC5smp
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
2.6.15-1.2054_FC5smp
make[1]: Entering directory `/root/intel-537EP_secure-2.60.80.1/coredrv'
make -C /lib/modules/2.6.15-1.2054_FC5smp/build SUBDIRS=/root/intel-537EP_secure-2.60.80.1/coredrv modules
make[2]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i586'
CC [M] /root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: data definition has no type or storage class
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_NOVERS’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:70: warning: parameter names (without types) in function declaration
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘softcore_init_struct’:
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:336: warning: assignment from incompatible pointer type
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘open’:
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:394: warning: implicit declaration of function ‘pm_register’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:395: warning: assignment makes pointer from integer without a cast
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘close’:
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:416: warning: implicit declaration of function ‘pm_unregister’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘send_data_to_user’:
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:563: error: ‘struct tty_struct’ has no member named ‘flip’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:568: error: ‘struct tty_struct’ has no member named ‘flip’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:569: error: ‘struct tty_struct’ has no member named ‘flip’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:571: error: ‘struct tty_struct’ has no member named ‘flip’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:572: error: ‘struct tty_struct’ has no member named ‘flip’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:573: error: ‘struct tty_struct’ has no member named ‘flip’
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘hamproc_write’:
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:660: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c: In function ‘kScheduleDPC’:
/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.c:861: warning: implicit declaration of function ‘pm_access’
make[3]: *** [/root/intel-537EP_secure-2.60.80.1/coredrv/coredrv.o] Error 1
make[2]: *** [_module_/root/intel-537EP_secure-2.60.80.1/coredrv] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i586'
make[1]: *** [537core_26] Error 2
make[1]: Leaving directory `/root/intel-537EP_secure-2.60.80.1/coredrv'
2.6.15-1.2054_FC5smp
Failed to build driver
I have highlighted the apparent errors in red. Unfortunately my C ain't that hot and I'm not clear as to what the problem is here. I can see where the problem is, just not why it's a problem. It looks to me like maybe some kind of compatibility issue but I'm not sure.
Anybody any ideas?
Thanks.
|