cd /usr/src
ls -l
lrwxr-xr-x 1 root root 12 Jan 11 11:17 linux -> linux-2.6.10
drwxrwxr-x 19 500 500 4096 Jan 20 23:24 linux-2.6.10
drwxr-xr-x 18 root root 4096 Jan 15 14:25 linux-2.6.10-gentoo-r4
drwxr-xr-x 18 root root 4096 Jan 15 14:19 linux-2.6.9-gentoo-r13
On Mon, 2005-01-31 at 12:52 +0100, Holly Bostick wrote:
> Frank Schafer wrote:
> > Hi,
> >
> > I got the Cisco-VPN tarball onesmore from our company copy.
> >
> > vpnclient-linux-4.0.5.Rel-k9.tar.gz is in /usr/portage/distfiles
> >
> > emerge cisco-vpnclient-3des
> > Calculating dependencies ...done!
> >>>>emerge (1 of 1) net-misc/cisco-vpnclient-3des-4.0.5 to /
> >>>>md5 src_uri ;-) vpnclient-linux-4.0.5.Rel-k9.tar.gz
> >>>>Unpacking source...
> >>>>Unpacking vpnclient-linux-4.0.5.Rel-k9.tar.gz
> > to /var/tmp/portage/cisco-vpnc
> > lient-3des-4.0.5/work
> > * Applying driver_build_CC.patch ...
> > [ ok ]
> >>>>Source unpacked.
> > ./driver_build.sh
> > Cisco Systems VPN Client Version 4.0.5 (Rel)
> > Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.
> >
> > usage:
> > ./driver_build.sh 'kernel_src_dir'
> >
> > 'kernel_src_dir' is the directory containing the linux kernel sour
> > ce
> >
> >
> > !!! ERROR: net-misc/cisco-vpnclient-3des-4.0.5 failed.
> > !!! Function src_compile, Line 45, Exitcode 0
> > !!! Failed to make module 'cisco_ipsec'
> > !!! If you need support, post the topmost build error, NOT this status
> > message.
> >
> > Hmmm.
> >
> > I have a plain vanilly 2.6.10 kernel from kernel.org running.
> >
> > Seems Gentoo in fact isn't the distro for real work. :(
> >
>
> This seems a trifle unjust.
>
> Is this
>
> > ./driver_build.sh
> > Cisco Systems VPN Client Version 4.0.5 (Rel)
> > Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.
> >
> > usage:
> > ./driver_build.sh 'kernel_src_dir'
> >
> > 'kernel_src_dir' is the directory containing the linux kernel sour
> > ce
> >
> >
>
> the entirety of the error when the driver_build script runs? I'm looking
> at the ebuild and it does have a parameter for the kernel source to be found
>
> src_compile () {
> unset ARCH
> sh ./driver_build.sh /lib/modules/${KV}/build
> [ ! -f ./cisco_ipsec -a ! -f ./cisco_ipsec.ko ] \
> && die "Failed to make module 'cisco_ipsec'"
>
> So the script should not be running without parameters as shown,
> unless.... for some reason, /lib/modules/${KV}/build is meaningless?
>
> Which could be because.... no link to /linux in /usr/src? Kernel source
> linked to /linux downloaded but not actually built/made (different
> source from the currently running kernel)?
>
> Just a couple of ideas.
>
> HTH,
> Holly
>
> --
> [email protected] mailing list
>
--
[email protected] mailing list