Headers not found even with EXTRA_CFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux