LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   VPN build error on 64 bit (https://www.linuxquestions.org/questions/programming-9/vpn-build-error-on-64-bit-354237/)

ronban 08-17-2005 11:23 AM

VPN build error on 64 bit
 
i wanted to install VPN Client for linux and it needed to be compiled. The compilation script gave the following error. Can you guys give a ix for this or maybe a VPN client for FC4 x86_64


This is the output of the script ...


[root@pyro vpnlinux-404B]# ./vpn_install
Cisco Systems VPN Client Version 4.0.4 (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 default

Directory containing linux kernel source code [/lib/modules/2.6.11-1.1369_FC4/build]

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

Is the above correct [y] y

Making module
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/root/Downloads/vpnlinux-404B modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-x86_64'
CC [M] /root/Downloads/vpnlinux-404B/linuxcniapi.o
In file included from /root/Downloads/vpnlinux-404B/Cniapi.h:15,
from /root/Downloads/vpnlinux-404B/linuxcniapi.c:25:
/root/Downloads/vpnlinux-404B/GenDefs.h:101:2: warning: #warning 64 bit
In file included from /root/Downloads/vpnlinux-404B/Cniapi.h:15,
from /root/Downloads/vpnlinux-404B/linuxcniapi.c:25:
/root/Downloads/vpnlinux-404B/GenDefs.h:102: error: syntax error before ‘intptr_t’
/root/Downloads/vpnlinux-404B/GenDefs.h:102: warning: type defaults to ‘int’ in declaration of ‘intptr_t’
/root/Downloads/vpnlinux-404B/GenDefs.h:102: warning: data definition has no type or storage class
/root/Downloads/vpnlinux-404B/GenDefs.h:111:2: warning: #warning 64 bit
make[2]: *** [/root/Downloads/vpnlinux-404B/linuxcniapi.o] Error 1
make[1]: *** [_module_/root/Downloads/vpnlinux-404B] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-x86_64'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

rweiler 08-22-2005 08:18 PM

Cisco VPN Client Fedora Core 4
 
I got the same problem. Apparently, the includes don't end up defining int64. I'm going to look at this tonight.

AMD-vpn 09-09-2005 02:48 AM

AMD-64 bit VPN
 
Any one got luck on the above topics? I am trying to install VPN on an AMD-64 RHEL v3 system and get the same problem.

Thanks,

C.


All times are GMT -5. The time now is 02:12 AM.