Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn clien

Discussion in 'Linux Networking' started by JSH, Jun 7, 2004.

  1. JSH

    JSH Guest

    Has anyone had trouble compiling the linux cisco vpn client? Here is
    the output of the install script:

    # uname -rviosm
    Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64
    GNU/Linux

    ../vpn_install
    Cisco Systems VPN Client Version 4.0.3 (B) Linux Installer
    Copyright (C) 1998-2001 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]

    In order to build the VPN kernel module, you must have the
    kernel headers for the version of the kernel you are running.

    For RedHat 6.x users these files are installed in /usr/src/linux by
    default
    For RedHat 7.x users these files are installed in /usr/src/linux-2.4
    by default
    For Suse 7.3 users these files are installed in
    /usr/src/linux-2.4.10.SuSE by de fault

    Directory containing linux kernel source code
    [/lib/modules/2.4.22-1.2188.nptl/b uild]

    * Binaries will be installed in "/usr/local/bin".
    * Modules will be installed in
    "/lib/modules/2.4.22-1.2188.nptl/CiscoVPN".
    * The VPN service will be started AUTOMATICALLY at boot time.
    * Kernel source from "/lib/modules/2.4.22-1.2188.nptl/build" will be
    used to bui ld the module.

    Is the above correct [y] y

    Making module
    In file included from Cniapi.h:15,
    from linuxcniapi.c:24:
    GenDefs.h:101:2: warning: #warning 64 bit
    In file included from Cniapi.h:15,
    from linuxcniapi.c:24:
    GenDefs.h:102: error: syntax error before "intptr_t"
    GenDefs.h:102: warning: data definition has no type or storage class
    GenDefs.h:111:2: warning: #warning 64 bit
    In file included from Cniapi.h:15,
    from interceptor.c:30:
    GenDefs.h:101:2: warning: #warning 64 bit
    In file included from Cniapi.h:15,
    from interceptor.c:30:
    GenDefs.h:102: error: syntax error before "intptr_t"
    GenDefs.h:102: warning: data definition has no type or storage class
    GenDefs.h:111:2: warning: #warning 64 bit
    In file included from IPSecDrvOS_linux.c:20:
    GenDefs.h:101:2: warning: #warning 64 bit
    In file included from IPSecDrvOS_linux.c:20:
    GenDefs.h:102: error: syntax error before "intptr_t"
    GenDefs.h:102: warning: data definition has no type or storage class
    GenDefs.h:111:2: warning: #warning 64 bit
    In file included from Cniapi.h:15,
    from frag.c:16:
    GenDefs.h:101:2: warning: #warning 64 bit
    In file included from Cniapi.h:15,
    from frag.c:16:
    GenDefs.h:102: error: syntax error before "intptr_t"
    GenDefs.h:102: warning: data definition has no type or storage class
    GenDefs.h:111:2: warning: #warning 64 bit
    ld: cannot open frag.o: No such file or directory
    Failed to make module "cisco_ipsec".

    Thanks, JSH
     
    JSH, Jun 7, 2004
    #1
    1. Advertisements

  2. JSH

    Andrew Keith Guest

    its a broken make. I suggest trying the following before sending
    this error over to cisco tech support.

    1) upgrade your gcc compiler. make sure its the latest version.
    2) you have the kernel source for the version you are using.

    i think its the problem with the kernel source when building the module.
    Maybe cisco didnt give you the correct versions.

    Andrew


     
    Andrew Keith, Jun 7, 2004
    #2
    1. Advertisements

  3. JSH

    JSH Guest

    It looks like I have the latest copy of make installed as far as I can tell:

    # rpm -q make
    make-3.79.1-18

    I'm at a loss....

    Thanks,
    --Jeff




     
    JSH, Jun 10, 2004
    #3
  4. JSH

    Matt Hayes Guest

    I had the exact same errors until I was able to download the newest
    version for linux which is vpnclient-linux-4.0.4.B-k9.tar.gz

    I built it on a 2.6 kernel and it runs great.
     
    Matt Hayes, Jul 1, 2004
    #4
  5. JSH

    Domski Guest

    There was also an advisory, i think it was directly from cisco, when using
    the kernel 2.6, you need the 4.0.4B-k9 vpnclient. This should work in the
    most cases.
     
    Domski, Jul 2, 2004
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.