Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04 Kernel patch fails to build #1463

Closed
ChrisHughes opened this issue Mar 30, 2018 · 3 comments
Closed

Ubuntu 16.04 Kernel patch fails to build #1463

ChrisHughes opened this issue Mar 30, 2018 · 3 comments
Assignees

Comments

@ChrisHughes
Copy link

ChrisHughes commented Mar 30, 2018

Required Info
Camera Model { D400 }
Firmware Version 05.08.15.00
Operating System & Version {Ubuntu 16.04 LTS
Kernel Version (Linux Only) (4.4.76-aero-1.2)
Platform Aero RTF Drone
SDK Version { 2.10.2 }

When trying to build 2.10.2 from source, the kernel patch fails with

make: Leaving directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master' cp: cannot stat '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/iio/accel/hid-sensor-accel-3d.ko': No such file or directory

The full log is here

`
ubuntu@ubuntu-CherryTrail:~/dev-sw/librealsense$ ./scripts/patch-realsense-ubuntu-xenial.sh

Remove all RealSense cameras attached. Hit any key when ready

[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
git is already the newest version (1:2.7.4-0ubuntu1.3).
linux-headers-generic is already the newest version (4.4.0.116.122).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Package required libusb-1.0-0-dev: - found
Package required libssl-dev: - found
The kernel has modified files:
modified: drivers/iio/accel/hid-sensor-accel-3d.c
modified: drivers/iio/gyro/hid-sensor-gyro-3d.c
modified: drivers/media/usb/uvc/Makefile
modified: drivers/media/usb/uvc/uvc_ctrl.c
modified: drivers/media/usb/uvc/uvc_driver.c
modified: drivers/media/usb/uvc/uvc_video.c
modified: drivers/media/usb/uvc/uvcvideo.h
modified: drivers/media/v4l2-core/v4l2-ioctl.c
modified: include/linux/hid-sensor-ids.h
modified: include/uapi/linux/videodev2.h
Proceeding will reset all local kernel changes. Press 'n' within 10 seconds to abort the operation
Do you want to proceed? [Y/n]

Update the folder content with the latest from mainline branch
remote: Total 0 (delta 0), reused 0 (delta 0)
From git://kernel.ubuntu.com/ubuntu/ubuntu-xenial

Symmetric multi-processing support (SMP) [Y/n/?] y
Enable MPS table (X86_MPPARSE) [Y/n/?] y
Avoid speculative indirect branches in kernel (RETPOLINE) [Y/n/?] (NEW)
Support for extended (non-PC) x86 platforms (X86_EXTENDED_PLATFORM) [Y/n/?] y
ScaleMP vSMP (X86_VSMP) [N/y/?] n
Goldfish (Virtual Platform) (X86_GOLDFISH) [N/y/?] n
Intel Low Power Subsystem Support (X86_INTEL_LPSS) [Y/n/?] y
AMD ACPI2Platform devices support (X86_AMD_PLATFORM_DEVICE) [Y/n/?] y
Intel SoC IOSF Sideband support for SoC platforms (IOSF_MBI) [Y/?] y
Enable IOSF sideband access through debugfs (IOSF_MBI_DEBUG) [N/y/?] n
Single-depth WCHAN output (SCHED_OMIT_FRAME_POINTER) [Y/n/?] y
Processor family

  1. Opteron/Athlon64/Hammer/K8 (MK8)
  2. Intel P4 / older Netburst based Xeon (MPSC)
  3. Core 2/newer Xeon (MCORE2)
  1. Intel Atom (MATOM)
  1. Generic-x86-64 (GENERIC_CPU)
    choice[1-5?]: 4
    Old AMD GART IOMMU support (GART_IOMMU) [N/y/?] n
    IBM Calgary IOMMU support (CALGARY_IOMMU) [N/y/?] n
    Maximum number of CPUs (NR_CPUS) [64] 64
    SMT (Hyperthreading) scheduler support (SCHED_SMT) [Y/n/?] y
    Multi-core scheduler support (SCHED_MC) [Y/n/?] y
    Preemption Model
  2. No Forced Preemption (Server) (PREEMPT_NONE)
  3. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  1. Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
    choice[1-3]: 3
    Reroute for broken boot IRQs (X86_REROUTE_FOR_BROKEN_BOOT_IRQS) [N/y/?] n
    Machine Check / overheating reporting (X86_MCE) [Y/n/?] y
    Intel MCE features (X86_MCE_INTEL) [Y/n/?] y
    AMD MCE features (X86_MCE_AMD) [Y/n/?] y
    Machine check injector support (X86_MCE_INJECT) [N/m/y/?] n
    Dell i8k legacy laptop support (I8K) [N/m/y/?] n
    CPU microcode loading support (MICROCODE) [Y/n/?] y
    Intel microcode loading support (MICROCODE_INTEL) [Y/n/?] y
    AMD microcode loading support (MICROCODE_AMD) [Y/n/?] y
    /dev/cpu//msr - Model-specific register support (X86_MSR) [Y/n/m/?] y
    /dev/cpu/
    /cpuid - CPU information support (X86_CPUID) [Y/n/m/?] y
    Numa Memory Allocation and Scheduler Support (NUMA) [N/y/?] n
    Memory model
  2. Sparse Memory (SPARSEMEM_MANUAL)
    choice[1]: 1
    Sparse Memory virtual memmap (SPARSEMEM_VMEMMAP) [Y/n/?] y
    Allow for memory hot-add (MEMORY_HOTPLUG) [N/y] n
    Allow for balloon memory compaction/migration (BALLOON_COMPACTION) [Y/n/?] y
    Allow for memory compaction (COMPACTION) [Y/n/?] y
    Page migration (MIGRATION) [Y/?] y
    Enable bounce buffers (BOUNCE) [Y/n/?] y
    Enable KSM for page merging (KSM) [N/y/?] n
    Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
    Enable recovery from hardware memory errors (MEMORY_FAILURE) [N/y/?] n
    Transparent Hugepage Support (TRANSPARENT_HUGEPAGE) [N/y/?] n
    Enable cleancache driver to cache clean pages if tmem is present (CLEANCACHE) [N/y/?] n
    Enable frontswap to cache swap pages if tmem is present (FRONTSWAP) [N/y/?] n
    Contiguous Memory Allocator (CMA) [N/y/?] n
    Common API for compressed memory storage (ZPOOL) [N/m/y/?] n
    Low density storage for compressed pages (ZBUD) [N/m/y/?] n
    Memory allocator for compressed pages (ZSMALLOC) [N/m/y/?] n
    Enable idle page tracking (IDLE_PAGE_TRACKING) [N/y/?] n
    Support non-standard NVDIMMs and ADR protected memory (X86_PMEM_LEGACY) [N/m/y/?] n
    Check for low memory corruption (X86_CHECK_BIOS_CORRUPTION) [Y/n/?] y
    Set the default setting of memory_corruption_check (X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK) [Y/n/?] y
    Amount of low memory, in kilobytes, to reserve for the BIOS (X86_RESERVE_LOW) [64] 64
    MTRR (Memory Type Range Register) support (MTRR) [Y/?] y
    MTRR cleanup support (MTRR_SANITIZER) [Y/n/?] y
    MTRR cleanup enable value (0-1) (MTRR_SANITIZER_ENABLE_DEFAULT) [0] 0
    MTRR cleanup spare reg num (0-7) (MTRR_SANITIZER_SPARE_REG_NR_DEFAULT) [1] 1
    Intel MPX (Memory Protection Extensions) (X86_INTEL_MPX) [N/y/?] n
    EFI runtime service support (EFI) [Y/n/?] y
    EFI stub support (EFI_STUB) [Y/n/?] y
    EFI mixed-mode support (EFI_MIXED) [N/y/?] n
    Force module signing when UEFI Secure Boot is enabled (EFI_SECURE_BOOT_SIG_ENFORCE) [N/y/?] n
    Enable seccomp to safely compute untrusted bytecode (SECCOMP) [Y/n/?] y
    Timer frequency
  1. 100 HZ (HZ_100)
  2. 250 HZ (HZ_250)
  3. 300 HZ (HZ_300)
  1. 1000 HZ (HZ_1000)
    choice[1-4?]: 4
    kexec system call (KEXEC) [N/y/?] n
    kexec file based system call (KEXEC_FILE) [N/y/?] n
    kernel crash dumps (CRASH_DUMP) [N/y/?] n
    Build a relocatable kernel (RELOCATABLE) [Y/?] y
    Randomize the address of the kernel image (RANDOMIZE_BASE) [N/y/?] n
    Alignment value to which kernel should be aligned (PHYSICAL_ALIGN) [0x200000] 0x200000
    Support for hot-pluggable CPUs (HOTPLUG_CPU) [Y/?] y
    Set default setting of cpu0_hotpluggable (BOOTPARAM_HOTPLUG_CPU0) [N/y/?] n
    Debug CPU0 hotplug (DEBUG_HOTPLUG_CPU0) [N/y/?] n
    Disable the 32-bit vDSO (needed for glibc 2.3.3) (COMPAT_VDSO) [N/y/?] n
    vsyscall table for legacy applications
  1. Native (LEGACY_VSYSCALL_NATIVE)
  1. Emulate (LEGACY_VSYSCALL_EMULATE)
  1. None (LEGACY_VSYSCALL_NONE)
    choice[1-3?]: 2
    Built-in kernel command line (CMDLINE_BOOL) [N/y/?] n
  • Networking options

Packet socket (PACKET) [Y/n/m/?] y
Packet: sockets monitoring interface (PACKET_DIAG) [N/m/y/?] n
Unix domain sockets (UNIX) [Y/n/m/?] y
UNIX: socket monitoring interface (UNIX_DIAG) [N/m/y/?] n
Transformation user configuration interface (XFRM_USER) [M/n/y/?] m
Transformation sub policy support (XFRM_SUB_POLICY) [Y/n/?] y
Transformation migrate database (XFRM_MIGRATE) [Y/?] y
Transformation statistics (XFRM_STATISTICS) [N/y/?] n
PF_KEY sockets (NET_KEY) [M/n/y/?] m
PF_KEY MIGRATE (NET_KEY_MIGRATE) [Y/n/?] y
TCP/IP networking (INET) [Y/n/?] y
IP: multicasting (IP_MULTICAST) [Y/n/?] y
IP: advanced router (IP_ADVANCED_ROUTER) [Y/n/?] y
FIB TRIE statistics (IP_FIB_TRIE_STATS) [N/y/?] n
IP: policy routing (IP_MULTIPLE_TABLES) [Y/n/?] y
IP: equal cost multipath (IP_ROUTE_MULTIPATH) [Y/n/?] y
IP: verbose route monitoring (IP_ROUTE_VERBOSE) [Y/n/?] y
IP: kernel level autoconfiguration (IP_PNP) [Y/n/?] y
IP: DHCP support (IP_PNP_DHCP) [Y/n/?] y
IP: BOOTP support (IP_PNP_BOOTP) [Y/n/?] y
IP: RARP support (IP_PNP_RARP) [Y/n/?] y
IP: tunneling (NET_IPIP) [M/n/y/?] m
IP: GRE demultiplexer (NET_IPGRE_DEMUX) [M/n/y/?] m
IP: GRE tunnels over IP (NET_IPGRE) [M/n/?] m
IP: broadcast GRE over IP (NET_IPGRE_BROADCAST) [Y/n/?] y
IP: multicast routing (IP_MROUTE) [Y/n/?] y
IP: multicast policy routing (IP_MROUTE_MULTIPLE_TABLES) [N/y/?] n
IP: PIM-SM version 1 support (IP_PIMSM_V1) [Y/n/?] y
IP: PIM-SM version 2 support (IP_PIMSM_V2) [Y/n/?] y
IP: TCP syncookie support (SYN_COOKIES) [Y/n/?] y
Virtual (secure) IP: tunneling (NET_IPVTI) [N/m/y/?] n
IP: Foo (IP protocols) over UDP (NET_FOU) [N/m/y/?] n
IP: FOU encapsulation of IP tunnels (NET_FOU_IP_TUNNELS) [N/y/?] n
IP: AH transformation (INET_AH) [M/n/y/?] m
IP: ESP transformation (INET_ESP) [M/n/y/?] m
IP: IPComp transformation (INET_IPCOMP) [M/n/y/?] m
IP: IPsec transport mode (INET_XFRM_MODE_TRANSPORT) [Y/n/m/?] y
IP: IPsec tunnel mode (INET_XFRM_MODE_TUNNEL) [Y/n/m/?] y
IP: IPsec BEET mode (INET_XFRM_MODE_BEET) [Y/n/m/?] y
Large Receive Offload (ipv4/tcp) (INET_LRO) [Y/n/m/?] y
INET: socket monitoring interface (INET_DIAG) [Y/n/m/?] y
UDP: socket monitoring interface (INET_UDP_DIAG) [N/m/y/?] n
TCP: MD5 Signature Option support (RFC2385) (TCP_MD5SIG) [N/y/?] n
NetLabel subsystem support (NETLABEL) [N/y/?] n
Security Marking (NETWORK_SECMARK) [N/y/?] n
Timestamping in PHY devices (NETWORK_PHY_TIMESTAMPING) [N/y/?] n
The RDS Protocol (RDS) [N/m/y/?] n
Asynchronous Transfer Mode (ATM) (ATM) [N/m/y/?] n
802.1d Ethernet Bridging (BRIDGE) [M/n/y/?] m
IGMP/MLD snooping (BRIDGE_IGMP_SNOOPING) [Y/n/?] y
VLAN filtering (BRIDGE_VLAN_FILTERING) [N/y/?] n
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW)
802.1Q/802.1ad VLAN Support (VLAN_8021Q) [M/n/y/?] m
GVRP (GARP VLAN Registration Protocol) support (VLAN_8021Q_GVRP) [N/y/?] n
MVRP (Multiple VLAN Registration Protocol) support (VLAN_8021Q_MVRP) [N/y/?] n
DECnet Support (DECNET) [N/m/y/?] n
ANSI/IEEE 802.2 LLC type 2 Support (LLC2) [N/m/y/?] n
The IPX protocol (IPX) [N/m/y/?] n
Appletalk protocol support (ATALK) [N/m/y/?] n
CCITT X.25 Packet Layer (X25) [N/m/y/?] n
LAPB Data Link Driver (LAPB) [N/m/y/?] n
Phonet protocols family (PHONET) [N/m/y/?] n
Data Center Bridging support (DCB) [N/y/?] n
DNS Resolver support (DNS_RESOLVER) [Y/?] y
B.A.T.M.A.N. Advanced Meshing Protocol (BATMAN_ADV) [N/m/y/?] n
Open vSwitch (OPENVSWITCH) [M/n/?] m
Open vSwitch GRE tunneling support (OPENVSWITCH_GRE) [M/n/?] m
Virtual Socket protocol (VSOCKETS) [N/m/y/?] n
NETLINK: socket monitoring interface (NETLINK_DIAG) [N/m/y/?] n
High-availability Seamless Redundancy (HSR) (HSR) [N/m/y/?] n
Switch (and switch-ish) device support (EXPERIMENTAL) (NET_SWITCHDEV) [N/y/?] n
L3 Master device support (NET_L3_MASTER_DEV) [N/y/?] n
Network priority cgroup (CGROUP_NET_PRIO) [N/y/?] n
Network classid cgroup (CGROUP_NET_CLASSID) [Y/?] y
enable BPF Just In Time compiler (BPF_JIT) [N/y/?] n
*

  • OpenNSL options

OpenNSL options (OPENNSL) [N/y] (NEW)
*

  • Ubuntu Supplied Third-Party Device Drivers

Intel 8xx/9xx/G3x/G4x/HD Graphics (DRM_I915_BPO) [N/m/y/?] n
Enable preliminary support for prerelease Intel hardware by default (DRM_I915_BPO_PRELIMINARY_HW_SUPPORT) [N/y/?] n
Always enable userptr support (DRM_I915_BPO_USERPTR) [Y/n/?] y
ES3000 V2 High-Performance PCIe SSD (HIO) [N/m/y/?] n
Redpine Signals Inc devices (WLAN_VENDOR_RSI) [Y/n/?] y
Redpine Signals Inc 91x WLAN driver support (VEN_RSI_91X) [N/m/?] n
Broadcom NetXtreme-C/E support (BNXT_BPO) [N/m/y/?] (NEW)
*

  • Security options

Enable access key retention support (KEYS) [Y/?] y
Enable register of persistent per-UID keyrings (PERSISTENT_KEYRINGS) [N/y/?] n
Large payload keys (BIG_KEYS) [N/y/?] n
ENCRYPTED KEYS (ENCRYPTED_KEYS) [N/m/y/?] n
Restrict unprivileged access to the kernel syslog (SECURITY_DMESG_RESTRICT) [N/y/?] n
Enable different security models (SECURITY) [Y/n/?] y
Remove the kernel mapping in user mode (KAISER) [Y/n/?] (NEW)
Enable the securityfs filesystem (SECURITYFS) [N/y/?] n
Socket and Networking Security Hooks (SECURITY_NETWORK) [N/y/?] n
Security hooks for pathname based access control (SECURITY_PATH) [N/y/?] n
Enable Intel(R) Trusted Execution Technology (Intel(R) TXT) (INTEL_TXT) [N/y/?] n
Simplified Mandatory Access Control Kernel Support (SECURITY_SMACK) [N/y/?] n
TOMOYO Linux Support (SECURITY_TOMOYO) [N/y/?] n
AppArmor support (SECURITY_APPARMOR) [N/y/?] n
Yama support (SECURITY_YAMA) [N/y/?] n
Integrity subsystem (INTEGRITY) [Y/n/?] y
Digital signature verification using multiple keyrings (INTEGRITY_SIGNATURE) [N/y/?] n
Integrity Measurement Architecture(IMA) (IMA) [N/y/?] n
EVM support (EVM) [N/y/?] n
Default security module

  1. Unix Discretionary Access Controls (DEFAULT_SECURITY_DAC)
    choice[1]: 1

configuration written to .config

CHK include/config/kernel.release
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
Compiling uvc module
make: Entering directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_driver.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_queue.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_v4l2.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_video.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_ctrl.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_isight.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_status.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_debugfs.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvc_entity.o
LD [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvcvideo.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "__x86_indirect_thunk_rdx" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvcvideo.ko] undefined!
WARNING: "__x86_indirect_thunk_rax" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvcvideo.ko] undefined!
CC /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvcvideo.mod.o
LD [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/usb/uvc//uvcvideo.ko
make: Leaving directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
Compiling accelerometer and gyro modules
make: Entering directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
make: Entering directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
Compiling v4l2-core modules
make: Entering directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-v4l2.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-memops.o
CC [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-vmalloc.o
Building modules, stage 2.
MODPOST 4 modules
WARNING: "__x86_indirect_thunk_rax" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-vmalloc.ko] undefined!
WARNING: "__x86_indirect_thunk_rdx" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-v4l2.ko] undefined!
WARNING: "__x86_indirect_thunk_rax" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-v4l2.ko] undefined!
WARNING: "__x86_indirect_thunk_rax" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-memops.ko] undefined!
WARNING: "__x86_indirect_thunk_rcx" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-core.ko] undefined!
WARNING: "__x86_indirect_thunk_rdx" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-core.ko] undefined!
WARNING: "__x86_indirect_thunk_r8" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-core.ko] undefined!
WARNING: "__x86_indirect_thunk_rax" [/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-core.ko] undefined!
CC /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-core.mod.o
CC /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-memops.mod.o
CC /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-v4l2.mod.o
CC /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-vmalloc.mod.o
LD [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-core.ko
LD [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-v4l2.ko
LD [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-vmalloc.ko
LD [M] /home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/media/v4l2-core/videobuf2-memops.ko
make: Leaving directory '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master'
cp: cannot stat '/home/ubuntu/dev-sw/librealsense/ubuntu-xenial-master/drivers/iio/accel/hid-sensor-accel-3d.ko': No such file or directory
`

@ev-mp
Copy link
Collaborator

ev-mp commented Apr 1, 2018

Hello @ChrisHughes ,
The kernel patches are meant for Ubuntu distributions with LTS kernels.
The board you're using runs a different dedicated 4.4.76-aero-1.2 kernel as you mention.

Please also see a related #1320 with instructions on how to integrate D400/Librealsense2 with Aero board

@ev-mp
Copy link
Collaborator

ev-mp commented Apr 5, 2018

Hello @ChrisHughes , please update whether you need a further assistance with this.

@ChrisHughes
Copy link
Author

Thanks, the patch on #1320 worked well and solved the issue for me. Would be helpful to have it included officially and in the build docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants