LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   driver make fails (http://www.linuxquestions.org/questions/linux-general-1/driver-make-fails-608015/)

android6011 12-19-2007 11:52 PM

driver make fails
 
I am trying to build the em2880 driver and I get:

...
from /lib/firmware/v4l-dvb-experimental/v4l/flexcop-pci.c:10:
/lib/firmware/v4l-dvb-experimental/v4l/dvb_frontend.h:165: error: field 'tuner_ops' has incomplete type
make[3]: *** [/lib/firmware/v4l-dvb-experimental/v4l/flexcop-pci.o] Error 1
make[2]: *** [_module_/lib/firmware/v4l-dvb-experimental/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-2-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/lib/firmware/v4l-dvb-experimental/v4l'
make: *** [all] Error 2


what is wrong?

migm 12-20-2007 12:49 AM

Quote:

Originally Posted by android6011 (Post 2996554)
I am trying to build the em2880 driver and I get:

...
from /lib/firmware/v4l-dvb-experimental/v4l/flexcop-pci.c:10:
/lib/firmware/v4l-dvb-experimental/v4l/dvb_frontend.h:165: error: field 'tuner_ops' has incomplete type
make[3]: *** [/lib/firmware/v4l-dvb-experimental/v4l/flexcop-pci.o] Error 1
make[2]: *** [_module_/lib/firmware/v4l-dvb-experimental/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-2-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/lib/firmware/v4l-dvb-experimental/v4l'
make: *** [all] Error 2


what is wrong?



You are missing v4l-dvb-experimental and must download it.

IkBenDeMan 04-11-2008 12:14 PM

Fix
 
He already has it... as it shows in the compilation attempt...... what you need is to patch the make file. It's a bug w/ kernel 2.6.24.4.

The make file is located at:
http://mcentral.de/pipermail/em28xx/...ile-2.6.24.obj
(from the em28xx mail list message: http://mcentral.de/pipermail/em28xx/...il/001481.html)

To patch the makefile, download the .obj file (yes, it's a patch) to your v4l-dvb-experimental directory, and in the terminal, in the same directory, execute:
Quote:

patch -p0 < v4l-dvb-kernel-Makefile-2.6.24.obj


All times are GMT -5. The time now is 02:16 AM.