Markus Rechberger wrote:
> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote:
>> Markus Rechberger wrote:
>>> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote:
>>>> Markus Rechberger wrote:
>>>>> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote:
>>>>>> Markus Rechberger wrote:
>>>>>>> On 2/28/08, Jelle de Jong <[EMAIL PROTECTED]> wrote:
>>>>>>>> This message contains the following attachment(s):
>>>>>>>> Pinnacle PCTV Hybrid Pro Stick 330e.txt
>>>>>>>>
>>>>>>>> Spent my hole day trying to get a dvd-t device up and running, this
>> is
>>>>>>>> device number two I tried.
>>>>>>>>
>>>>>>>> Can somebody please tell me how to get this device working on:
>>>>>>>>
>>>>>>>> 2.6.24-1-686 debian sid and 2.6.22-14-generic ubuntu
>>>>>>>>
>>>>>>>> I have to get some sleep now, because this is getting on my health
>> and
>>>>>>>> that does not happen often....
>>>>>>>>
>>>>>>> Jelle, it's really easy to install it actually.
>>>>>>> http://www.mail-archive.com/em28xx%40mcentral.de/msg00750.html
>>>>>>>
>>>>>>> this is the correct "howto" for it.
>>>>>>>
>>>>>>> You need the linux kernel sources for your kernel, if you experience
>>>>>>> any problems just post them to the em28xx ML.
>>>>>>>
>>>>>>> Markus
>>>>>> Hi Markus,
>>>>>>
>>>>>> I tried that two times,
>>>>>>
>>>>>> The seconds build blows up in my face, I need specified dependecies to
>>>>>> be able to compile the seconds driver...
>>>>>>
>>>>> there are not so many dependencies, just submit the errors you get.
>>>>>
>>>>> Markus
>>>> Here you go, lets see I will try it for 40 more minutes with your help
>>>>
>>> [EMAIL PROTECTED]:~$ hg clone
>> http://mcentral.de/hg/~mrec/em28xx-userspace2
>>> destination directory: em28xx-userspace2
>>> requesting all changes
>>> adding changesets
>>> adding manifests
>>> adding file changes
>>> added 21 changesets with 65 changes to 20 files
>>> 18 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>> [EMAIL PROTECTED]:~$ cd em28xx-userspace2
>>> [EMAIL PROTECTED]:~/em28xx-userspace2$ sudo ./build.sh
>>> if [ -f ../userspace-drivers/kernel/Module.symvers ]; then \
>>> grep v4l_dvb_stub_attach
>>> ../userspace-drivers/kernel/Module.symvers > Module.symvers; \
>>> fi
>>> make -C /lib/modules/2.6.22-14-generic/build
>>> SUBDIRS=/home/jelle/em28xx-userspace2 modules
>>> make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
>>> CC [M] /home/jelle/em28xx-userspace2/em2880-dvb.o
>>> In file included from /home/jelle/em28xx-userspace2/em2880-dvb.c:33:
>>> /home/jelle/em28xx-userspace2/em28xx.h:33:20: error: dmxdev.h: No
>>> such file or directory
>>> /home/jelle/em28xx-userspace2/em28xx.h:34:23: error: dvb_demux.h: No
>>> such file or directory
>>> /home/jelle/em28xx-userspace2/em28xx.h:35:21: error: dvb_net.h: No
>>> such file or directory
>>> /home/jelle/em28xx-userspace2/em28xx.h:36:26: error: dvb_frontend.h:
>>> No such file or directory
>>>
>>> there we go, the linux kernel sources aren't installed for your system.
>>>
>>> apt-get install linux-source linux-headers-`uname -r`
>>>
>>> I'm not sure if the kernel sources are decompressed in /usr/src you
>>> might have a look at it.
>>>
>>> /lib/modules/`uname -r`/build should be a symlink to the root of the
>>> extracted kernelsources.
>>>
>>> the root of your kernelsources should also contain a .config file.
>>>
>>> You can find the config file for your current kernel in /boot
>>>
>>> /boot/config-`uname -r`
>>>
>>> copy this file to the kernelroot and rename it to ".config"
>>>
>>> Markus
>> sudo apt-get install linux-source linux-headers-`uname -r`
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> linux-source is already the newest version.
>> linux-headers-2.6.22-14-generic is already the newest version.
>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> [EMAIL PROTECTED]:~/em28xx-userspace2$ ls -hal /lib/modules/`uname
>> -r`/build
>> lrwxrwxrwx 1 root root 40 2007-10-21 18:19
>> /lib/modules/2.6.22-14-generic/build ->
>> /usr/src/linux-headers-2.6.22-14-generic
>> [EMAIL PROTECTED]:~/em28xx-userspace2$ /boot/config-`uname -r`
>> bash: /boot/config-2.6.22-14-generic: Permission denied
>> [EMAIL PROTECTED]:~/em28xx-userspace2$ sudo /boot/config-`uname -r`
>> sudo: /boot/config-2.6.22-14-generic: command not found
>> [EMAIL PROTECTED]:~/em28xx-userspace2$ sudo ls /boot/config-`uname -r`
>> /boot/config-2.6.22-14-generic
>> [EMAIL PROTECTED]:~/em28xx-userspace2$
>>
>> sudo cp --verbose /boot/config-2.6.22-14-generic /usr/src/linux/.config
>> `/boot/config-2.6.22-14-generic' -> `/usr/src/linux/.config'
>>
>>
>> still all the same problems !
>>
> 
> it's just one problem actually, the kernel sources aren't installed or
> not installed correctly.
> 
> You need to have
> 
> /usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h
> /usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
> /usr/src/linux/drivers/media/dvb/dvb-core/dvb_demux.h
> /usr/src/linux/drivers/media/dvb/dvb-core/dvb_net.h
> 
> those are part of the ubuntu linux source package.
> 
> look up the source package for 2.6.22 with apt-cache
> apt-cache search linux-source | grep -i 2.6.22 or something like that
> and install it.
> 
> Markus

I did a complete clean-up of the system tried again checked the 
directory's, but it stills fails, are you sure there is noting wrong 
with the install scripts?


ls /usr/src/linux-headers-2.6.22-14-generic
arch   crypto         drivers  include  ipc     kernel  Makefile 
Module.symvers  scripts   sound
block  Documentation  fs       init     Kbuild  lib     mm        net 
           security  usr

[EMAIL PROTECTED]:~/em28xx-userspace2$ sudo ./build.sh
if [ -f ../userspace-drivers/kernel/Module.symvers ]; then \
         grep v4l_dvb_stub_attach 
../userspace-drivers/kernel/Module.symvers > Module.symvers; \
         fi
make -C /lib/modules/2.6.22-14-generic/build 
SUBDIRS=/home/jelle/em28xx-userspace2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2






_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to