LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: 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: Todd Lyons <tlyons@xxxxxxxxxx>
Date: Tue, 29 Mar 2005 08:31:10 -0800
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

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