LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ipvsadm compile problem

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: ipvsadm compile problem
From: "tong" <tong@xxxxxxxxx>
Date: Fri, 7 Dec 2001 17:42:12 +0800
Hi.
I got the following error when compiled ipvsadm version 1.20 using 'make'.
My system is Red Hat 7.2 distribution with Kernel 2.4.x. ( I got the same
error even after I made the new kernel with lvs module included. )
Could some body please help.  Thanks.

Tong
-------------------------------------------------------------------------
> In file included from /usr/include/bits/types.h:143,
>                  from /usr/include/stdio.h:36,
>                  from ipvsadm.c:90:
> /usr/include/bits/pthreadtypes.h:48: parse error before `size_t'
> /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of
> struct or union
> /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize'
> /usr/include/bits/pthreadtypes.h:51: warning: data definition has no type
> or storage class
> /usr/include/bits/pthreadtypes.h:52: warning: data definition has no type
> or storage class
> In file included from /usr/include/_G_config.h:44,
>                  from /usr/include/libio.h:32,
>                  from /usr/include/stdio.h:65,
>                  from ipvsadm.c:90:
> /usr/include/gconv.h:72: parse error before `size_t'
> /usr/include/gconv.h:85: parse error before `size_t'
> /usr/include/gconv.h:94: parse error before `size_t'
> /usr/include/gconv.h:170: parse error before `size_t'
> /usr/include/gconv.h:170: warning: no semicolon at end of struct or union
> /usr/include/gconv.h:173: parse error before `}'
> /usr/include/gconv.h:173: warning: data definition has no type or storage
> class
> In file included from /usr/include/libio.h:32,
>                  from /usr/include/stdio.h:65,
>                  from ipvsadm.c:90:
> /usr/include/_G_config.h:47: field `__cd' has incomplete type
> /usr/include/_G_config.h:50: field `__cd' has incomplete type
> /usr/include/_G_config.h:53: confused by earlier errors, bailing out
> make: *** [ipvsadm.o] Error 1
>
>
>
----------------------------------------------------------------------------
---



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