public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory
@ 2011-03-07 19:01 Me
  2011-03-07 21:57 ` Jarod Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Me @ 2011-03-07 19:01 UTC (permalink / raw)
  To: linux-media

 I had MythTV .23 up and running fine on Mythbuntu 10.10 and then
hosed it.  I reinstalled it, and since then I can't get the drivers
for my Haupphauge 2250 to compile on kernel 2.6.35-22-generic.  When I
figured it out last time I put it in a text file.  Heres what I have
done.  I have since updated to MythTV .24 and the problem persists.


wget http://www.steventoth.net/linux/hvr22xx/22xxdrv_27086.zip
wget http://www.steventoth.net/linux/hvr22xx/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
wget http://www.steventoth.net/linux/hvr22xx/extract.sh
sh extract.sh
sudo cp *fw /lib/firmware

git clone git://linuxtv.org/media_build.git
cd media_build
./build.sh
sudo make install

The first time it breaks, this is expected.  I edit v4l/.config and
change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n

I compile again, and it should work.  But it breaks.  Heres the message I get.

make[2]: Leaving directory `/path/media_build/linux'
make -C /lib/modules/2.6.35-22-generic/build
SUBDIRS=/path/media_build/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
 CC [M]  /path/media_build/v4l/fmdrv_common.o
