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
make -C /lib/modules/$(uname -r)/build M=$(pwd)/linux/drivers/media

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:
error: mt20xx.h: No such file or directory
error: tda8290.h: No such file or directory
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?


[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.
kbuild-devel mailing list

Reply via email to