LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: UM3-L7: Issue with building tcps module

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: UM3-L7: Issue with building tcps module
From: "curtis downing" <curtis.downing@xxxxxxxxx>
Date: Tue, 15 May 2007 20:06:08 -0700
The error "/usr/local/src/build/tcps-0.3.0-0/conn.c:46:26: error:
linux/config.h:"

Someone correct me if I'm wrong but I think the linux/config.h has
been replaced by linux/autoconf.h  ???

I'm not sure config.h is in the headers of the the kernel version you are using.

You might try fooling it by creating a symlink to autoconf.h or just
touching config.h in the headers directory and see what changes you
get when you recompile.




On 5/15/07, James Bowling <james@xxxxxxxxxxx> wrote:
I am trying to build the tcps module for use with UltraMonkey3-L7.  Here
is the error that I am getting:

make -C /lib/modules/2.6.20-1.2316.fc5smp/build
M=/usr/local/src/build/tcps-0.3.0-0 V=1 modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2316.fc5-smp-i686'
test -e include/linux/autoconf.h -a -e include/config/auto.conf ||
(            \
echo;                                                           \
echo "  ERROR: Kernel configuration is invalid.";               \
echo "         include/linux/autoconf.h or include/config/auto.conf are
missing.";      \
echo "         Run 'make oldconfig && make prepare' on kernel src to fix
it.";  \
echo;                                                           \
/bin/false)
mkdir -p /usr/local/src/build/tcps-0.3.0-0/.tmp_versions
rm -f /usr/local/src/build/tcps-0.3.0-0/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/local/src/build/tcps-0.3.0-0
  gcc -Wp,-MD,/usr/local/src/build/tcps-0.3.0-0/.conn.o.d  -nostdinc
-isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERNEL__
-Iinclude  -include include/linux/autoconf.h  -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os
-pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i686
-mtune=generic -mtune=generic -ffreestanding -maccumulate-outgoing-args
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default
-fomit-frame-pointer -g  -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign   -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(conn)"
-D"KBUILD_MODNAME=KBUILD_STR(tcps)" -c -o
/usr/local/src/build/tcps-0.3.0-0/.tmp_conn.o
/usr/local/src/build/tcps-0.3.0-0/conn.c
/usr/local/src/build/tcps-0.3.0-0/conn.c:46:26: error: linux/config.h:
No such file or directory
/usr/local/src/build/tcps-0.3.0-0/conn.c:90: warning: âkmem_cache_tâ is
deprecated
make[2]: *** [/usr/local/src/build/tcps-0.3.0-0/conn.o] Error 1
make[1]: *** [_module_/usr/local/src/build/tcps-0.3.0-0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2316.fc5-smp-i686'
make: *** [tcps.ko] Error 2

The kernel sources are installed and I have verified that the above
files that they are referencing are indeed there.  Anyone had this
problem or have used UM3-L7?

--
Regards,
James Bowling <james@xxxxxxxxxxx>
Director of Network Operations
Alchemy Communications, Inc.
818-206-9260 x4043

_______________________________________________
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>