public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* tuner-types.h symlink
@ 2008-03-17  1:04 Ben Caldwell
  2008-03-17  1:06 ` Michael Krufky
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Caldwell @ 2008-03-17  1:04 UTC (permalink / raw)
  To: V4L

This is my first post on the v4l list, so hi everyone!

I just got a warning compiling the latest v4l source from mercurial, there
was a missing symbol "tuner_count" in "tuner-simple.ko"

I fixed the problem by adding a symlink in v4l-dvb/v4l:

*$ ln -s ../linux/include/media/tuner-types.h  tuner-types.h*
**
I'm hoping that someone here can check that this is indeed the right thing
to do and commit a change to the repository for me if it is.

Thanks,

Ben Caldwell
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tuner-types.h symlink
  2008-03-17  1:04 tuner-types.h symlink Ben Caldwell
@ 2008-03-17  1:06 ` Michael Krufky
  2008-03-17  1:24   ` Ben Caldwell
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Krufky @ 2008-03-17  1:06 UTC (permalink / raw)
  To: Ben Caldwell; +Cc: V4L

Ben Caldwell wrote:
> This is my first post on the v4l list, so hi everyone!
> 
> I just got a warning compiling the latest v4l source from mercurial, there
> was a missing symbol "tuner_count" in "tuner-simple.ko"
> 
> I fixed the problem by adding a symlink in v4l-dvb/v4l:
> 
> *$ ln -s ../linux/include/media/tuner-types.h  tuner-types.h*
> **
> I'm hoping that someone here can check that this is indeed the right thing
> to do and commit a change to the repository for me if it is.

Which module's build produced this warning?  Can you show us the warning?

-Mike


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tuner-types.h symlink
  2008-03-17  1:06 ` Michael Krufky
@ 2008-03-17  1:24   ` Ben Caldwell
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Caldwell @ 2008-03-17  1:24 UTC (permalink / raw)
  To: Michael Krufky; +Cc: V4L

On Mon, Mar 17, 2008 at 10:06 AM, Michael Krufky <mkrufky@linuxtv.org>
wrote:

>
> Which module's build produced this warning?  Can you show us the warning?
>
> Mike,

Here is the output from make with the symlink removed again:

*make -C /home/mythtv/tuner_card_new/v4l-dvb/v4l
make[1]: Entering directory `/home/mythtv/tuner_card_new/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.24.3-12.fc8/build
make -C /lib/modules/2.6.24.3-12.fc8/build
SUBDIRS=/home/mythtv/tuner_card_new/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/kernels/2.6.24.3-12.fc8-x86_64'
  Building modules, stage 2.
  MODPOST 213 modules
WARNING: "tuners" [/home/mythtv/tuner_card_new/v4l-dvb/v4l/tuner-simple.ko]
undefined!
WARNING: "tuner_count" [/home/mythtv/tuner_card_new/v4l-dvb/v4l/tuner-
simple.ko] undefined!
make[2]: Leaving directory `/usr/src/kernels/2.6.24.3-12.fc8-x86_64'
./scripts/rmmod.pl check
found 213 modules
make[1]: Leaving directory `/home/mythtv/tuner_card_new/v4l-dvb/v4l'
*
I found the definition for tuner_count in tuner-types.h, and saw that
tuner-simple.c had an #include "tuner-types.h" so I added the symlink to see
if that helped.
Neither of the two warnings above came up the next time so I assume it did
help.

I've been having troubles with this card only showing one tuner in mythtv
lately, and came across this in my search for a fix.

Ben
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-17  1:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17  1:04 tuner-types.h symlink Ben Caldwell
2008-03-17  1:06 ` Michael Krufky
2008-03-17  1:24   ` Ben Caldwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox