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

Re: Kernel compilation problem with Freeswan patch



On Fri, Dec 05, 2003 at 03:05:43PM -0300, Carlos Emir M. Macedo wrote:
>         Hi,
> 
>         First, I'd like to thanks Leith Stevens for the help with my 
> console. I didn't fix it yet, because I can't compile the kernel, as 
> follows...
>         Second, I'm trying to compile my 2.4.18 kernel with Freeswan 
> patch. I followed the instructions of 
> http://www.thing.dyndns.org/debian/wifivpn.htm to compile it with Freeswan 
> support. As the kernel compiles, it looks like the compilation enters in 
> an infinite loop. The module is des_enc.c and the execution line is:
> 
> sparc64-linux-gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.18/include 
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
> -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc 
> -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare 
> -Wa,--undeclared-regs  -D__KERNEL__ 
> -I/usr/src/kernel-source-2.4.18/include  -c -o des_enc.o des_enc.c
> 
>         Is this a bug concerning with sparc64? Am I doing something wrong?
>         I think the problem is at the ipsec config, that follows:

First off, I'd use a newer kernel, and second off use gcc-3.3 in
sarge/sid. The problem you are having sounds like a bug in egcs64, which
isn't supported anymore after woody.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/



Reply to: