LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -g -DCONFI

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -g -DCONFIG_TCPHA_FE_DEBUG/usr/src/linux/include/linux/modversions.h -c -o tcpha_fe.o tcpha_fe.c/usr/src/linux/include/linux/modversions.h: No such file or directory In file included from tcpha_fe.c:21: tcpha_fe.h:33:67: net/dst.h: No such file or directory In file included from /usr/include/sys/uio.h:24,
From: dragonfly@xxxxxxxxxxxx
Date: Wed, 30 Mar 2005 08:46:42 +0800
Hi,
   Make sure the directory:'/usr/src/linux' exists.if not,make sure
the directory:'/usr/src/linux-2.4' exists.if neither,then maybe you have
not installed kernel source.if exists,add a symbol link to it:ln -s
/usr/src/linux-2.4 /usr/src/linux.

Best Regards

引用 Todd Lyons <tlyons@xxxxxxxxxx>:

> Toni Esposito wanted us to know:
> 
> >gcc -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB -DMODVERSIONS  -g 
> >-DCONFIG_TCPHA_FE_DEBUG -O2 -Wall -Wstrict-prototypes 
> >-I/usr/src/linux/include -include 
> >/usr/src/linux/include/linux/modversions.h   -c -o tcpha_fe.o
> tcpha_fe.c
> ><command line>:152666374:33096: 
> >/usr/src/linux/include/linux/modversions.h: No such file or
> directory
> <snip>
> >Could you help me, please?
> 
> For 2.6 kernel:
>   cd /usr/src/linux
>   make mrproper
>   cp /boot/config-`uname -r` .config
>   make oldconfig
>   make vmlinux
> 
> For 2.4 kernel:
>   cd /usr/src/linux
>   make mrproper
>   cp /boot/config-`uname -r` .config
>   make oldconfig
>   make dep
>   make vmlinux
> 
> -- 
> Regards...            Todd
> They that can give up essential liberty to obtain a little temporary 
> safety deserve neither liberty nor safety.       --Benjamin Franklin
> Linux kernel 2.6.8.1-12mdkenterprise   2 users,  load average: 0.07,
> 0.02, 0.12
> _______________________________________________
> LinuxVirtualServer.org mailing list -
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 



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