Errors installing Cisco VPN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All;

I got the latest vpnclient download from cisco -I'm running 64bit Fedora 10

I un-tarred the vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz (as root) in the 
/opt dir

then in the new vpnclient dir I ran this:

./vpn_install

and after following the prompts I get this error:

Making module
make -C /lib/modules/2.6.27.5-117.fc10.x86_64/build SUBDIRS=/opt/vpnclient 
modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-117.fc10.x86_64'
scripts/Makefile.build:46: *** CFLAGS was changed in "/opt/vpnclient/Makefile". 
Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/opt/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-117.fc10.x86_64'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".



I looked at the Makefile and saw this:
#
# KBUILD build parameters.
#
KERNEL_SOURCES  ?= /lib/modules/$(shell uname -r)/build
KERNEL_HEADERS  := -I$(KERNEL_SOURCES)/include
MODULE_ROOT     ?= /lib/modules/$(shell uname -r)/CiscoVPN
SUBARCH         := $(shell uname -m)


MODULE_NAME := cisco_ipsec

SOURCE_OBJS := linuxcniapi.o frag.o IPSecDrvOS_linux.o interceptor.o 
linuxkernelapi.o

ifeq ($(SUBARCH),x86_64)
CFLAGS += -mcmodel=kernel -mno-red-zone
NO_SOURCE_OBJS := libdriver64.so
else
NO_SOURCE_OBJS := libdriver.so
endif

ifneq ($(KERNELRELEASE),)

obj-m := $(MODULE_NAME).o 

$(MODULE_NAME)-objs :=  $(SOURCE_OBJS) $(NO_SOURCE_OBJS)

EXTRA_CFLAGS += -Wall \
                -D_LOOSE_KERNEL_NAMES \
                -DCNI_LINUX_INTERFACE \
                -DHAVE_CONFIG_H

ifeq ($(PATCHLEVEL), 4)
$(obj)/$(MODULE_NAME).o: $($(MODULE_NAME)-objs)
	$(LD) $(EXTRA_LDFLAGS) -r -o $@ $($(MODULE_NAME)-objs)
endif #PATCHLEVEL

else #KERNRELEASE

default: 
	$(MAKE) -C $(KERNEL_SOURCES) SUBDIRS=$(PWD) modules
clean:
	-rm -f $(SOURCE_OBJS)
	-rm -f $(MODULE_NAME).mod.*
	-rm -f $(MODULE_NAME).{o,ko}

endif #KERNRELEASE




So I changed the reference to CFLAGS to read EXTRA_CFLAGS

Then when I run the install I get this:

Making module                                                                        
make -C /lib/modules/2.6.27.5-117.fc10.x86_64/build SUBDIRS=/opt/vpnclient 
modules   
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-117.fc10.x86_64'              
  CC [M]  /opt/vpnclient/linuxcniapi.o
/opt/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or 
directory
In file included from /opt/vpnclient/Cniapi.h:15,
                 from /opt/vpnclient/linuxcniapi.c:27:
/opt/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
In file included from /opt/vpnclient/Cniapi.h:15,
                 from /opt/vpnclient/linuxcniapi.c:27:
/opt/vpnclient/GenDefs.h:111: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
/opt/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/opt/vpnclient/linuxcniapi.c:297: error: implicit declaration of function 
‘skb_set_timestamp’
/opt/vpnclient/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named 
‘nh’
/opt/vpnclient/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named 
‘mac’
/opt/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/opt/vpnclient/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named 
‘mac’
/opt/vpnclient/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named 
‘nh’
/opt/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named 
‘h’
/opt/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named 
‘nh’
make[2]: *** [/opt/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/opt/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-117.fc10.x86_64'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".



Thoughts ?

Thanks in advance

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux