* [linux-dvb] Compile error when I get to snd-go7007.c
@ 2009-09-14 14:36 Peter J. Olson
[not found] ` <64a476a80909140739h6612ce69u2819335f7ea2c758@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Peter J. Olson @ 2009-09-14 14:36 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 1517 bytes --]
Hey all,
I have a Mythbuntu 8.10 system w/ a pctv 800i (pci card) and a pctv hd stick
(800e). Had both running just fine for about 8 months... then the stick
stopped working. Or rather, it works but wont pick up a signal.
I decided I would update my system a little and figure out what broke my
800e. I updated my kernel and went to recompile v4l-dvb and got this error:
CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o
/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c: In function
'go7007_snd_init':
/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c:251: error: implicit
declaration of function 'snd_card_create'
make[3]: *** [/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o] Error 1
make[2]: *** [_module_/home/mythbox/Firmware/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
make: *** [all] Error 2
I was using the old copy of v4l I had so I thought it might have been the
new kernel fighting w/ the old v4l. So I updated v4l (did a pull via hg)...
same error.
I dinked w/ it for a long time and finally gave up and upgraded to 9.0.4.
Same error, now neither of my cards will work (brutal!) My 800i is acting
like the 800e was. I can see the card in mythbackend setup but always gets
no signal in mythtv.
I dont even know what the snd-go7007 would go with... I dont even have that
type of hardware (i dont think).
Anyone have any ideas?
Thanks,
Peter
[-- Attachment #1.2: Type: text/html, Size: 1674 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Compile error when I get to snd-go7007.c
[not found] ` <64a476a80909140810j2c23a11fp994c6278ec01829a@mail.gmail.com>
@ 2009-09-14 15:18 ` Peter J. Olson
2009-09-14 16:32 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 5+ messages in thread
From: Peter J. Olson @ 2009-09-14 15:18 UTC (permalink / raw)
To: linux-media
Hey all,
I have a Mythbuntu 8.10 system w/ a pctv 800i (pci card) and a pctv hd
stick (800e). Had both running just fine for about 8 months... then
the stick stopped working. Or rather, it works but wont pick up a
signal.
I decided I would update my system a little and figure out what broke
my 800e. I updated my kernel and went to recompile v4l-dvb and got
this error:
CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o
/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c: In function 'go7007_snd_init':
/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c:251: error: implicit
declaration of function 'snd_card_create'
make[3]: *** [/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o] Error 1
make[2]: *** [_module_/home/mythbox/Firmware/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
make: *** [all] Error 2
I was using the old copy of v4l I had so I thought it might have been
the new kernel fighting w/ the old v4l. So I updated v4l (did a pull
via hg)... same error.
I dinked w/ it for a long time and finally gave up and upgraded to
9.0.4. Same error, now neither of my cards will work (brutal!) My
800i is acting like the 800e was. I can see the card in mythbackend
setup but always gets no signal in mythtv.
I dont even know what the snd-go7007 would go with... I dont even have
that type of hardware (i dont think).
Anyone have any ideas?
Thanks,
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compile error when I get to snd-go7007.c
2009-09-14 15:18 ` Peter J. Olson
@ 2009-09-14 16:32 ` Mauro Carvalho Chehab
2009-09-14 17:31 ` Peter J. Olson
0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2009-09-14 16:32 UTC (permalink / raw)
To: Peter J. Olson; +Cc: linux-media
Em Mon, 14 Sep 2009 10:18:42 -0500
"Peter J. Olson" <peterjolson@gmail.com> escreveu:
> Hey all,
>
> I have a Mythbuntu 8.10 system w/ a pctv 800i (pci card) and a pctv hd
> stick (800e). Had both running just fine for about 8 months... then
> the stick stopped working. Or rather, it works but wont pick up a
> signal.
>
> I decided I would update my system a little and figure out what broke
> my 800e. I updated my kernel and went to recompile v4l-dvb and got
> this error:
>
> CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o
>
> /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c: In function 'go7007_snd_init':
>
> /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c:251: error: implicit
> declaration of function 'snd_card_create'
>
> make[3]: *** [/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o] Error 1
>
> make[2]: *** [_module_/home/mythbox/Firmware/v4l-dvb/v4l] Error 2
>
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
>
> make[1]: *** [default] Error 2
>
> make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
>
> make: *** [all] Error 2
>
> I was using the old copy of v4l I had so I thought it might have been
> the new kernel fighting w/ the old v4l. So I updated v4l (did a pull
> via hg)... same error.
>
> I dinked w/ it for a long time and finally gave up and upgraded to
> 9.0.4. Same error, now neither of my cards will work (brutal!) My
> 800i is acting like the 800e was. I can see the card in mythbackend
> setup but always gets no signal in mythtv.
>
> I dont even know what the snd-go7007 would go with... I dont even have
> that type of hardware (i dont think).
>
> Anyone have any ideas?
Probably, it is incompatible with your kernel version. Just update and do a
"make allmodconfig". Then, try to compile again. I've disabled by the default
the compilation of the staging drivers.
>
> Thanks,
> Peter
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Cheers,
Mauro
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compile error when I get to snd-go7007.c
2009-09-14 16:32 ` Mauro Carvalho Chehab
@ 2009-09-14 17:31 ` Peter J. Olson
2009-09-14 17:56 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 5+ messages in thread
From: Peter J. Olson @ 2009-09-14 17:31 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media
Well, I made it a little farther... I think. I updated v4l-dvb: "hg
pull" then updated "hg update"
I then ran "make allmodconfig"
This is my output:
make -C /home/mythbox/Firmware/v4l-dvb/v4l allmodconfig
make[1]: Entering directory `/home/mythbox/Firmware/v4l-dvb/v4l'
./scripts/make_kconfig.pl /lib/modules/2.6.28-15-generic/build
/lib/modules/2.6.28-15-generic/build 1
Preparing to compile for kernel version 2.6.28
***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_VPSS_SYSTEM: Requires at least kernel 2.6.31
VIDEO_VPFE_CAPTURE: Requires at least kernel 2.6.31
VIDEO_DM6446_CCDC: Requires at least kernel 2.6.31
VIDEO_DM355_CCDC: Requires at least kernel 2.6.31
VIDEO_PXA27x: Requires at least kernel 2.6.29
VIDEO_CX25821: Requires at least kernel 2.6.31
VIDEO_CX25821_ALSA: Requires at least kernel 2.6.31
Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
Then I made it here:
CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-core.o
CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-sg.o
CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.o
/home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.c: In function
'videobuf_dma_contig_user_get':
/home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.c:164: error:
implicit declaration of function 'follow_pfn'
make[3]: *** [/home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.o] Error 1
make[2]: *** [_module_/home/mythbox/Firmware/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
make: *** [all] Error 2
Its kinda annoying that a year ago this was super easy...
I dont really want to bump up to 2.6.31 seeing it just came out a few days ago.
Thanks,
Peter
On Mon, Sep 14, 2009 at 11:32 AM, Mauro Carvalho Chehab
<mchehab@infradead.org> wrote:
> Em Mon, 14 Sep 2009 10:18:42 -0500
> "Peter J. Olson" <peterjolson@gmail.com> escreveu:
>
>> Hey all,
>>
>> I have a Mythbuntu 8.10 system w/ a pctv 800i (pci card) and a pctv hd
>> stick (800e). Had both running just fine for about 8 months... then
>> the stick stopped working. Or rather, it works but wont pick up a
>> signal.
>>
>> I decided I would update my system a little and figure out what broke
>> my 800e. I updated my kernel and went to recompile v4l-dvb and got
>> this error:
>>
>> CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o
>>
>> /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c: In function 'go7007_snd_init':
>>
>> /home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.c:251: error: implicit
>> declaration of function 'snd_card_create'
>>
>> make[3]: *** [/home/mythbox/Firmware/v4l-dvb/v4l/snd-go7007.o] Error 1
>>
>> make[2]: *** [_module_/home/mythbox/Firmware/v4l-dvb/v4l] Error 2
>>
>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
>>
>> make[1]: *** [default] Error 2
>>
>> make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
>>
>> make: *** [all] Error 2
>>
>> I was using the old copy of v4l I had so I thought it might have been
>> the new kernel fighting w/ the old v4l. So I updated v4l (did a pull
>> via hg)... same error.
>>
>> I dinked w/ it for a long time and finally gave up and upgraded to
>> 9.0.4. Same error, now neither of my cards will work (brutal!) My
>> 800i is acting like the 800e was. I can see the card in mythbackend
>> setup but always gets no signal in mythtv.
>>
>> I dont even know what the snd-go7007 would go with... I dont even have
>> that type of hardware (i dont think).
>>
>> Anyone have any ideas?
>
> Probably, it is incompatible with your kernel version. Just update and do a
> "make allmodconfig". Then, try to compile again. I've disabled by the default
> the compilation of the staging drivers.
>>
>> Thanks,
>> Peter
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
>
> Cheers,
> Mauro
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compile error when I get to snd-go7007.c
2009-09-14 17:31 ` Peter J. Olson
@ 2009-09-14 17:56 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2009-09-14 17:56 UTC (permalink / raw)
To: Peter J. Olson; +Cc: linux-media
Em Mon, 14 Sep 2009 12:31:28 -0500
"Peter J. Olson" <peterjolson@gmail.com> escreveu:
> Well, I made it a little farther... I think. I updated v4l-dvb: "hg
> pull" then updated "hg update"
>
> I then ran "make allmodconfig"
>
> This is my output:
> make -C /home/mythbox/Firmware/v4l-dvb/v4l allmodconfig
> make[1]: Entering directory `/home/mythbox/Firmware/v4l-dvb/v4l'
> ./scripts/make_kconfig.pl /lib/modules/2.6.28-15-generic/build
> /lib/modules/2.6.28-15-generic/build 1
> Preparing to compile for kernel version 2.6.28
>
> ***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_VPSS_SYSTEM: Requires at least kernel 2.6.31
> VIDEO_VPFE_CAPTURE: Requires at least kernel 2.6.31
> VIDEO_DM6446_CCDC: Requires at least kernel 2.6.31
> VIDEO_DM355_CCDC: Requires at least kernel 2.6.31
> VIDEO_PXA27x: Requires at least kernel 2.6.29
> VIDEO_CX25821: Requires at least kernel 2.6.31
> VIDEO_CX25821_ALSA: Requires at least kernel 2.6.31
> Created default (all yes) .config file
> ./scripts/fix_kconfig.pl
> make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
>
> Then I made it here:
>
> CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-core.o
> CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-sg.o
> CC [M] /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.o
> /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.c: In function
> 'videobuf_dma_contig_user_get':
> /home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.c:164: error:
> implicit declaration of function 'follow_pfn'
> make[3]: *** [/home/mythbox/Firmware/v4l-dvb/v4l/videobuf-dma-contig.o] Error 1
> make[2]: *** [_module_/home/mythbox/Firmware/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/mythbox/Firmware/v4l-dvb/v4l'
> make: *** [all] Error 2
>
> Its kinda annoying that a year ago this was super easy...
>
> I dont really want to bump up to 2.6.31 seeing it just came out a few days ago.
Ok, this is the usual backport issues we have every time we need to backport
patches upstream. This should be solved soon, but currently my priority is to
merge the pending patches at the tree. Up to then, you may do a:
make menuconfig
and select only the drivers you need, or just revert the latest changepatch to
videobuf-dma-config.
Cheers,
Mauro
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-09-14 17:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14 14:36 [linux-dvb] Compile error when I get to snd-go7007.c Peter J. Olson
[not found] ` <64a476a80909140739h6612ce69u2819335f7ea2c758@mail.gmail.com>
[not found] ` <64a476a80909140804s34ebd140r7934f46fb2150364@mail.gmail.com>
[not found] ` <64a476a80909140810j2c23a11fp994c6278ec01829a@mail.gmail.com>
2009-09-14 15:18 ` Peter J. Olson
2009-09-14 16:32 ` Mauro Carvalho Chehab
2009-09-14 17:31 ` Peter J. Olson
2009-09-14 17:56 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox