Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Feb 2006 23:41:32 +0300
From: Solar Designer <>
Subject: Re: cisco vpnclient

On Fri, Feb 17, 2006 at 08:31:37PM +0100, Bernhard Fischer wrote:
> That is the relevant part from the script:
> #########snip###########
> INCLUDES="-I. -I${KSRCDIR}/include"

Note the lack of -DMODVERSIONS here.  Also, if your kernel is built for
SMP, there must be -D__SMP__ here.

> rpm!root:~/vpnclient# ./ /usr/src/linux

FWIW, it is not a good idea to be compiling stuff as root.  We've got
pseudo-user "sources" for compiling the kernel and kernel modules.

> rpm!root:~/vpnclient# insmod ./cisco_ipsec
> ./cisco_ipsec: ./cisco_ipsec: unresolved symbol eth_type_trans
> ./cisco_ipsec: ./cisco_ipsec: unresolved symbol __kfree_skb
> ./cisco_ipsec: ./cisco_ipsec: unresolved symbol alloc_skb
> ./cisco_ipsec: ./cisco_ipsec: unresolved symbol htons
> ./cisco_ipsec: ./cisco_ipsec: unresolved symbol skb_under_panic
> ./cisco_ipsec: ./cisco_ipsec: unresolved symbol kmalloc

So it fails to find even the most essential symbols.  My guess is that
you have the kernel built with CONFIG_MODVERSIONS, but you are not
building the module in the same way.  You need to either rebuild the
kernel without modversions or build the module with modversions as well.

Alexander Peslyak <solar at>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598 - bringing security into open computing environments

Was I helpful?  Please give your feedback here:

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.