LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: wusheng <wusheng00@xxxxxxxxxxxxxxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: help:build ipvs1.0.10 on mips platform on kernel 2.4.18
From: Roberto Nibali <ratz@xxxxxx>
Date: Thu, 23 Oct 2003 15:09:13 +0200
Hi,

wusheng wrote:
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

I'm inclined to ask you if you really did a make config and make dep? ;)

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

Where does your ../include/asm point to?

Best regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

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