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

Re: Kernel compilation problem with Freeswan patch

Carlos Emir M. Macedo wrote:

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?

While I've never been able to get FreeS/WAN working on Sparc, I *have* gotten past this problem before. Compiling that file with -O0 (that's hyphen-Oh-Zero) optimization seems to work. I can only assume it's a glitch with the compiler.

Reply to: