Nie potrafie skompilować pakietu Multiproto.

Tylko tematy nie mieszczące się powyżej.
Haspet
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 20 paź 2007, 12:18
Płeć: Mężczyzna
Wersja Ubuntu: 12.10
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Nie potrafie skompilować pakietu Multiproto.

Post autor: Haspet »

Niedawno znalazłem sterowniki do mojej karty telewizyjnej, które sa własnie w tym pakiecie. Ale, że jestem poczatkujący mam problem z poprawnym skompilowaniem. Więc napisze co robi. Być może ktoś mi pokaże jak poprawnie powinienem to zrobić.

1. Pakiet sciągam z http://www.jusst.de/hg/multiproto
2. Rozpakowuje do katalogu domowego i w uruchamiam terminal
3. W terminalu wpisuję make i make install, ponieważ tak znalazłem w instrukcji:
To compile both v4l and dvb, just do:
make

To install over kernel's old files:
make install
4. W konsoli wykonuje:

Kod: Zaznacz cały

haspet@haspet-desktop:~/multiproto-fbcc9fa65f56$ sudo make
make -C /home/haspet/multiproto-fbcc9fa65f56/v4l 
make[1]: Wejście do katalogu `/home/haspet/multiproto-fbcc9fa65f56/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.24

***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_PLANB: Requires at least kernel 2.6.99
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Opuszczenie katalogu `/home/haspet/multiproto-fbcc9fa65f56/v4l'
make[1]: Wejście do katalogu `/home/haspet/multiproto-fbcc9fa65f56/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.24-18-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
Kernel build directory is /lib/modules/2.6.24-18-generic/build
make -C /lib/modules/2.6.24-18-generic/build SUBDIRS=/home/haspet/multiproto-fbcc9fa65f56/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-pci.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-usb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-fe-tuner.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-i2c.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-sram.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-eeprom.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-misc.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-hw-filter.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/flexcop-dma.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-driver.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-cards.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-if.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-risc.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-vbi.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-i2c.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-gpio.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-input.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/bttv-audio-hook.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cpia2_v4l.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cpia2_usb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cpia2_core.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx23885-cards.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx23885-video.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx23885-vbi.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx23885-core.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx23885-i2c.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx23885-dvb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx25840-core.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx25840-audio.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx25840-firmware.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx25840-vbi.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-video.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-vbi.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-mpeg.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-cards.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-core.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-i2c.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-tvaudio.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cx88-input.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvbdev.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dmxdev.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_demux.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_filter.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_ca_en50221.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_frontend.o
/home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_frontend.c: In function 'dvb_frontend_thread':
/home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_frontend.c:1126: warning: unused variable 'status'
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_net.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_ringbuffer.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb_math.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110_hw.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110_v4l.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110_av.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110_ca.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110_ipack.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/av7110_ir.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/a800.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/af9005-remote.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/af9005.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/af9005-fe.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/au6610.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/cxusb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dib0700_core.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dib0700_devices.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dibusb-common.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dibusb-mb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dibusb-mc.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/digitv.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dtt200u.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dtt200u-fe.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/gl861.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/gp8psk.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/gp8psk-fe.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/m920x.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/nova-t-usb2.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/opera1.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/ttusb2.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/umt-010.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/vp702x.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/vp702x-fe.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/vp7045.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/vp7045-fe.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb-usb-firmware.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb-usb-init.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb-usb-urb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb-usb-i2c.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb-usb-dvb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/dvb-usb-remote.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/usb-urb.o
  CC [M]  /home/haspet/multiproto-fbcc9fa65f56/v4l/em28xx-audio.o
In file included from /home/haspet/multiproto-fbcc9fa65f56/v4l/em28xx-audio.c:39:
include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in a function)
/home/haspet/multiproto-fbcc9fa65f56/v4l/em28xx-audio.c:58: error: array index in initializer not of integer type
/home/haspet/multiproto-fbcc9fa65f56/v4l/em28xx-audio.c:58: error: (near initialization for 'index')
make[3]: *** [/home/haspet/multiproto-fbcc9fa65f56/v4l/em28xx-audio.o] Error 1
make[2]: *** [_module_/home/haspet/multiproto-fbcc9fa65f56/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'
make[1]: *** [default] Błąd 2
make[1]: Opuszczenie katalogu `/home/haspet/multiproto-fbcc9fa65f56/v4l'
make: *** [all] Błąd 2
5. A następnie sudo make install (i tutaj jest problem)

Kod: Zaznacz cały

haspet@haspet-desktop:~/multiproto-fbcc9fa65f56$ sudo make install
make -C /home/haspet/multiproto-fbcc9fa65f56/v4l install
make[1]: Wejście do katalogu `/home/haspet/multiproto-fbcc9fa65f56/v4l'
Stripping debug info from files
Usage: strip <option(s)> in-file(s)
 Removes symbols and sections from files
 The options are:
  -I --input-target=<bfdname>      Assume input file is in format <bfdname>
  -O --output-target=<bfdname>     Create an output file in format <bfdname>
  -F --target=<bfdname>            Set both input and output format to <bfdname>
  -p --preserve-dates              Copy modified/access timestamps to the output
  -R --remove-section=<name>       Remove section <name> from the output
  -s --strip-all                   Remove all symbol and relocation information
  -g -S -d --strip-debug           Remove all debugging symbols & sections
     --strip-unneeded              Remove all symbols not needed by relocations
     --only-keep-debug             Strip everything but the debug information
  -N --strip-symbol=<name>         Do not copy symbol <name>
  -K --keep-symbol=<name>          Do not strip symbol <name>
     --keep-file-symbols           Do not strip file symbol(s)
  -w --wildcard                    Permit wildcard in symbol comparison
  -x --discard-all                 Remove all non-global symbols
  -X --discard-locals              Remove any compiler-generated symbols
  -v --verbose                     List all object files modified
  -V --version                     Display this program's version number
  -h --help                        Display this output
     --info                        List object formats & architectures supported
  -o <file>                        Place stripped output into <file>
strip: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big elf64-x86-64 efi-app-x86_64 elf64-little elf64-big srec symbolsrec tekhex binary ihex trad-core
make[1]: *** [media-install] Błąd 1
make[1]: Opuszczenie katalogu `/home/haspet/multiproto-fbcc9fa65f56/v4l'
make: *** [install] Błąd 2
Nie wiem jak to zainstalować, a w pakiecie widze driver dla b2c2 flexcop, a taki chipset ma moja karta telewizyjna.
adnix
Sędziwy Jeż
Sędziwy Jeż
Posty: 37
Rejestracja: 10 paź 2006, 16:40
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86

Odp: Nie potrafie skompilować pakietu Multiproto.

Post autor: adnix »

wyraźnie jest na początku napisane, że nie masz źródeł jądra.
zainstaluj pakiet kernel-sources
jid: adnix na jabber.org
adnix.wordpress.com
Awatar użytkownika
Gasiu
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 243
Rejestracja: 07 sie 2006, 10:14
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Środowisko graficzne: KDE Plasma
Architektura: x86_64
Kontakt:

Odp: Nie potrafie skompilować pakietu Multiproto.

Post autor: Gasiu »

Pozdrawiam!
Gasiu
ODPOWIEDZ

Wróć do „Inne”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 3 gości