I have a norwood micro PCI Tv tuner card that doesn't work in PCLinuxOS (kernel 2.6.16.27.tex1). The latest linuxtv source tree has support for this card now, but when I try to "make" I get...
[root@localhost v4l-dvb]# make
make -C /root/v4l-dvb/v4l
make[1]: Entering directory `/root/v4l-dvb/v4l'
scripts/make_makefile.pl
No version yet.
Updating/Creating .config
Preparing to compile for kernel version 2.6.16
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at
http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
VIDEO_PLANB: Requires at least kernel 2.6.99
VIDEO_ZR36120: Requires at least kernel 2.6.99
DVB_CORE_ATTACH: Requires at least kernel 2.6.17
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make[1]: Entering directory `/root/v4l-dvb/v4l'
creating symbolic links...
ln -sf . oss
make -C /lib/modules/2.6.16.27.tex1/build SUBDIRS=/root/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.16.27.tex1'
----------------------------------------------------------------------------------------------------------------------------------------------------
CC [M] /root/v4l-dvb/v4l/dib7000m.o
/root/v4l-dvb/v4l/dib7000m.c:62: warning: `dib7000m_write_word' defined but not
used
/root/v4l-dvb/v4l/dib7000m.c:205: warning: `dib7000m_ops' defined but not used
--------------------------------------------------------------------------------------------------------------------------------------------------------
/root/v4l-dvb/v4l/aci.c:68:26: sound_config.h: No such file or directory
/root/v4l-dvb/v4l/aci.c: In function `aci_mixer_ioctl':
/root/v4l-dvb/v4l/aci.c:377: error: `SOUND_MIXER_WRITE_VOLUME' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:377: error: (Each undeclared identifier is reported only
once
/root/v4l-dvb/v4l/aci.c:377: error: for each function it appears in.)
/root/v4l-dvb/v4l/aci.c:379: error: `SOUND_MIXER_WRITE_CD' undeclared (first use
in this function)
/root/v4l-dvb/v4l/aci.c:381: error: `SOUND_MIXER_WRITE_MIC' undeclared (first us
e in this function)
/root/v4l-dvb/v4l/aci.c:383: error: `SOUND_MIXER_WRITE_LINE' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c:385: error: `SOUND_MIXER_WRITE_SYNTH' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:387: error: `SOUND_MIXER_WRITE_PCM' undeclared (first us
e in this function)
/root/v4l-dvb/v4l/aci.c:389: warning: implicit declaration of function `MIXER_WR
ITE'
/root/v4l-dvb/v4l/aci.c:389: error: `SOUND_MIXER_RADIO' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:389: error: case label does not reduce to an integer con
stant
/root/v4l-dvb/v4l/aci.c:390: error: `SOUND_MIXER_WRITE_LINE1' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:392: error: `SOUND_MIXER_WRITE_LINE2' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:394: error: `SOUND_MIXER_WRITE_BASS' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c:401: error: `SOUND_MIXER_WRITE_TREBLE' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:408: error: `SOUND_MIXER_WRITE_IGAIN' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:424: error: `SOUND_MIXER_WRITE_OGAIN' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:443: error: `SOUND_MIXER_WRITE_RECSRC' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:448: error: `SOUND_MASK_PCM' undeclared (first use in th
is function)
/root/v4l-dvb/v4l/aci.c:453: error: `SOUND_MASK_CD' undeclared (first use in thi
s function)
/root/v4l-dvb/v4l/aci.c:453: error: `SOUND_MASK_MIC' undeclared (first use in th
is function)
/root/v4l-dvb/v4l/aci.c:453: error: `SOUND_MASK_LINE' undeclared (first use in t
his function)
/root/v4l-dvb/v4l/aci.c:454: error: `SOUND_MASK_SYNTH' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:454: error: `SOUND_MASK_LINE2' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:456: error: `SOUND_MASK_RADIO' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:458: error: `SOUND_MASK_LINE1' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:463: error: `SOUND_MIXER_READ_DEVMASK' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:464: error: `SOUND_MASK_VOLUME' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:470: error: `SOUND_MASK_IGAIN' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:471: error: `SOUND_MASK_BASS' undeclared (first use in t
his function)
/root/v4l-dvb/v4l/aci.c:471: error: `SOUND_MASK_TREBLE' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:475: error: `SOUND_MASK_OGAIN' undeclared (first use in
this function)
/root/v4l-dvb/v4l/aci.c:485: error: `SOUND_MIXER_READ_STEREODEVS' undeclared (fi
rst use in this function)
/root/v4l-dvb/v4l/aci.c:500: error: `SOUND_MIXER_READ_RECMASK' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:510: error: `SOUND_MIXER_READ_RECSRC' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:538: error: `SOUND_MIXER_READ_CAPS' undeclared (first us
e in this function)
/root/v4l-dvb/v4l/aci.c:541: error: `SOUND_MIXER_READ_VOLUME' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:543: error: `SOUND_MIXER_READ_CD' undeclared (first use
in this function)
/root/v4l-dvb/v4l/aci.c:545: error: `SOUND_MIXER_READ_MIC' undeclared (first use
in this function)
/root/v4l-dvb/v4l/aci.c:547: error: `SOUND_MIXER_READ_LINE' undeclared (first us
e in this function)
/root/v4l-dvb/v4l/aci.c:549: error: `SOUND_MIXER_READ_SYNTH' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c:551: error: `SOUND_MIXER_READ_PCM' undeclared (first use
in this function)
/root/v4l-dvb/v4l/aci.c:553: warning: implicit declaration of function `MIXER_RE
AD'
/root/v4l-dvb/v4l/aci.c:553: error: case label does not reduce to an integer con
stant
/root/v4l-dvb/v4l/aci.c:554: error: `SOUND_MIXER_READ_LINE1' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c:556: error: `SOUND_MIXER_READ_LINE2' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c:558: error: `SOUND_MIXER_READ_BASS' undeclared (first us
e in this function)
/root/v4l-dvb/v4l/aci.c:563: error: `SOUND_MIXER_READ_TREBLE' undeclared (first
use in this function)
/root/v4l-dvb/v4l/aci.c:568: error: `SOUND_MIXER_READ_IGAIN' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c:584: error: `SOUND_MIXER_READ_OGAIN' undeclared (first u
se in this function)
/root/v4l-dvb/v4l/aci.c: At top level:
/root/v4l-dvb/v4l/aci.c:595: error: variable `aci_mixer_operations' has initializer but incomplete type
/root/v4l-dvb/v4l/aci.c:597: error: unknown field `owner' specified in initializer
/root/v4l-dvb/v4l/aci.c:597: warning: excess elements in struct initializer
/root/v4l-dvb/v4l/aci.c:597: warning: (near initialization for `aci_mixer_operations')
/root/v4l-dvb/v4l/aci.c:598: error: unknown field `id' specified in initializer
/root/v4l-dvb/v4l/aci.c:598: warning: excess elements in struct initializer
/root/v4l-dvb/v4l/aci.c:598: warning: (near initialization for `aci_mixer_operat
ions')
/root/v4l-dvb/v4l/aci.c:599: error: unknown field `ioctl' specified in initializer
/root/v4l-dvb/v4l/aci.c:600: warning: excess elements in struct initializer
/root/v4l-dvb/v4l/aci.c:600: warning: (near initialization for `aci_mixer_operations')
/root/v4l-dvb/v4l/aci.c: In function `attach_aci':
/root/v4l-dvb/v4l/aci.c:698: warning: implicit declaration of function `sound_install_mixer'
/root/v4l-dvb/v4l/aci.c:698: error: `MIXER_DRIVER_VERSION' undeclared (first usein this function)
/root/v4l-dvb/v4l/aci.c:700: error: invalid application of `sizeof' to an incomplete type
/root/v4l-dvb/v4l/aci.c: In function `unload_aci':
/root/v4l-dvb/v4l/aci.c:715: warning: implicit declaration of function `sound_unload_mixerdev'
/root/v4l-dvb/v4l/aci.c: At top level:
/root/v4l-dvb/v4l/aci.c:595: error: storage size of `aci_mixer_operations' isn't known
make[3]: *** [/root/v4l-dvb/v4l/aci.o] Error 1
make[2]: *** [_module_/root/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.27.tex1'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
As you can see It says I do not have the full kernel sources, but when I upgraded in synaptic it said that was what I was getting. Is there something special I have to do to install the full sources?
I used the mercurial clone function to download the linux tv source tree. I've tried cloning into the root folder and also tried cloning into /usr/src/linux folder like linuxtv.org suggested. I get the same result each time. I've also tried a few different kernels.
I need a lot of help here as I have no idea what to do next. People have this TV card and can make it work please help me do the same.