Mä oon aika käsi, mutta yritän parhaani mukaan osallistua tähän kehitystyöhön ja ostin tätä kokeilua varten Reddon.
Valitettavasti ei kiänny toi...
hg clone http://linuxtv.org/hg/~anttip/reddo-dvb-c/
cd reddo-dvb-c/
make
make -C /home/peran/reddo-dvb-c/v4l
make[1]: Siirrytään hakemistoon "/home/peran/reddo-dvb-c/v4l"
No version yet, using 2.6.31-14-generic
make[1]: Poistutaan hakemistosta "/home/peran/reddo-dvb-c/v4l"
make[1]: Siirrytään hakemistoon "/home/peran/reddo-dvb-c/v4l"
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
***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.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Poistutaan hakemistosta "/home/peran/reddo-dvb-c/v4l"
make[1]: Siirrytään hakemistoon "/home/peran/reddo-dvb-c/v4l"
perl scripts/make_config_compat.pl /lib/modules/2.6.31-14-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/peran/reddo-dvb-c/v4l/firmware'
make[2]: Leaving directory `/home/peran/reddo-dvb-c/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/peran/reddo-dvb-c/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/peran/reddo-dvb-c/v4l/firmware'
Kernel build directory is /lib/modules/2.6.31-14-generic/build
make -C /lib/modules/2.6.31-14-generic/build SUBDIRS=/home/peran/reddo-dvb-c/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/peran/reddo-dvb-c/v4l/tuner-xc2028.o
CC [M] /home/peran/reddo-dvb-c/v4l/tuner-simple.o
CC [M] /home/peran/reddo-dvb-c/v4l/tuner-types.o
CC [M] /home/peran/reddo-dvb-c/v4l/mt20xx.o
CC [M] /home/peran/reddo-dvb-c/v4l/tda8290.o
CC [M] /home/peran/reddo-dvb-c/v4l/tea5767.o
CC [M] /home/peran/reddo-dvb-c/v4l/tea5761.o
CC [M] /home/peran/reddo-dvb-c/v4l/tda9887.o
CC [M] /home/peran/reddo-dvb-c/v4l/tda827x.o
CC [M] /home/peran/reddo-dvb-c/v4l/au0828-core.o
CC [M] /home/peran/reddo-dvb-c/v4l/au0828-i2c.o
...
CC [M] /home/peran/reddo-dvb-c/v4l/em28xx-vbi.o
CC [M] /home/peran/reddo-dvb-c/v4l/et61x251_core.o
/home/peran/reddo-dvb-c/v4l/et61x251_core.c: In function 'et61x251_ioctl_v4l2':
/home/peran/reddo-dvb-c/v4l/et61x251_core.c:2493: warning: the frame size of 1256 bytes is larger than 1024 bytes
CC [M] /home/peran/reddo-dvb-c/v4l/et61x251_tas5130d1b.o
CC [M] /home/peran/reddo-dvb-c/v4l/firedtv-avc.o
CC [M] /home/peran/reddo-dvb-c/v4l/firedtv-ci.o
CC [M] /home/peran/reddo-dvb-c/v4l/firedtv-dvb.o
CC [M] /home/peran/reddo-dvb-c/v4l/firedtv-fe.o
CC [M] /home/peran/reddo-dvb-c/v4l/firedtv-1394.o
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:37: warning: 'struct hpsb_iso' declared inside parameter list
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:37: warning: its scope is only this definition or declaration, which is probably not what you want
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:53: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:54: error: implicit declaration of function 'hpsb_iso_n_ready'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:61: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:62: error: implicit declaration of function 'dma_region_i'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:62: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:62: error: expected expression before 'unsigned'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:63: warning: assignment makes pointer from integer without a cast
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:64: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:82: error: implicit declaration of function 'hpsb_iso_recv_release_packets'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'node_of':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:87: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:87: warning: type defaults to 'int' in declaration of '__mptr'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:87: warning: initialization from incompatible pointer type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:87: error: invalid use of undefined type 'struct unit_directory'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'node_lock':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:92: error: implicit declaration of function 'hpsb_node_lock'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:92: error: 'EXTCODE_COMPARE_SWAP' undeclared (first use in this function)
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:92: error: (Each undeclared identifier is reported only once
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:92: error: for each function it appears in.)
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:93: error: 'quadlet_t' undeclared (first use in this function)
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:93: error: expected ')' before 'arg'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'node_read':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:98: error: implicit declaration of function 'hpsb_node_read'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'node_write':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:103: error: implicit declaration of function 'hpsb_node_write'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'start_iso':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:114: error: implicit declaration of function 'hpsb_iso_recv_init'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:114: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:116: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:118: warning: assignment makes pointer from integer without a cast
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:125: error: implicit declaration of function 'hpsb_iso_recv_start'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:128: error: implicit declaration of function 'hpsb_iso_shutdown'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'stop_iso':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:139: error: implicit declaration of function 'hpsb_iso_stop'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: At top level:
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:154: warning: 'struct hpsb_host' declared inside parameter list
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'fcp_request':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:167: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:168: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'node_probe':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:182: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:182: warning: type defaults to 'int' in declaration of '__mptr'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:182: warning: initialization from incompatible pointer type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:182: error: invalid use of undefined type 'struct unit_directory'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:187: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:187: error: 'quadlet_t' undeclared (first use in this function)
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:188: error: implicit declaration of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:188: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:188: warning: assignment makes pointer from integer without a cast
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: At top level:
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:243: warning: 'struct unit_directory' declared inside parameter list
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'node_update':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:245: error: dereferencing pointer to incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: At top level:
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:253: error: variable 'fdtv_driver' has initializer but incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:254: error: unknown field 'name' specified in initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:254: warning: excess elements in struct initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:254: warning: (near initialization for 'fdtv_driver')
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:255: error: unknown field 'update' specified in initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:255: warning: excess elements in struct initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:255: warning: (near initialization for 'fdtv_driver')
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:256: error: unknown field 'driver' specified in initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:256: error: extra brace group at end of initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:256: error: (near initialization for 'fdtv_driver')
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:259: warning: excess elements in struct initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:259: warning: (near initialization for 'fdtv_driver')
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:262: error: variable 'fdtv_highlevel' has initializer but incomplete type
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:263: error: unknown field 'name' specified in initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:263: warning: excess elements in struct initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:263: warning: (near initialization for 'fdtv_highlevel')
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:264: error: unknown field 'fcp_request' specified in initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:264: warning: excess elements in struct initializer
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:264: warning: (near initialization for 'fdtv_highlevel')
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:271: error: implicit declaration of function 'hpsb_register_highlevel'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:272: error: invalid use of undefined type 'struct hpsb_protocol_driver'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:273: error: implicit declaration of function 'hpsb_register_protocol'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:276: error: implicit declaration of function 'hpsb_unregister_highlevel'
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/home/peran/reddo-dvb-c/v4l/firedtv-1394.c:283: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/home/peran/reddo-dvb-c/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/peran/reddo-dvb-c/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[1]: *** [default] Virhe 2
make[1]: Poistutaan hakemistosta "/home/peran/reddo-dvb-c/v4l"
make: *** [all] Virhe 2
Edit - ilmeisesti tarvitaan toi full kernel source, jotta kiäntyy.
Edit - sain ajettua siten, ettei herjaa full kernelistä, mutta ei käänny kuiteskaan. dma.h - ainakin on hukassa.