Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: Aldebar 14 Srpna 2010, 10:24:51
-
Ahoj,
snažím se zprovoznit usb tv kartu MSI Digivox II v3.0 (černá) podle návodu na:
http://wiki.ubuntu.cz/MSI%20DigiVox%20mini%20II%20V3.0%20%C4%8Dern%C3%A1
Systém mám UbuntuStudio 8.04
Vše jde normálně dle postupu, až do chvíle, kdy zadám příkaz make.
Vypíše se:
aldebar@Aldebar:~/digivox/v4l-dvb$ make
make -C /home/aldebar/digivox/v4l-dvb/v4l
make[1]: Entering directory `/home/aldebar/digivox/v4l-dvb/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.24
File not found: /lib/modules/2.6.24-28-rt/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: Leaving directory `/home/aldebar/digivox/v4l-dvb/v4l'
make[1]: Entering directory `/home/aldebar/digivox/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.24
File not found: /lib/modules/2.6.24-28-rt/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/aldebar/digivox/v4l-dvb/v4l'
make: *** [all] Error 2
Co s tím?
-
máš nainstalován balík linux-headers-xxx kde xxx je verze tvého jádra...pokud ne, zkus jej nainstalovat přes Synaptic
-
Oki, doinstalováno.
Teď to píše toto:
aldebar@Aldebar:~/digivox/v4l-dvb$ make
make -C /home/aldebar/digivox/v4l-dvb/v4l
make[1]: Entering directory `/home/aldebar/digivox/v4l-dvb/v4l'
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/aldebar/digivox/v4l-dvb/v4l'
make[1]: Entering directory `/home/aldebar/digivox/v4l-dvb/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.24-28-rt/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/aldebar/digivox/v4l-dvb/v4l/firmware'
make[2]: Leaving directory `/home/aldebar/digivox/v4l-dvb/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/aldebar/digivox/v4l-dvb/v4l/firmware'
CC ihex2fw
../../linux/firmware/ihex2fw.c:12:20: error: stdint.h: No such file or directory
../../linux/firmware/ihex2fw.c:13:23: error: arpa/inet.h: No such file or directory
../../linux/firmware/ihex2fw.c:14:19: error: stdio.h: No such file or directory
../../linux/firmware/ihex2fw.c:15:19: error: errno.h: No such file or directory
../../linux/firmware/ihex2fw.c:16:23: error: sys/types.h: No such file or directory
../../linux/firmware/ihex2fw.c:17:22: error: sys/stat.h: No such file or directory
../../linux/firmware/ihex2fw.c:18:22: error: sys/mman.h: No such file or directory
../../linux/firmware/ihex2fw.c:19:19: error: fcntl.h: No such file or directory
../../linux/firmware/ihex2fw.c:20:20: error: string.h: No such file or directory
../../linux/firmware/ihex2fw.c:21:20: error: unistd.h: No such file or directory
../../linux/firmware/ihex2fw.c:22:20: error: stdlib.h: No such file or directory
../../linux/firmware/ihex2fw.c:24:20: error: getopt.h: No such file or directory
../../linux/firmware/ihex2fw.c:29: error: expected specifier-qualifier-list before 'uint32_t'
../../linux/firmware/ihex2fw.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nybble'
../../linux/firmware/ihex2fw.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hex'
../../linux/firmware/ihex2fw.c:52: error: expected ')' before '*' token
../../linux/firmware/ihex2fw.c: In function 'usage':
../../linux/firmware/ihex2fw.c:61: warning: implicit declaration of function 'fprintf'
../../linux/firmware/ihex2fw.c:61: warning: incompatible implicit declaration of built-in function 'fprintf'
../../linux/firmware/ihex2fw.c:61: error: 'stderr' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:61: error: (Each undeclared identifier is reported only once
../../linux/firmware/ihex2fw.c:61: error: for each function it appears in.)
../../linux/firmware/ihex2fw.c: In function 'main':
../../linux/firmware/ihex2fw.c:72: error: storage size of 'st' isn't known
../../linux/firmware/ihex2fw.c:73: error: 'uint8_t' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:73: error: 'data' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:76: warning: implicit declaration of function 'getopt'
../../linux/firmware/ihex2fw.c:89: error: 'optind' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:92: warning: implicit declaration of function 'strcmp'
../../linux/firmware/ihex2fw.c:95: warning: implicit declaration of function 'open'
../../linux/firmware/ihex2fw.c:95: error: 'O_RDONLY' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:97: warning: incompatible implicit declaration of built-in function 'fprintf'
../../linux/firmware/ihex2fw.c:97: error: 'stderr' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:98: warning: implicit declaration of function 'strerror'
../../linux/firmware/ihex2fw.c:98: error: 'errno' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:98: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
../../linux/firmware/ihex2fw.c:101: warning: implicit declaration of function 'fstat'
../../linux/firmware/ihex2fw.c:102: warning: implicit declaration of function 'perror'
../../linux/firmware/ihex2fw.c:105: warning: implicit declaration of function 'mmap'
../../linux/firmware/ihex2fw.c:105: error: 'NULL' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:105: error: 'PROT_READ' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:105: error: 'MAP_SHARED' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:106: error: 'MAP_FAILED' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:114: error: 'O_TRUNC' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:114: error: 'O_CREAT' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:114: error: 'O_WRONLY' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:116: warning: incompatible implicit declaration of built-in function 'fprintf'
../../linux/firmware/ihex2fw.c:117: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
../../linux/firmware/ihex2fw.c:120: warning: implicit declaration of function 'process_ihex'
../../linux/firmware/ihex2fw.c:72: warning: unused variable 'st'
../../linux/firmware/ihex2fw.c: At top level:
../../linux/firmware/ihex2fw.c:127: error: expected ')' before '*' token
../../linux/firmware/ihex2fw.c: In function 'file_record':
../../linux/firmware/ihex2fw.c:244: error: 'struct ihex_binrec' has no member named 'addr'
../../linux/firmware/ihex2fw.c:244: error: 'struct ihex_binrec' has no member named 'addr'
../../linux/firmware/ihex2fw.c: In function 'output_records':
../../linux/firmware/ihex2fw.c:257: error: 'uint16_t' undeclared (first use in this function)
../../linux/firmware/ihex2fw.c:257: error: expected ';' before 'writelen'
../../linux/firmware/ihex2fw.c:259: error: 'struct ihex_binrec' has no member named 'addr'
../../linux/firmware/ihex2fw.c:259: warning: implicit declaration of function 'htonl'
../../linux/firmware/ihex2fw.c:259: error: 'struct ihex_binrec' has no member named 'addr'
../../linux/firmware/ihex2fw.c:260: error: 'struct ihex_binrec' has no member named 'len'
../../linux/firmware/ihex2fw.c:260: warning: implicit declaration of function 'htons'
../../linux/firmware/ihex2fw.c:260: error: 'struct ihex_binrec' has no member named 'len'
../../linux/firmware/ihex2fw.c:261: warning: implicit declaration of function 'write'
../../linux/firmware/ihex2fw.c:261: error: 'struct ihex_binrec' has no member named 'addr'
../../linux/firmware/ihex2fw.c:261: error: 'writelen' undeclared (first use in this function)
make[2]: *** [ihex2fw] Error 1
make[2]: Leaving directory `/home/aldebar/digivox/v4l-dvb/v4l/firmware'
make[1]: *** [firmware] Error 2
make[1]: Leaving directory `/home/aldebar/digivox/v4l-dvb/v4l'
make: *** [all] Error 2