
On 09/05/14 23:30, Erik Christiansen wrote:
On 09.05.14 20:21, Robert Brown wrote: This is what we're looking for:
ignoring nonexistent directory "/drivers/media/dvb/dvb-usb/" IIRC, you have dvb-usb/ for 3.2, but not for 3.4. Yes I have the pointer set to include-320 as the include-340 is empty atm.
ignoring nonexistent directory "/drivers/media/dvb/dvb-core/" ignoring nonexistent directory "/drivers/media/dvb/frontends/" ignoring nonexistent directory "/drivers/media/common/tuners/" #include "..." search starts here: #include <...> search starts here: /home/debian/linux-sunxi-pat-3.4.67/arch/arm/include arch/arm/include/generated include arch/arm/mach-sun4i/include arch/arm/plat-sunxi/include /home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/include-320 A 3.2 include directory is being used here, FWIW. But if you have nothing later, then let's not quibble. (And if you've set that "include-340" thing, then it probably won't be used anyway.)
/usr/lib/gcc/arm-linux-gnueabihf/4.6/include End of search list. Try extending the EXTRA_CFLAGS in the Makefile thus:
... -I$(SOURCEDIR)/$(INCLUDE_EXTRA_DVB) \ -I/home/debian/linux-sunxi-pat-3.4.67/drivers/media/dvb/dvb-usb/
I.e. The "\" extends from the pre-existing last line, adding one new.
Now it has somewhere to find dvb-usb.h, and anything could happen after that.
Erik
The result is in the attached compile2.txt and have also attached dvb_frontend.h A bit of searching on the error led me to: https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0... which suggests this: https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0... which I am about to d/l and try. Beats me why all of my previous searches for "rtl2832 and kernel 3.4" have not taken me to this possibly vital link. Rob