On Sat, 11 May 2002, Mariano Absatz wrote:
> Hi,
>
> I'm new to freeswan and, in fact, new to kernel compiling, also, however, I
> just had the exact same error using a recently configured and built 2.4.18-3
> kernel on a RedHat 7.2 and the freeswan-1.97 tarball.
>
> On the contrary to Carla's opinion, I think the problem is more on the
> freeswan side than on the kernel building...
>
> Specifically on the RPM building tools and/or makefiles... it seems that the
> module is built on
> ./tmp.rpmbuild/lib/modules/<your-kernel-label-here>/kernel/net/ipsec
> but afterwards, it's expected to be on:
> ./tmp.rpmbuild/lib/modules/ipsec
>
> after make stops because of the error, I did the following:
> cd tmp.rpmbuild/lib/modules/
> cp -Rp <your-kernel-label-here>/kernel/net/ipsec ipsec
> cd ../../..
> ...and then...
> make <whatever-you-were-making-that-generated-the-error>
>
> It re-asks you the config options, but reading the .config already generated,
> so you can proably just leave a finger over the <ENTER> key until you see the
> questions stop... :-)
>
> In my case, it worked allright, but I already said it's my first attempt at
> freeswan & kernel configuration, so maybe some sanity check from more
> experienced people on the list would be advisable...
>
> HTH
Tried your suggestion with the following results.
1. On my system the cp command looks like this:
cp -Rp <your-kernel-label-here>/net/ipsec ipsec
2. The resulting rpms:
freeswan-1.97_2.4.9_31custom-0.i386.rpm size 866212
freeswan-module-1.97_2.4.9_31custom-0.i386.rpm size 305025
which appears to be userland tools, the first one
and the ipsec modules, the second one.
Not what I had intended, but if it works, it'll do.
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users
This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:19:58 CEST