Networking Forums

Networking Forums > Computer Networking > Linux Networking > Trouble Installing Linux/Cisco VPN Client 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

Reply
Thread Tools Display Modes

Trouble Installing Linux/Cisco VPN Client 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

 
 
JSH
Guest
Posts: n/a

 
      06-07-2004, 03:58 AM
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
 
Reply With Quote
 
 
 
 
Andrew Keith
Guest
Posts: n/a

 
      06-07-2004, 04:52 AM
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


"JSH" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> 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



 
Reply With Quote
 
JSH
Guest
Posts: n/a

 
      06-10-2004, 04:14 AM
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




"Andrew Keith" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 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
>
>
> "JSH" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
> > 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

 
Reply With Quote
 
Matt Hayes
Guest
Posts: n/a

 
      07-01-2004, 02:16 PM
(E-Mail Removed) (JSH) wrote in message news:<(E-Mail Removed). com>...
> 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


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.
 
Reply With Quote
 
Domski
Guest
Posts: n/a

 
      07-02-2004, 12:48 PM
Am 1 Jul 2004 07:16:04 -0700 hat Matt Hayes <(E-Mail Removed)>
geschrieben:

> (E-Mail Removed) (JSH) wrote in message
> news:<(E-Mail Removed). com>...
>> 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

>
> 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.


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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble connecting a Cisco VPN client Windows Networking 0 08-01-2007 12:05 AM
Cisco vpnclient 4.8.00 on x86_64 FC5: Failed to establish a VPN connection Otto J. Makela Linux Networking 5 05-17-2007 08:36 AM
Cisco VPN client can not connect with Linux ubuntu 6.10 - firewall ? jlukar@gmail.com Linux Networking 2 11-16-2006 05:46 PM
Client having trouble with Cisco VPN havenlad Windows Networking 1 06-21-2006 02:14 PM
VPN client for linux without compiling kernel Rocco Linux Networking 8 03-25-2005 03:50 PM



1 2 3 4 5 6 7 8 9 10 11