/path/media_build/v4l/fmdrv_common.c:41: fatal error:
linux/ti_wilink_st.h: No such file or directory
compilation terminated.
make[3]: *** [/path/media_build/v4l/fmdrv_common.o] Error 1
make[2]: *** [_module_/path/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/path/media_build/v4l'
make: *** [all] Error 2

Why does it break?  Thanks.

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

* Re: Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory
  2011-03-07 19:01 Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory Me
@ 2011-03-07 21:57 ` Jarod Wilson
       [not found]   ` <AANLkTim52X9Y=BpGi9fjiNy1hGgVRNdRjwYWPkNDTRBU@mail.gmail.com>
  2011-03-07 23:22   ` Scott
  0 siblings, 2 replies; 5+ messages in thread
From: Jarod Wilson @ 2011-03-07 21:57 UTC (permalink / raw)
  To: Me; +Cc: linux-media

On Mar 7, 2011, at 2:01 PM, Me wrote:

> I had MythTV .23 up and running fine on Mythbuntu 10.10 and then
> hosed it.  I reinstalled it, and since then I can't get the drivers
> for my Haupphauge 2250 to compile on kernel 2.6.35-22-generic.  When I
> figured it out last time I put it in a text file.  Heres what I have
> done.  I have since updated to MythTV .24 and the problem persists.
> 
> 
> wget http://www.steventoth.net/linux/hvr22xx/22xxdrv_27086.zip
> wget http://www.steventoth.net/linux/hvr22xx/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
> wget http://www.steventoth.net/linux/hvr22xx/extract.sh
> sh extract.sh
> sudo cp *fw /lib/firmware
> 
> git clone git://linuxtv.org/media_build.git
> cd media_build
> ./build.sh
> sudo make install
> 
> The first time it breaks, this is expected.  I edit v4l/.config and
> change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
> 
> I compile again, and it should work.  But it breaks.  Heres the message I get.
> 
> make[2]: Leaving directory `/path/media_build/linux'
> make -C /lib/modules/2.6.35-22-generic/build
> SUBDIRS=/path/media_build/v4l  modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
> CC [M]  /path/media_build/v4l/fmdrv_common.o
> /path/media_build/v4l/fmdrv_common.c:41: fatal error:
> linux/ti_wilink_st.h: No such file or directory
> compilation terminated.
> make[3]: *** [/path/media_build/v4l/fmdrv_common.o] Error 1
> make[2]: *** [_module_/path/media_build/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/path/media_build/v4l'
> make: *** [all] Error 2
> 
> Why does it break?  Thanks.

Hans Verkuil pushed the fix for this to the media_build tree this
morning. From looking at it, you'll need to get a fresh tarfile
in linux/.

http://git.linuxtv.org/media_build.git?a=commitdiff;h=bb1da6b26bc9d44182ec0cfd9ed2b0e04e3cbec0

-- 
Jarod Wilson
jarod@wilsonet.com




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

* Re: Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory
       [not found]   ` <AANLkTim52X9Y=BpGi9fjiNy1hGgVRNdRjwYWPkNDTRBU@mail.gmail.com>
@ 2011-03-07 23:17     ` Jarod Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: Jarod Wilson @ 2011-03-07 23:17 UTC (permalink / raw)
  To: Me; +Cc: Linux Media Mailing List

Please keep your replies on the mailing list.


On Mar 7, 2011, at 6:00 PM, Me wrote:

>  Same problem.  I purged both  linux-headers-2.6.35-27-generic,
> linux-source-2.6.35, then reinstalled them, and did an apt-get
> update/upgrade.  I then deleted media_build and ran...
> 
> git clone git://linuxtv.org/media_build.git
> cd media_build
> ./build.sh
> Compile breaks
> vi vrl/.config changed CONFIG_DVB_FIREDTV=m to =n
> ./build.sh
> 
> ...same problem.  Did I miss anything?

Looks like the linux-media.tar.bz2 file that build.sh downloads
needs to be updated to include the header still. Hans' change
makes it so that will happen, but it hasn't yet. I suspect it'll
get updated soon though. If you're impatient, just clone media_tree
and within media_build/linux, do a 'make tar DIR=path/to/media_tree'
and you can create your own.



>> Mar 7, 2011 at 3:57 PM, Jarod Wilson <jarod@wilsonet.com> wrote:
>> On Mar 7, 2011, at 2:01 PM, Me wrote:
>> 
>>> I had MythTV .23 up and running fine on Mythbuntu 10.10 and then
>>> hosed it.  I reinstalled it, and since then I can't get the drivers
>>> for my Haupphauge 2250 to compile on kernel 2.6.35-22-generic.  When I
>>> figured it out last time I put it in a text file.  Heres what I have
>>> done.  I have since updated to MythTV .24 and the problem persists.
>>> 
>>> 
>>> wget http://www.steventoth.net/linux/hvr22xx/22xxdrv_27086.zip
>>> wget http://www.steventoth.net/linux/hvr22xx/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
>>> wget http://www.steventoth.net/linux/hvr22xx/extract.sh
>>> sh extract.sh
>>> sudo cp *fw /lib/firmware
>>> 
>>> git clone git://linuxtv.org/media_build.git
>>> cd media_build
>>> ./build.sh
>>> sudo make install
>>> 
>>> The first time it breaks, this is expected.  I edit v4l/.config and
>>> change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
>>> 
>>> I compile again, and it should work.  But it breaks.  Heres the message I get.
>>> 
>>> make[2]: Leaving directory `/path/media_build/linux'
>>> make -C /lib/modules/2.6.35-22-generic/build
>>> SUBDIRS=/path/media_build/v4l  modules
>>> make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
>>> CC [M]  /path/media_build/v4l/fmdrv_common.o
>>> /path/media_build/v4l/fmdrv_common.c:41: fatal error:
>>> linux/ti_wilink_st.h: No such file or directory
>>> compilation terminated.
>>> make[3]: *** [/path/media_build/v4l/fmdrv_common.o] Error 1
>>> make[2]: *** [_module_/path/media_build/v4l] Error 2
>>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
>>> make[1]: *** [default] Error 2
>>> make[1]: Leaving directory `/path/media_build/v4l'
>>> make: *** [all] Error 2
>>> 
>>> Why does it break?  Thanks.
>> 
>> Hans Verkuil pushed the fix for this to the media_build tree this
>> morning. From looking at it, you'll need to get a fresh tarfile
>> in linux/.
>> 
>> http://git.linuxtv.org/media_build.git?a=commitdiff;h=bb1da6b26bc9d44182ec0cfd9ed2b0e04e3cbec0
>> 
>> --
>> Jarod Wilson
>> jarod@wilsonet.com
>> 
>> 
>> 
>> 

-- 
Jarod Wilson
jarod@wilsonet.com




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

* Re: Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory
  2011-03-07 21:57 ` Jarod Wilson
       [not found]   ` <AANLkTim52X9Y=BpGi9fjiNy1hGgVRNdRjwYWPkNDTRBU@mail.gmail.com>
@ 2011-03-07 23:22   ` Scott
  2011-03-08  7:51     ` Steffen Barszus
  1 sibling, 1 reply; 5+ messages in thread
From: Scott @ 2011-03-07 23:22 UTC (permalink / raw)
  To: linux-media


  Same problem.  I purged both  linux-headers-2.6.35-27-generic,
linux-source-2.6.35, then reinstalled them, and did an apt-get
update/upgrade.  I then deleted media_build and ran...

git clone git://linuxtv.org/media_build.git
cd media_build
./build.sh
Compile breaks
vi vrl/.config changed CONFIG_DVB_FIREDTV=m to =n
./build.sh

...same problem.  Did I miss anything?

On Mar 7, 2011, at 3:57 PM, Jarod Wilson wrote:

> On Mar 7, 2011, at 2:01 PM, Me wrote:
> 
>> I had MythTV .23 up and running fine on Mythbuntu 10.10 and then
>> hosed it.  I reinstalled it, and since then I can't get the drivers
>> for my Haupphauge 2250 to compile on kernel 2.6.35-22-generic.  When I
>> figured it out last time I put it in a text file.  Heres what I have
>> done.  I have since updated to MythTV .24 and the problem persists.
>> 
>> 
>> wget http://www.steventoth.net/linux/hvr22xx/22xxdrv_27086.zip
>> wget http://www.steventoth.net/linux/hvr22xx/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
>> wget http://www.steventoth.net/linux/hvr22xx/extract.sh
>> sh extract.sh
>> sudo cp *fw /lib/firmware
>> 
>> git clone git://linuxtv.org/media_build.git
>> cd media_build
>> ./build.sh
>> sudo make install
>> 
>> The first time it breaks, this is expected.  I edit v4l/.config and
>> change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
>> 
>> I compile again, and it should work.  But it breaks.  Heres the message I get.
>> 
>> make[2]: Leaving directory `/path/media_build/linux'
>> make -C /lib/modules/2.6.35-22-generic/build
>> SUBDIRS=/path/media_build/v4l  modules
>> make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
>> CC [M]  /path/media_build/v4l/fmdrv_common.o
>> /path/media_build/v4l/fmdrv_common.c:41: fatal error:
>> linux/ti_wilink_st.h: No such file or directory
>> compilation terminated.
>> make[3]: *** [/path/media_build/v4l/fmdrv_common.o] Error 1
>> make[2]: *** [_module_/path/media_build/v4l] Error 2
>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
>> make[1]: *** [default] Error 2
>> make[1]: Leaving directory `/path/media_build/v4l'
>> make: *** [all] Error 2
>> 
>> Why does it break?  Thanks.
> 
> Hans Verkuil pushed the fix for this to the media_build tree this
> morning. From looking at it, you'll need to get a fresh tarfile
> in linux/.
> 
> http://git.linuxtv.org/media_build.git?a=commitdiff;h=bb1da6b26bc9d44182ec0cfd9ed2b0e04e3cbec0
> 
> -- 
> Jarod Wilson
> jarod@wilsonet.com
> 
> 
> 


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

* Re: Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory
  2011-03-07 23:22   ` Scott
@ 2011-03-08  7:51     ` Steffen Barszus
  0 siblings, 0 replies; 5+ messages in thread
From: Steffen Barszus @ 2011-03-08  7:51 UTC (permalink / raw)
  To: Scott; +Cc: linux-media

On Mon, 7 Mar 2011 17:22:39 -0600
Scott <igetmyemailhere@gmail.com> wrote:

> 
>   Same problem.  I purged both  linux-headers-2.6.35-27-generic,
> linux-source-2.6.35, then reinstalled them, and did an apt-get
> update/upgrade.  I then deleted media_build and ran...

linux-headers should be enough, no need for linux-source, and you need
never both IMHO.

> git clone git://linuxtv.org/media_build.git
> cd media_build
> ./build.sh
> Compile breaks
> vi vrl/.config changed CONFIG_DVB_FIREDTV=m to =n

should not be necessary anymore, at least its not needed here. 

> ./build.sh

You might want to try my dkms package - not sure if it works on
maverick (its build on/for lucid) - but in theory it should (except
if the number of modules differs for different kernel). 
If not you get atleast the latest source which compiles fine here. 

https://launchpad.net/~yavdr/+archive/testing-vdr/+packages?field.name_filter=v4l-dvb-dkms&field.status_filter=published&field.series_filter=

Just uploaded new version with media_build and media_tree as of now. 

Let me know if it works.

Steffen

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

end of thread, other threads:[~2011-03-08  7:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-07 19:01 Compiling v4l fatal error: linux/ti_wilink_st.h: No such file or directory Me
2011-03-07 21:57 ` Jarod Wilson
     [not found]   ` <AANLkTim52X9Y=BpGi9fjiNy1hGgVRNdRjwYWPkNDTRBU@mail.gmail.com>
2011-03-07 23:17     ` Jarod Wilson
2011-03-07 23:22   ` Scott
2011-03-08  7:51     ` Steffen Barszus

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