Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: v4l-dvb do ubu 12.04.2  (Přečteno 1766 krát)

Honza Bouma

  • Aktivní člen
  • *
  • Příspěvků: 272
v4l-dvb do ubu 12.04.2
« kdy: 10 Dubna 2013, 21:46:17 »
Zdravím, jak dostat do ubu s kernelem 3.5 v4l-dvb? Stáhl jsem si balík odtud:http://linuxtv.org/hg/v4l-dvb soubor zip.. rozbalil.. a při příkazu make a následně sudo make install mi to vyhodilo tohle:
Kód: [Vybrat]
honza@Jbouma-NT:~/V4L$ make
make -C /home/honza/V4L/v4l
make[1]: Entering directory `/home/honza/V4L/v4l'
No version yet, using 3.5.0-27-generic
make[1]: Leaving directory `/home/honza/V4L/v4l'
make[1]: Entering directory `/home/honza/V4L/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.5.0

***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.

WARNING: You're using an obsolete driver! You shouldn't be using it!
If you want anything new, you can use:
http://git.linuxtv.org/media_build.git.
The tree is still here just to preserve the development history.
You've been warned.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/honza/V4L/v4l'
make[1]: Entering directory `/home/honza/V4L/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.5.0-27-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/honza/V4L/v4l/firmware'
make[2]: Leaving directory `/home/honza/V4L/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/honza/V4L/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/honza/V4L/v4l/firmware'
Kernel build directory is /lib/modules/3.5.0-27-generic/build
make -C /lib/modules/3.5.0-27-generic/build SUBDIRS=/home/honza/V4L/v4l CFLAGS="-I../linux/include -D__KERNEL__ -I/include -DEXPORT_SYMTAB" modules
make[2]: Entering directory `/usr/src/linux-headers-3.5.0-27-generic'
  CC [M]  /home/honza/V4L/v4l/tuner-xc2028.o
In file included from /home/honza/V4L/v4l/tuner-xc2028.h:10:0,
                 from /home/honza/V4L/v4l/tuner-xc2028.c:22:
