LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2009, 02:08 PM   #1
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
error with compile em2880 driver...anyone know why?


I'm trying to compile the em2880 driver (for a MSI vox video capture card) for my ubuntu laptop... when I do "make" it gives the following output:

Code:
joey@joey-laptop:~/driver/em28xx-new$ make

running ./build.sh build

make[1]: Entering directory `/home/joey/driver/em28xx-new'
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=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /home/joey/driver/em28xx-new/em2880-dvb.o
In file included from /home/joey/driver/em28xx-new/em2880-dvb.c:37:
/home/joey/driver/em28xx-new/em28xx.h:32:20: error: dmxdev.h: No such file or directory
/home/joey/driver/em28xx-new/em28xx.h:33:23: error: dvb_demux.h: No such file or directory
/home/joey/driver/em28xx-new/em28xx.h:34:21: error: dvb_net.h: No such file or directory
/home/joey/driver/em28xx-new/em28xx.h:35:26: error: dvb_frontend.h: No such file or directory
In file included from /home/joey/driver/em28xx-new/em2880-dvb.c:37:
/home/joey/driver/em28xx-new/em28xx.h:560: error: field ‘demux’ has incomplete type
/home/joey/driver/em28xx-new/em28xx.h:568: error: field ‘adapter’ has incomplete type
/home/joey/driver/em28xx-new/em28xx.h:571: error: field ‘dmxdev’ has incomplete type
/home/joey/driver/em28xx-new/em28xx.h:573: error: field ‘dvbnet’ has incomplete type
In file included from /home/joey/driver/em28xx-new/em2880-dvb.c:44:
/home/joey/driver/em28xx-new/mt352/mt352.h: In function ‘mt352_write’:
/home/joey/driver/em28xx-new/mt352/mt352.h:68: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/mt352/mt352.h:69: error: dereferencing pointer to incomplete type
In file included from /home/joey/driver/em28xx-new/em2880-dvb.c:46:
/home/joey/driver/em28xx-new/drx3973d/drx3973d_demod.h: At top level:
/home/joey/driver/em28xx-new/drx3973d/drx3973d_demod.h:9: error: field ‘frontend’ has incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:52:22: error: lgdt330x.h: No such file or directory
/home/joey/driver/em28xx-new/em2880-dvb.c:245: warning: ‘struct dvb_frontend_tune_settings’ declared inside parameter list
/home/joey/driver/em28xx-new/em2880-dvb.c:245: warning: its scope is only this definition or declaration, which is probably not what you want
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em2880_fe_get_tune_settings’:
/home/joey/driver/em28xx-new/em2880-dvb.c:246: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:247: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:248: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: At top level:
/home/joey/driver/em28xx-new/em2880-dvb.c:276: error: variable ‘em2880_fe_template_ops’ has initializer but incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:277: error: unknown field ‘info’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:277: error: extra brace group at end of initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:277: error: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:284: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:284: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:285: error: unknown field ‘init’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:285: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:285: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:286: error: unknown field ‘release’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:286: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:286: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:288: error: unknown field ‘sleep’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:288: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:288: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:289: error: unknown field ‘set_frontend’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:289: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:289: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:290: error: unknown field ‘get_frontend’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:290: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:290: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:291: error: unknown field ‘get_tune_settings’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:291: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:291: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:292: error: unknown field ‘read_status’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:292: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:292: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:293: error: unknown field ‘read_ber’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:293: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:293: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:294: error: unknown field ‘read_signal_strength’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:294: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:294: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:295: error: unknown field ‘read_snr’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:295: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:295: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c:296: error: unknown field ‘read_ucblocks’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:297: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:297: warning: (near initialization for ‘em2880_fe_template_ops’)
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em2880_complete_irq’:
/home/joey/driver/em28xx-new/em2880-dvb.c:336: error: implicit declaration of function ‘dvb_dmx_swfilter’
/home/joey/driver/em28xx-new/em2880-dvb.c: At top level:
/home/joey/driver/em28xx-new/em2880-dvb.c:445: warning: ‘struct dvb_demux_feed’ declared inside parameter list
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em2880_start_feed’:
/home/joey/driver/em28xx-new/em2880-dvb.c:447: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:448: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: At top level:
/home/joey/driver/em28xx-new/em2880-dvb.c:462: warning: ‘struct dvb_demux_feed’ declared inside parameter list
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em2880_stop_feed’:
/home/joey/driver/em28xx-new/em2880-dvb.c:464: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:465: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_ts_bus_ctrl’:
/home/joey/driver/em28xx-new/em2880-dvb.c:491: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘mt352_pinnacle_init’:
/home/joey/driver/em28xx-new/em2880-dvb.c:542: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: At top level:
/home/joey/driver/em28xx-new/em2880-dvb.c:570: error: variable ‘em2880_lgdt3303_dev’ has initializer but incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:571: error: unknown field ‘demod_address’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:571: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:571: warning: (near initialization for ‘em2880_lgdt3303_dev’)
/home/joey/driver/em28xx-new/em2880-dvb.c:572: error: unknown field ‘demod_chip’ specified in initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:572: error: ‘LGDT3303’ undeclared here (not in a function)
/home/joey/driver/em28xx-new/em2880-dvb.c:573: warning: excess elements in struct initializer
/home/joey/driver/em28xx-new/em2880-dvb.c:573: warning: (near initialization for ‘em2880_lgdt3303_dev’)
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘kworld355u_i2c_gate_ctrl’:
/home/joey/driver/em28xx-new/em2880-dvb.c:587: error: field ‘frontend’ has incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:593: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_set_params’:
/home/joey/driver/em28xx-new/em2880-dvb.c:607: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:616: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_get_frequency’:
/home/joey/driver/em28xx-new/em2880-dvb.c:734: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_get_bandwidth’:
/home/joey/driver/em28xx-new/em2880-dvb.c:741: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_dvb_init’:
/home/joey/driver/em28xx-new/em2880-dvb.c:749: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_s921_init’:
/home/joey/driver/em28xx-new/em2880-dvb.c:804: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_zl10353_init’:
/home/joey/driver/em28xx-new/em2880-dvb.c:821: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_zl10353_sleep’:
/home/joey/driver/em28xx-new/em2880-dvb.c:870: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em28xx_dvb_sleep’:
/home/joey/driver/em28xx-new/em2880-dvb.c:886: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em2880_dvb_init’:
/home/joey/driver/em28xx-new/em2880-dvb.c:957: error: implicit declaration of function ‘dvb_attach’
/home/joey/driver/em28xx-new/em2880-dvb.c:961: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:980: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:983: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:988: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:994: error: ‘lgdt330x_attach’ undeclared (first use in this function)
/home/joey/driver/em28xx-new/em2880-dvb.c:994: error: (Each undeclared identifier is reported only once
/home/joey/driver/em28xx-new/em2880-dvb.c:994: error: for each function it appears in.)
/home/joey/driver/em28xx-new/em2880-dvb.c:995: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:1004: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:1009: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:1015: warning: assignment makes pointer from integer without a cast
/home/joey/driver/em28xx-new/em2880-dvb.c:1018: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1019: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1020: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1032: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend’ 
/home/joey/driver/em28xx-new/em2880-dvb.c:1033: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1033: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_ops’ 
/home/joey/driver/em28xx-new/em2880-dvb.c:1047: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1048: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1050: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1052: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1056: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1058: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1067: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1081: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1083: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1084: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1102: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c:1105: error: implicit declaration of function ‘dvb_register_adapter’
/home/joey/driver/em28xx-new/em2880-dvb.c:1123: error: implicit declaration of function ‘dvb_register_frontend’
/home/joey/driver/em28xx-new/em2880-dvb.c:1130: error: ‘DMX_TS_FILTERING’ undeclared (first use in this function)
/home/joey/driver/em28xx-new/em2880-dvb.c:1131: error: ‘DMX_SECTION_FILTERING’ undeclared (first use in this function)
/home/joey/driver/em28xx-new/em2880-dvb.c:1132: error: ‘DMX_MEMORY_BASED_FILTERING’ undeclared (first use in this function)
/home/joey/driver/em28xx-new/em2880-dvb.c:1134: error: implicit declaration of function ‘dvb_dmx_init’
/home/joey/driver/em28xx-new/em2880-dvb.c:1145: error: implicit declaration of function ‘dvb_dmxdev_init’
/home/joey/driver/em28xx-new/em2880-dvb.c:1149: error: implicit declaration of function ‘dvb_dmxdev_release’
/home/joey/driver/em28xx-new/em2880-dvb.c:1160: error: implicit declaration of function ‘dvb_net_init’
/home/joey/driver/em28xx-new/em2880-dvb.c:1160: error: dereferencing pointer to incomplete type
/home/joey/driver/em28xx-new/em2880-dvb.c: In function ‘em2880_dvb_fini’:
/home/joey/driver/em28xx-new/em2880-dvb.c:1180: error: implicit declaration of function ‘dvb_net_release’
/home/joey/driver/em28xx-new/em2880-dvb.c:1181: error: implicit declaration of function ‘dvb_unregister_frontend’
/home/joey/driver/em28xx-new/em2880-dvb.c:1188: error: implicit declaration of function ‘dvb_frontend_detach’
/home/joey/driver/em28xx-new/em2880-dvb.c:1193: error: implicit declaration of function ‘dvb_dmx_release’
/home/joey/driver/em28xx-new/em2880-dvb.c:1195: error: implicit declaration of function ‘dvb_unregister_adapter’
make[3]: *** [/home/joey/driver/em28xx-new/em2880-dvb.o] Error 1
make[2]: *** [_module_/home/joey/driver/em28xx-new] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/joey/driver/em28xx-new'
anyone know why this is? how can I fix this?
 
Old 01-11-2009, 02:22 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,736

Rep: Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585Reputation: 1585
Quote:
/home/joey/driver/em28xx-new/em28xx.h:32:20: error: dmxdev.h: No such file or directory
/home/joey/driver/em28xx-new/em28xx.h:33:23: error: dvb_demux.h: No such file or directory
/home/joey/driver/em28xx-new/em28xx.h:34:21: error: dvb_net.h: No such file or directory
/home/joey/driver/em28xx-new/em28xx.h:35:26: error: dvb_frontend.h: No such file or directory
You miss the header files for your running kernel. Use your package manager to install the missing package (should be something like kernel-dev)
Also you might take a look at this post.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom NIC driver compile error cyberwiz Slackware 12 06-29-2006 06:04 PM
Cannot compile alsa driver? It gives an error :( sys7em Slackware 24 10-11-2004 02:50 AM
modem driver compile error in suse 9.0 archish Linux - Hardware 3 06-08-2004 10:00 AM
NVIDIA Driver Error after Kernel Compile lasindi Linux - General 2 04-26-2004 06:55 PM
ambient driver compile error coriolis Linux - Software 0 01-15-2002 05:59 PM


All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration