Can not compile Cisco VPN client on openSUSE 10.3 64bit

Update: as i guessed, this appears to be a bug from revision 4.8.00.0640, the older 0490 works just fine on my Ubuntu 64 bit (with the patch of course)

Just got the new openSUSE 10.3 on my work PC with 64 bit kernel set up and like i expected, there are errors during compiling the kernel module:

Making module
make -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/xn1/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/x86_64/default’
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/x86_64/default modules
CC [M] /home/xn1/vpnclient/interceptor.o
In file included from /home/xn1/vpnclient/Cniapi.h:15,
from /home/xn1/vpnclient/interceptor.c:34:
/home/xn1/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/home/xn1/vpnclient/interceptor.c: In function ‘recv_ip_packet_handler’:
/home/xn1/vpnclient/interceptor.c:639: warning: assignment makes integer from pointer without a cast
/home/xn1/vpnclient/interceptor.c:660: warning: passing argument 2 of ‘CniNewFragment’ makes pointer from integer without a cast
/home/xn1/vpnclient/interceptor.c: In function ‘do_cni_send’:
/home/xn1/vpnclient/interceptor.c:778: error: invalid operands to binary -
make[4]: *** [/home/xn1/vpnclient/interceptor.o] Fehler 1
make[3]: *** [_module_/home/xn1/vpnclient] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/x86_64/default’
make: *** [default] Fehler 2
Failed to make module “cisco_ipsec.ko”.

Google doesn’t help at all :-(

Update: not only openSUSE, the new Gutsy 64 bit falls for this too

  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • StumbleUpon
  • Ma.gnolia
  • Reddit

Related posts:

Comments 6

  1. Nick wrote:

    I’m having exactly the same problem. If I can find a solution I’ll let you know.

    Posted 24 Oct 2007 at 11:22 am
  2. Cuong wrote:

    What version of vpnclient did u try to compile?

    I used vpnclient-linux-x86_64-4.8.00.0490-k9 with the patch vpnclient-linux-2.6.22.diff. Worked perfectly. Give it a go.

    More info from here: http://tuxx-home.at/archives/2007/05/29/T16_34_26/

    Posted 28 Oct 2007 at 7:32 pm
  3. Lamnk wrote:

    Thanks, i already knew the patch :)

    Posted 28 Oct 2007 at 8:27 pm
  4. Jordi wrote:

    Hi,
    I have SuSE 10.3 with 2.6.22.13-0.3-default 64-bit, and I have installed the Cisco VPN “vpnclient-linux-x86_64-4.8.01.0640-k9″with the patch “cisco_skbuff_offset.patch”. Up until here, everything worked great.

    The problem is that I can only use the Cisco VPN client when I use the ethernet connection “eth0″. If I use the wireless connection “wlan0″ the system freezes.

    Anybody has any ideas or patches? I have no idea of what it can be.

    Thanks in advance.

    Posted 30 Dec 2007 at 1:08 am
  5. Lamnk wrote:

    Hi Jordi,
    AFAIK 4.8.01.0640 version does NOT need a patch to work (only on x86 systems). On a 64 bit system i’d recommend using 4.8.00.0490 client (this one needs to be patched).

    Have you tried the vpnc client ?

    Posted 06 Jan 2008 at 12:19 pm
  6. Christof wrote:

    I’m trying to use the 4.8.01.0640 on a fully patched OpenSuse 10.3 x86-64. but it gives compilation errors.
    Exactly the same as in the above blog!

    Also version 4.8.02.0030 does not work!

    So anyone a solution?

    Posted 08 Oct 2008 at 9:46 am

Post a Comment

Your email is never published nor shared. Required fields are marked *