can we build external module with generic header?

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

 



Dear all:
I use Ubuntu 9.10 with kernel 2.6.31.19 and I try to build
drivers/media/video in 2.6.31.12 with kernel header 2.6.31.19 that I
apt-get intall from web.
( I successfully build  drivers/media/video in 2.6.31.12 source code.
But I find the insmod told me the version is wrong.
So I rebuild it with kernel header 2.6.31.19)
My questions are:
1. I got the error message below when compiling:
 CC [M]  /media/sdb1/software/linux/linux-2.6.31.12/drivers/media/video/tuner-core.o
/media/sdb1/software/linux/linux-2.6.31.12/drivers/media/video/tuner-core.c:24:20:
error: mt20xx.h: No such file or directory

the problem comes from in 2.6.31.19/drivers/media/common, there is
header files as mt20xx.h that tuner-core.c need.
But these header files really exist under source code.

Does that mean all the generic headers I apt-get from web will not
include these headers I need?
if so, what I should do next?
(get complete source code of 2.6.31.19 from kernel.org? But I cannot
see this version there.
Could I use git to get this specific version?)
thanks your help in advance,
vichy

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux