Re: The new minstall fails...

Michael Richardson <[email protected]> Mon, 24 Feb 2003 14:34:34 -0500
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Hugh" == Hugh Daniel <[email protected]> writes:
    Hugh> So we are trying to get a -rc1 out the door, and it's the little
    Hugh> things that are keeping it from happening.

    Hugh> This was run from the /usr/src/freeswan-* directory and this is the
    Hugh> result:

    Hugh> mkdir -p $FSMODLIB/kernel/net/ipsec ; \ cp linux/net/ipsec/ipsec.o
    Hugh> $FSMODLIB/kernel/net/ipsec ) + mkdir -p
    Hugh> /lib/modules/2.4.20/kernel/net/ipsec + cp linux/net/ipsec/ipsec.o
    Hugh> /lib/modules/2.4.20/kernel/net/ipsec cp: cannot stat
    Hugh> `linux/net/ipsec/ipsec.o': No such file or directory make: ***
    Hugh> [minstall] Error 1

    Hugh> There _is_ such a directory as:

    Hugh> /usr/src/freeswan/linux/net/ipsec/

    Hugh> but nothing has happened in it, while over in:

    Hugh> /usr/src/linux/net/ipsec/ipsec.o

    Hugh> we obviously have the right file.  To get here I issued two
    Hugh> commands, "make oldgo" and "make minstall".  So there is confusion
    Hugh> as to where to get the binary from.

  Well, you invoked "oldgo", which is for full kernel builds. You seem to
have configured FreeSWAN as a module, so you need to install your modules,
using the standard kernel mechanisms.

  Probably, this is a documentation issue.

  If you had invoked "oldmod", (or just "make module"), then you would have
built the module locally, against a potentially RO kernel, and "minstall"
would work.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPlpzwoqHRg3pndX9AQGvfwP+Lu+S91mmUsjpRy4AvwyTG6f/+0FL2Err
SAx0Op3RpFGWQhYkE4PMaI7d81H8X12G+1Ra/gRolmNX6rct+4vStpGoKVX8Gr/j
iSvhwq4eY6/s2v3UQq+7qslSPDS6Kzm4xCYPz6w706dW/LD0iSczweIbzRo+EIMf
0lRA188Ynxg=
=spQ2
-----END PGP SIGNATURE-----