kbuild list on sourceforge is long defunct.
Please use [email protected].
On Fri, Aug 21, 2009 at 10:45:14PM +0200, Nipun sehrawat wrote:
> Hi List,
>
> I am porting KTCPVS (last released for 2.6.18) to the latest kernel. I
> was able to compile most of the files on 2.6.30, until I got struck at
> a strange "KBUILD_MODNAME undefined warning" The Makefile of KTCPVS is
> :
>
> ---------------------------------Makefile
> Starts-------------------------------------
> # ktcpvs migrate to 2.6
>
> ifneq ($(KERNELRELEASE),)
> ifdef CONFIG_MODVERSIONS
> EXTRA_CFLAGS := -DCONFIG_TCP_VS_DEBUG
> endif
> obj-m := ktcpvs.o tvs_hhttp.o tvs_phttp.o tvs_chttp.o tvs_http.o tvs_wlc.o
> LIBS := tcp_vs_sched.o tcp_vs_ctl.o misc.o redirect.o
> tcp_vs_srvconn.o tcp_vs_timer.o tcp_vs.o fault.o regex/regcomp.o
> LIBS += regex/kernel.o regex/regfree.o
> ktcpvs-y := $(LIBS)
If you are building a module use "-m" not "-y".
Try that and see if it hepls you.
Sam
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
kbuild-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel