[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-virtual-server
Subject:    Re: help:build ipvs1.0.10 on mips platform on kernel 2.4.18
From:       Roberto Nibali <ratz () tac ! ch>
Date:       2003-10-23 13:09:13
[Download RAW message or body]

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

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic