FS#13146 - [kernel26] cannot build em28xx because of missing headers
Attached to Project:
Arch Linux
Opened by Xavier (shining) - Saturday, 07 February 2009, 15:11 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 08 February 2009, 16:02 GMT
Opened by Xavier (shining) - Saturday, 07 February 2009, 15:11 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 08 February 2009, 16:02 GMT
|
Details
I am trying to build em28xx drivers
(http://mcentral.de/hg/~mrec/em28xx-new) but the build fails
because of missing headers.
This problem and the fix were reported there : http://www.quadrantegamma.it/component/content/article/12-intrepid/60-pinnacle-pctv-usb-stick-dvb-t.html http://forum.ubuntuusers.de/topic/terratec-prodigy-hybrid-usb-stick-cinergy-hyb/2/#post-1749852 I just had a look at the PKGBUILD, this driver is really evil, headers were already added twice for it : # add dvb headers for external modules # in reference to: # http://bugs.archlinux.org/task/9912 mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/ # add dvb headers for external modules # in reference to: # http://bugs.archlinux.org/task/11194 mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/ cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/ Hopefully this is the last change we need : # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/ mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/ cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/ mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/ cp drivers/media/dvb/frontends/lgdt330x.h drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/ |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Sunday, 08 February 2009, 16:02 GMT
Reason for closing: Implemented
Sunday, 08 February 2009, 16:02 GMT
Reason for closing: Implemented