FC3 724 kernel and Cisco VPN client

S. Bandyopadhyay sbandy at umd.edu
Thu Jan 6 02:13:29 UTC 2005


On 11:12pm Jan 5, 2005, Thomas Chung (tchung) wrote

>   Yes, I confirm that there is an issue.
>   In my case, I tried to compile CiscoVPN 4.6 on FC3 with Kernel 2.6.9-1.724_FC3
>   
>   
>   * Binaries will be installed in "/usr/local/bin".
>   * Modules will be installed in "/lib/modules/2.6.9-1.724_FC3/CiscoVPN".
>   * The VPN service will be started AUTOMATICALLY at boot time.
>   * Kernel source from "/lib/modules/2.6.9-1.724_FC3/build" will be used to build the module.
>    
>   Is the above correct [y]
>    
>   Making module
>   make -C /lib/modules/2.6.9-1.724_FC3/build SUBDIRS=/usr/local/jpl/vpn modules
>   make[1]: Entering directory `/lib/modules/2.6.9-1.724_FC3/build'
>     CC [M]  /usr/local/jpl/vpn/interceptor.o
>   /usr/local/jpl/vpn/interceptor.c: In function `add_netdev':
>   /usr/local/jpl/vpn/interceptor.c:59: sorry, unimplemented: inlining failed in call to 'supported_device': function body not available
>   /usr/local/jpl/vpn/interceptor.c:245: sorry, unimplemented: called from here
>   make[2]: *** [/usr/local/jpl/vpn/interceptor.o] Error 1
>   make[1]: *** [_module_/usr/local/jpl/vpn] Error 2
>   make[1]: Leaving directory `/lib/modules/2.6.9-1.724_FC3/build'
>   make: *** [default] Error 2
>   Failed to make module "cisco_ipsec.ko".
>   
>   Thomas
>   
>   
>   


see 

http://www.fedoraforum.org/forum/showthread.php?t=30438

there is a patch posted in that thread. basically move 

static int
inline supported_device(struct net_device* dev)
{
....
}

*before* 

static int
add_netdev(struct net_device *dev)
{
.....

}

that will build it just fine. 





More information about the users mailing list