I just upgraded my Ubuntu system to latest kernel 2.6.24-18-generic. I attempted to run the ./build.sh script from the cloned directory from http://mcentral.de/hg/~mrec/em28xx-new. The following is the output from the ./build.sh build command.. Any idea why I'm getting so many errors??
[EMAIL PROTECTED]:~/em28xx-new$ sudo ./build.sh build [sudo] password for luis: make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/cx25843 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/cx25843/em28xx-cx25843.mod.o LD [M] /home/luis/em28xx-new/cx25843/em28xx-cx25843.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/drx3973d modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' CC [M] /home/luis/em28xx-new/drx3973d/drx3973d_demod.o In file included from /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:31: /home/luis/em28xx-new/drx3973d/drx3973d_demod.h:5:26: error: dvb_frontend.h: No such file or directory In file included from /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:31: /home/luis/em28xx-new/drx3973d/drx3973d_demod.h:9: error: field 'frontend' has incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.h:17: error: field 'bandwidth' has incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_single_write': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:218: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: error: variable 'msg' has initializer but incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: error: unknown field 'addr' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: warning: (near initialization for 'msg') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: error: unknown field 'flags' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: warning: (near initialization for 'msg') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:221: error: unknown field 'buf' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:221: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:221: warning: (near initialization for 'msg') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:221: error: unknown field 'len' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:221: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:221: warning: (near initialization for 'msg') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: error: storage size of 'msg' isn't known /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:222: error: implicit declaration of function 'i2c_transfer' /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:220: warning: unused variable 'msg' /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: At top level: /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:272: warning: 'struct dvb_frontend_parameters' declared inside parameter list /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:272: warning: its scope is only this definition or declaration, which is probably not what you want /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_set_parameters': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:274: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:288: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:289: error: 'BANDWIDTH_6_MHZ' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:289: error: (Each undeclared identifier is reported only once /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:289: error: for each function it appears in.) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:292: error: 'BANDWIDTH_7_MHZ' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:295: error: 'BANDWIDTH_8_MHZ' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:302: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:304: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:305: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: At top level: /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:313: warning: 'struct dvb_frontend_parameters' declared inside parameter list /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:318: error: expected declaration specifiers or '...' before 'fe_status_t' /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_read_status': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:320: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:325: error: 'status' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:347: error: 'FE_HAS_CARRIER' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:349: error: 'FE_HAS_VITERBI' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:350: error: 'FE_HAS_LOCK' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:351: error: 'FE_HAS_SYNC' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:353: error: 'FE_HAS_SIGNAL' undeclared (first use in this function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_read_signal_strength': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:367: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: At top level: /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:390: warning: 'struct dvb_frontend_tune_settings' declared inside parameter list /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_get_tune_settings': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:392: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:393: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:394: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_release': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:406: error: dereferencing pointer to incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: In function 'drx3973d_attach': /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:478: error: invalid application of 'sizeof' to incomplete type 'struct dvb_frontend_ops' /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:478: error: invalid application of 'sizeof' to incomplete type 'struct dvb_frontend_ops' /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:478: error: invalid application of 'sizeof' to incomplete type 'struct dvb_frontend_ops' /home/luis/em28xx-new/drx3973d/drx3973d_demod.c: At top level: /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:489: error: variable 'drx3973d_ops' has initializer but incomplete type /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:491: error: unknown field 'info' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:491: error: extra brace group at end of initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:491: error: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:493: error: 'FE_OFDM' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:498: error: 'FE_CAN_FEC_1_2' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:498: error: 'FE_CAN_FEC_2_3' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:499: error: 'FE_CAN_FEC_3_4' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:499: error: 'FE_CAN_FEC_5_6' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:499: error: 'FE_CAN_FEC_7_8' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:500: error: 'FE_CAN_FEC_AUTO' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:501: error: 'FE_CAN_QPSK' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:501: error: 'FE_CAN_QAM_16' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:501: error: 'FE_CAN_QAM_64' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:501: error: 'FE_CAN_QAM_AUTO' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:502: error: 'FE_CAN_TRANSMISSION_MODE_AUTO' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:502: error: 'FE_CAN_GUARD_INTERVAL_AUTO' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:503: error: 'FE_CAN_HIERARCHY_AUTO' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:503: error: 'FE_CAN_RECOVER' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:504: error: 'FE_CAN_MUTE_TS' undeclared here (not in a function) /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:505: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:505: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:507: error: unknown field 'release' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:507: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:507: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:509: error: unknown field 'init' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:509: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:509: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:510: error: unknown field 'sleep' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:510: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:510: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:511: error: unknown field 'write' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:511: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:511: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:513: error: unknown field 'set_frontend' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:513: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:513: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:514: error: unknown field 'get_frontend' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:514: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:514: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:515: error: unknown field 'get_tune_settings' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:515: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:515: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:517: error: unknown field 'read_status' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:517: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:517: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:518: error: unknown field 'read_ber' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:518: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:518: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:519: error: unknown field 'read_signal_strength' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:519: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:519: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:520: error: unknown field 'read_snr' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:520: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:520: warning: (near initialization for 'drx3973d_ops') /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:521: error: unknown field 'read_ucblocks' specified in initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:521: warning: excess elements in struct initializer /home/luis/em28xx-new/drx3973d/drx3973d_demod.c:521: warning: (near initialization for 'drx3973d_ops') make[2]: *** [/home/luis/em28xx-new/drx3973d/drx3973d_demod.o] Error 1 make[1]: *** [_module_/home/luis/em28xx-new/drx3973d] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make: *** [default] Error 2 make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/lgdt3304 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/lgdt3304/lgdt3304-demod.mod.o LD [M] /home/luis/em28xx-new/lgdt3304/lgdt3304-demod.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/tvp5150 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/tvp5150/tvp5150.mod.o LD [M] /home/luis/em28xx-new/tvp5150/tvp5150.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/xc3028 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/xc3028/xc3028-tuner.mod.o LD [M] /home/luis/em28xx-new/xc3028/xc3028-tuner.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/xc5000 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/xc5000/xc5000-tuner.mod.o LD [M] /home/luis/em28xx-new/xc5000/xc5000-tuner.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/zl10353 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/zl10353/zl10353.mod.o LD [M] /home/luis/em28xx-new/zl10353/zl10353.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/qt1010 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/qt1010/qt1010.mod.o LD [M] /home/luis/em28xx-new/qt1010/qt1010.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new/mt2060 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 1 modules CC /home/luis/em28xx-new/mt2060/mt2060.mod.o LD [M] /home/luis/em28xx-new/mt2060/mt2060.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' rm -rf Module.symvers; make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=/home/luis/em28xx-new modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic' Building modules, stage 2. MODPOST 3 modules WARNING: "snd_pcm_lib_ioctl" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_pcm_period_elapsed" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_pcm_hw_constraint_integer" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_card_register" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_pcm_set_ops" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_pcm_new" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_card_new" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! WARNING: "snd_card_free" [/home/luis/em28xx-new/em28xx-audio.ko] undefined! CC /home/luis/em28xx-new/em28xx-audio.mod.o LD [M] /home/luis/em28xx-new/em28xx-audio.ko CC /home/luis/em28xx-new/em28xx-dvb.mod.o LD [M] /home/luis/em28xx-new/em28xx-dvb.ko CC /home/luis/em28xx-new/em28xx.mod.o LD [M] /home/luis/em28xx-new/em28xx.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' cp: cannot stat `drx3973d/drx3973d.ko': No such file or directory [EMAIL PROTECTED]:~/em28xx-new$
_______________________________________________ Em28xx mailing list [email protected] http://mcentral.de/mailman/listinfo/em28xx