/home/honza/V4L/v4l/dvb_frontend.h:49:33: error: field 'parameters' has incomplete type
/home/honza/V4L/v4l/dvb_frontend.h:313:28: error: array type has incomplete element type
/home/honza/V4L/v4l/tuner-xc2028.c: In function 'xc2028_set_params':
/home/honza/V4L/v4l/tuner-xc2028.c:1081:2: error: unknown type name 'fe_bandwidth_t'
/home/honza/V4L/v4l/tuner-xc2028.c:1081:26: error: 'BANDWIDTH_8_MHZ' undeclared (first use in this function)
/home/honza/V4L/v4l/tuner-xc2028.c:1081:26: note: each undeclared identifier is reported only once for each function it appears in
/home/honza/V4L/v4l/tuner-xc2028.c:1088:9: error: dereferencing pointer to incomplete type
/home/honza/V4L/v4l/tuner-xc2028.c:1094:13: error: 'BANDWIDTH_6_MHZ' undeclared (first use in this function)
/home/honza/V4L/v4l/tuner-xc2028.c:1109:8: error: dereferencing pointer to incomplete type
/home/honza/V4L/v4l/tuner-xc2028.c:1116:7: error: 'BANDWIDTH_7_MHZ' undeclared (first use in this function)
/home/honza/V4L/v4l/tuner-xc2028.c:1117:8: error: dereferencing pointer to incomplete type
/home/honza/V4L/v4l/tuner-xc2028.c:1177:31: error: dereferencing pointer to incomplete type
/home/honza/V4L/v4l/tuner-xc2028.c:1178:5: error: 'T_DIGITAL_TV' undeclared (first use in this function)
/home/honza/V4L/v4l/tuner-xc2028.c:1179:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [/home/honza/V4L/v4l/tuner-xc2028.o] Error 1
make[2]: *** [_module_/home/honza/V4L/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.5.0-27-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/honza/V4L/v4l'
make: *** [all] Error 2
honza@Jbouma-NT:~/V4L$ sudo make install
[sudo] password for honza:
make -C /home/honza/V4L/v4l install
make[1]: Entering directory `/home/honza/V4L/v4l'
-e
Removing obsolete files from /lib/modules/3.5.0-27-generic/kernel/drivers/media/video:

-e
Removing obsolete files from /lib/modules/3.5.0-27-generic/kernel/drivers/media/dvb/cinergyT2:

-e
Removing obsolete files from /lib/modules/3.5.0-27-generic/kernel/drivers/media/common:

-e
Removing obsolete files from /lib/modules/3.5.0-27-generic/kernel/drivers/media/dvb/frontends:

Installing kernel modules under /lib/modules/3.5.0-27-generic/kernel/drivers/media/:
/sbin/depmod -a 3.5.0-27-generic
make -C firmware install
make[2]: Entering directory `/home/honza/V4L/v4l/firmware'
Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory `/home/honza/V4L/v4l/firmware'
make[1]: Leaving directory `/home/honza/V4L/v4l'
Kde je problém? Děkuju moc za pomoc

Roman Vacho

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 6347
Re:v4l-dvb do ubu 12.04.2
« Odpověď #1 kdy: 10 Dubna 2013, 22:40:14 »
A funguje?
Vyřešená vlákna je vhodné uzavřít "Topic Solved" dole pod vláknem.

Prosím označit text kódu v editoru # pro lepší formátování textu případného výpisu. Děkuji.

Honza Bouma

  • Aktivní člen
  • *
  • Příspěvků: 272
Re:v4l-dvb do ubu 12.04.2
« Odpověď #2 kdy: 15 Dubna 2013, 21:39:20 »
Ne,jinak bych se neptal:-D
Jak to tedy, prosím nainstalovat?

sabraq

  • Závislák
  • ***
  • Příspěvků: 3597
  • Bootloader-není téma k hovoru,ani zbytný prostor
Re:v4l-dvb do ubu 12.04.2
« Odpověď #3 kdy: 15 Dubna 2013, 22:21:41 »
Ne,jinak bych se neptal:-D
Jak to tedy, prosím nainstalovat?
Vždyť ti to tam řve.

Kód: [Vybrat]
***WARNING:*** You do not have the full kernel sources installed.
Obyčejně je tam někde i README s popisem toho, co to chce. V tomto případě ti chybí zdrojáky jádra.

EDIT:
Jestli se nepletu, tak balíky kernel-headers-3.5-* a kernel-source-3.5, verze podle jádra na kterým běžíš.
« Poslední změna: 15 Dubna 2013, 22:31:39 od sabraq »
PP v kolečku - není licence,pouze upozornění na reklamu
"Dress code" - oblečení podle předpisu(ne kódované oblečení)
CC v kolečku - je licence,značí,že se někdo nesmírně snaží

Roman Vacho

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 6347
Re:v4l-dvb do ubu 12.04.2
« Odpověď #4 kdy: 16 Dubna 2013, 07:35:28 »
A funguje?
headers.. halvičky většinou stačí. Ptal jsem se proto, že nějaká kompilace proběhla-dle výpisu. Pokud by to nešlo ani po headers a ani s source, tak zkompilovat i novější ovladač.
Vyřešená vlákna je vhodné uzavřít "Topic Solved" dole pod vláknem.

Prosím označit text kódu v editoru # pro lepší formátování textu případného výpisu. Děkuji.

Honza Bouma

  • Aktivní člen
  • *
  • Příspěvků: 272
Re:v4l-dvb do ubu 12.04.2
« Odpověď #5 kdy: 16 Dubna 2013, 14:58:48 »
prosím..prosím..krok po kroku..asi jsem na to blbej..:-(

 

Provoz zaštiťuje spolek OpenAlt.