I am trying to build a set of drivers present in the s2-liplianin [1]
tree against Ubuntu's 2.6.35 so that I can use the drivers separately.
So I put the s2-liplianin tree in the ~/s2-liplianin directory and
did:
make -C /lib/modules/$(uname -r)/build M=$(pwd)/linux/drivers/media
CONFIG_DVB_MANTIS=m modules

The build fails for those Makefiles which use EXTRA_CFLAGS to add some
include paths. eg., linux/drivers/media/video/Makefile has:
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
EXTRA_CFLAGS += -Idrivers/media/common/tuners

Here is what I get when the build fails:
/home/fs/dray/s2-liplianin/linux/drivers/media/video/tuner-core.c:25:20:
error: mt20xx.h: No such file or directory
/home/fs/dray/s2-liplianin/linux/drivers/media/video/tuner-core.c:26:21:
error: tda8290.h: No such file or directory
/home/fs/dray/s2-liplianin/linux/drivers/media/video/tuner-core.c:27:21:
error: tea5761.h: No such file or directory

All those files are present in those include paths added to EXTRA_CFLAGS above.

I can see the s2-liplianin tree, like the other Mercurial trees of the
LinuxTV folks, do not look the usual Git trees from kernel.org. Is
that the reason for this problem?

Any suggestions on how to debug this?

Thanks,
Debarshi

[1] http://mercurial.intuxication.org/hg/s2-liplianin

-- 
The camera is to the brush what Java is to assembly.
   -- Sougata Santra

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to