Page 1 of 7 123 ... LastLast
Results 1 to 10 of 61

Thread: Cisco VPN Client "Failed to make module..."

  1. #1
    Join Date
    Apr 2007
    Beans
    67
    Distro
    Ubuntu 8.04 Hardy Heron

    Cisco VPN Client "Failed to make module..."

    Hello,

    I am attempting to install the Cisco VPN client (distributed by my school), but I am receiving errors. Below I've copied the output from the terminal. I am running Ubuntu 8.04.

    Code:
    igfud@igfud-laptop:~/Desktop/vpnclient$ sudo ./vpn_install
    Cisco Systems VPN Client Version 4.8.01 (0640) Linux Installer
    Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.
    
    By installing this product you agree that you have read the
    license.txt file (The VPN Client license) and will comply with
    its terms. 
    
    
    Directory where binaries will be installed [/usr/local/bin]
    
    Automatically start the VPN service at boot time [yes]no
    
    In order to build the VPN kernel module, you must have the
    kernel headers for the version of the kernel you are running.
    
    
    Directory containing linux kernel source code [/lib/modules/2.6.24-16-generic/build]
    
    * Binaries will be installed in "/usr/local/bin".
    * Modules will be installed in "/lib/modules/2.6.24-16-generic/CiscoVPN".
    * The VPN service will *NOT* be started automatically at boot time.
    * Kernel source from "/lib/modules/2.6.24-16-generic/build" will be used to build the module.
    
    Is the above correct [y]
    
    Making module
    make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/igfud/Desktop/vpnclient modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
      CC [M]  /home/igfud/Desktop/vpnclient/linuxcniapi.o
    In file included from /home/igfud/Desktop/vpnclient/Cniapi.h:15,
                     from /home/igfud/Desktop/vpnclient/linuxcniapi.c:31:
    /home/igfud/Desktop/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
    include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
    make[2]: *** [/home/igfud/Desktop/vpnclient/linuxcniapi.o] Error 1
    make[1]: *** [_module_/home/igfud/Desktop/vpnclient] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
    make: *** [default] Error 2
    Failed to make module "cisco_ipsec.ko".
    igfud@igfud-laptop:~/Desktop/vpnclient$
    Thanks,
    igfud
    .... .- -- .-. .- -.. .. --- .-. ..- .-.. . ...

  2. #2
    Join Date
    Apr 2008
    Beans
    1

    Re: Cisco VPN Client "Failed to make module..."

    Try
    http://www.longren.org/2007/05 /17/how-to-cisco-vpn-client-on-ubuntu-704-feisty-fawn/

    just worked for me

  3. #3
    Join Date
    Apr 2008
    Beans
    6
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cisco VPN Client "Failed to make module..."

    The Fiesty Link above does not work for me with 8.04. I did however find a fix for 8.04, Here are the instructions,

    1. Delete your current vpn installation files.

    2. Download new 4.8.01 from:
    http://projects.tuxx-home.at/ciscovp...0640-k9.tar.gz

    3. Download diff file for 2.6.24 kernels from:
    http://projects.tuxx-home.at/ciscovp....24-final.diff

    4. Extract the .gz.

    5. cd into the vpnclient directory.

    6. Type: sudo apt-get install patch

    7. Type: patch <../vpnclient-linux-2.6.24-final.diff
    (You should get a message that it updated 2 or so files. Sorry I am doing this from memory)

    8. Now install successfully as you regularly would!

    P.S. Thanks Tuxx-Home.

  4. #4
    Join Date
    Apr 2007
    Beans
    67
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cisco VPN Client "Failed to make module..."

    The installation instructions worked great - thanks a bunch for the help!

    After installation, I ran the "/etc/init.d/vpnclient_init start" command as specified by the terminal. According to my school, I should use the command "vpnclient connect cuboulder" for off campus connections. When I run this command, I receive the following output in the terminal:

    Code:
    igfud@igfud-laptop:~/Desktop/vpnclient$ vpnclient connect cuboulder
    Cisco Systems VPN Client Version 4.8.01 (0640)
    Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
    Client Type(s): Linux
    Running on: Linux 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
    Config file directory: /etc/opt/cisco-vpnclient
    
    The profile specified could not be read.
    I guess this makes enough sense; the school's copy of the software must have been modified to accept "cuboulder" as an alias for the VPN's IP address and other settings.

    To remedy this, I tried reinstalling the old version of the program following the instructions for the .diff file. Installation went just fine, but I still receive the same error when trying to connect.

    If it would be of assistance to anyone, here is the link to setting up VPN for Linux on the school's IT site:
    http://www.colorado.edu/its/vpn/linux.html

    Thanks,
    igfud
    .... .- -- .-. .- -.. .. --- .-. ..- .-.. . ...

  5. #5
    Join Date
    Apr 2007
    Beans
    67
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cisco VPN Client "Failed to make module..."

    Cancel my previous post.... I tried uninstalling the VPN client *then* installing my school's copy. Works great; I'm using it now.

    thanks,
    igfud
    .... .- -- .-. .- -.. .. --- .-. ..- .-.. . ...

  6. #6
    Join Date
    Jul 2006
    Location
    Seattle
    Beans
    17
    Distro
    Ubuntu

    Re: Cisco VPN Client "Failed to make module..."

    Thanks ndeburn

    that worked for me

  7. #7
    Join Date
    Apr 2008
    Beans
    7

    Re: Cisco VPN Client "Failed to make module..."

    Hi All,

    I'm having the same problem, followed the steps carefully, and am experiencing the same error. The patch installs fine. Could it be cause I'm running 8.04 64-bit?

    Thanks!

  8. #8
    Join Date
    Mar 2007
    Beans
    65

    Re: Cisco VPN Client "Failed to make module..."

    ndeburn,

    Worked for me too. Much thanks!

    Dan

  9. #9
    Join Date
    Apr 2008
    Beans
    6
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cisco VPN Client "Failed to make module..."

    Quote Originally Posted by dl1000v View Post
    Hi All,

    I'm having the same problem, followed the steps carefully, and am experiencing the same error. The patch installs fine. Could it be cause I'm running 8.04 64-bit?

    Thanks!
    The 64-bit could be the problem. The client is for 64bit as well, but the patch may not have been written for such.

    You can see in the error that the file does not exist. That is because that file was moved in the newer kernels. If it is failing because of the 64bit, it should fail in a different file or location.

    Start over without patching, record the error.
    Start over again and patch, record the error.
    See if the 2 are different.

    If they are, then it probably won't work on 64-bit as I outlined. If they are the same, I would look at the way you are patching the install files.

  10. #10
    Join Date
    May 2007
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cisco VPN Client "Failed to make module..."

    thanks ndeburn, that worked great!

Page 1 of 7 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •