02-08-2017, 03:41 AM
(02-08-2017, 03:06 AM)Learnincurve Wrote: Hi,
I'm wanting to build a rt system for digital audio (squeezebox) using a pine64+ (2GB) running Armbian base system.
I've been trying to apply the https://www.kernel.org/pub/linux/kernel/...s/rt/3.10/
patch-3.10.104-rt117 patch set on the Armbian 3.10.104 source tree, following the procedure outlined in the developer guide.
https://docs.armbian.com/Developer-Guide...eparation/
The patches are applied successfully, but I am facing a number of problems with the build.
There were failures in various IP tunnelling modules, which I have simply removed from the config, as I don't need them, but now I'm struggling with:
Code:MODPOST vmlinux.o │ │ WARNING: modpost: Found 2 section mismatch(es). │ │ To see full details build your kernel with: │ │ 'make CONFIG_DEBUG_SECTION_MISMATCH=y' │ │ GEN .version │ │ CHK include/generated/compile.h │ │ UPD include/generated/compile.h │ │ CC init/version.o │ │ LD init/built-in.o │ │ drivers/built-in.o: In function `mbus_pmu_remove': │ │ arisc_dram_crc.c:(.text+0x1d38): undefined reference to `hwmon_device_unregister' │ │ arisc_dram_crc.c:(.text+0x1d38): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `hwmon_device_unregister' │ │ drivers/built-in.o: In function `mbus_pmu_probe':
Can anyone suggest how to fix it?
I want to stay with 3.10.104 as vanilla doesn't support the LCD interface (which I need for the touch screen).
BR.
--Marius--
You may try to enable CONFIG_HWMON=y in your config.
Cheers
Uli

