LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Compile error in ipvs 0.0.5 for kernel 2.4

To: Dong-Su Bak <advance@xxxxxxxxxxxx>
Subject: Re: Compile error in ipvs 0.0.5 for kernel 2.4
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 16 Sep 2000 15:34:12 +0000 (GMT)
        Hello,

On Sat, 16 Sep 2000, Dong-Su Bak wrote:

> I am using kernel 2.4.0-test8.
>
> I had downloaded ipvs 0.0.5 and typed 'make' in the directory ipvs.
> But I got a strange error message like this:
>
> gcc -D__KERNEL__ -DMODULE  -DCONFIG_IP_VS_DEBUG -g -O2 -Wall 
> -I/usr/src/linux/include     -c -o ip_vs_conn.o ip_vs_conn.c
> In file included from /usr/src/linux/include/asm/hardirq.h:6,
>                  from /usr/src/linux/include/asm/softirq.h:5,
>                  from ip_vs_conn.c:37:
> /usr/src/linux/include/linux/irq.h:53: requested alignment is not a constant
> In file included from /usr/src/linux/include/asm/softirq.h:5,
>                  from ip_vs_conn.c:37:
> /usr/src/linux/include/asm/hardirq.h:16: requested alignment is not a constant
> ip_vs_conn.c:84: requested alignment is not a constant
> ip_vs_conn.c:88: requested alignment is not a constant
> make: *** [ip_vs_conn.o] error 1
>
>
> Sure, /usr/src/linux contains sources of kernel 2.4.0-test8.
> I cannot find any reason of this error.
> Please help me.

        You can try to alter Makefile:SMPFLAGS. If this can't
help you have to show your .config file, gcc, etc. I just tested
0.0.5 with test8 on UP and and I don't see such problem.

>
>
> --
>   Dong-Su Bak <mailto:advance@xxxxxxxxx>
>   GnuPG Fingerprint : B68C C6FC 6C02 382D E995  8E55 1004 1DD5 6F4C 0313
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GE d- s:-- a-- C+++ U++ P+ L++ E--- W++ N++ o-- K? w-- O-- M- V? PS++
> PE-(--) Y+>++ PGP++>+++ t? 5? X R tv-> b+ DI? D-(--) G e+ h- r+ y--
> ------END GEEK CODE BLOCK------


Regards

--
Julian Anastasov <ja@xxxxxx>



<Prev in Thread] Current Thread [Next in Thread>