LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

help:build ipvs1.0.10 on mips platform on kernel 2.4.18

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: help:build ipvs1.0.10 on mips platform on kernel 2.4.18
From: "wusheng" <wusheng00@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Oct 2003 18:05:36 +0800
I have patched the ksyms and netsyms patch for the kernel source
and built the kernel successfully following the steps: 
   "make config"->"make dep"->"make boot"

but when i tried to build the ipvs1.0.10, I got the following error:

gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -DCONFIG_IP_VS_DEBUG -g
-O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include -include /usr/src/linux/i
nclude/linux/modversions.h   -c -o ip_vs_conn.o ip_vs_conn.c
ip_vs_conn.c: /usr/src/linux/include/linux/modversions.h: No such file or direct
ory
In file included from /usr/src/linux/include/asm/bitops.h:13,
                 from /usr/src/linux/include/linux/fs.h:26,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:5,
                 from /usr/src/linux/include/linux/sched.h:9,
                 from /usr/src/linux/include/linux/vmalloc.h:4,
                 from ip_vs_conn.c:33:
/usr/src/linux/include/asm/byteorder.h:27:4: #error "MIPS, but neither __MIPSEB_
_, nor __MIPSEL__???"
In file included from /usr/src/linux/include/linux/vmalloc.h:4,
                 from ip_vs_conn.c:33:
/usr/src/linux/include/linux/sched.h:183: `_MIPS_SZLONG' undeclared here (not in
 a function)
/usr/src/linux/include/linux/sched.h:184: confused by earlier errors, bailing ou
t
make: *** [ip_vs_conn.o] Error 1

please give me some advice
thanks a lot


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