
On 09.05.14 20:21, Robert Brown wrote:
I have read confirmations that the modules have built successfully on kernels 3.0 through to 3.3 (using include-300 through to include-330) and then on 3.6 but am yet to find some-one who has done this on 3.4 other than the guy mcct on this link: http://www.cubieforums.com/index.php?topic=2427.0 This is where I started as I could not make full sense of his process.
I'm not not surprised. To me it looks like a monkey trap. I'd rather debug your issues than his.
make: Entering directory `/home/debian/linux-sunxi-pat-3.4.67' CC [M] /home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/demod_rtl2832.o ...
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.
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 northeast coast of Tasmania is a climate-change hotspot. There's been a sea surface temperature monitor on Maria island for 30 years and in that time the sea has warmed 4°C [bringing] the long-spined sea urchin, which was first seen around Flinders Island in the late 70s. - Dave Allen, in Weekly Times 02.04.14.