PDA

View Full Version : dev_link_t missing in Fedora Linux Core 6



Lokesh M S
23rd May 2007, 11:37 AM
Hi,

I have installed Fedora Linux Core 6. I am getting compilation error
for pcmcia drivers. This is because "dev_link_t" is missing in "ds.h" header file.

Is there any patch to resolve this issue?

Lokesh

lazlow
23rd May 2007, 04:34 PM
I do not know about you specific error but do you have the kernel-devel for your specific kernel installed? Most of the driver compilation requires this.

Lokesh M S
24th May 2007, 07:40 AM
Thanks for the reply.
Yes, I have installed kernel-devel. The ds.h header in kernel devel env doesnot have dev_link_t structure defined.(ds.h file path /usr/src/linux-`(uname -r`)/include/pcmcia/ds.h). But it is defined in Fedore Core 5 (2.4 kernel). I searched in the google, and found some have got the same error. Patch is made available for some other linux flavour.
I am wondering, is there any patch available for Fedora Core 6, to resolve this issue.


-Lokesh

lazlow
24th May 2007, 01:29 PM
Fc4,Fc5,Fc6 all came with the 2.6 kernel and maybe Fc3 too.

Lokesh M S
25th May 2007, 12:33 PM
Yes, FC5 comes with 2.6 kernel. I installed 'kernel-devel-2.6.15-1.2054_FC5.i686.rpm' and compilation error got resolved. But I am getting following symbols (funtions) as undefined during
linking. But it creates the module, when I try to add the module (using modprobe), it says,

: Unkown sysbol pcmcia_dregister_client
: Unkown sysbol pcmcia_register_serial
: Unkown sysbol pcmcia_pcmcia_report_error
: Unkown sysbol pcmcia_pcmcia_register_client
: Unkown sysbol pcmcia_dregister_unregistet_serial