[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems building FreeSWAN kernel package.

On Wed, Feb 06, 2002 at 12:38:27PM -0800, Nick Jennings wrote:
> Hello,
>   Getting a VPN set up on my gateway machine. Running woody (2.4.17).
> Installed the packages:
> freeswan, kernel-patch-freeswan, kernel-package, gawk
> After reading /usr/share/doc/kerne-package-freeswan/README.Debian I 
> also installed:
> kernel-source-2.4.17, kernel-headers-2.4.17
> gateway:/# /usr/src/kernel-source-2.4.17/
> gateway:/usr/src/kernel-source-2.4.17# make-kpkg --config=menuconfig --revision=gateway.ipsec.1 buildpackage
> <-snip->
> <** goes on for a while, then errors out: **>
> <-snip->
> /usr/bin/make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_arch/i386/kernel _sfdep_arch/i386/mm _sfdep_arch/i386/lib _sfdep_arch/i386/math-emu _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib arch/i386/kernel arch/i386/mm arch/i386/lib arch/i386/math-emu"
> make[3]: Entering directory `/usr/src/kernel-source-2.4.17'
> /usr/bin/make -C kernel fastdep
> make[4]: Entering directory `/usr/src/kernel-source-2.4.17/kernel'
> make[4]: *** No rule to make target `/usr/src/kernel-source-2.4.17/include/linux/autoconf.h', needed by `/usr/src/kernel-source-2.4.17/include/linux/modules/signal.ver'.  Stop.
> make[4]: Leaving directory `/usr/src/kernel-source-2.4.17/kernel'
> make[3]: *** [_sfdep_kernel] Error 2
> make[3]: Leaving directory `/usr/src/kernel-source-2.4.17'
> make[2]: *** [dep-files] Error 2
> make[2]: Leaving directory `/usr/src/kernel-source-2.4.17'
> make[1]: *** [stamp-build] Error 2
> make[1]: Leaving directory `/usr/src/kernel-source-2.4.17'
> make: *** [stamp-buildpackage] Error 2
> gateway:/usr/src/kernel-source-2.4.17#

You don't really say what you did.  Did you run make menuconfig or equiv?
Missing autoconf is probably not freeswan related unless the patcher got

make-kpkg built freeswan flawlessly on several i86 machines here in 
past couple of weeks.  All running current unstable.  Maybe a month
ago I did have to tweak it but recent freeswan package fixed that.

> The documentation (README.Debian) is pretty sparse, and I don't know where 
> else to go to get info on doing this. Any comments or suggestions greatly
> appreciated. Thanks in advance.

Try applying patches by hand to see what happens.  Then just build kernel
as usual.

> -- 
>   Nick Jennings
> -- 
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux

Reply to: