Skip to content

Compiling dahdi (asterisk) kernel drivers against odroidc-3.10.y #213

@sundarnagarajan

Description

@sundarnagarajan

I am trying to compile the latest dahdi drivers against odroidc-3.10.y branch, and I get the following error:

INCLUDE=/root/dahdi/dahdi-linux-complete-2.11.1+2.11.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/linux-headers-3.10.96-149'
/root/dahdi/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/Kbuild:124: CPU Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
  CC [M]  /root/dahdi/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/dahdi-base.o
In file included from /usr/src/linux-headers-3.10.96-149/arch/arm/include/asm/page.h:163:0,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /root/dahdi/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/dahdi-base.c:40:
/usr/src/linux-headers-3.10.96-149/arch/arm/include/asm/memory.h:22:25: fatal error: mach/memory.h: No such file or directory
 #include <mach/memory.h>
                         ^
compilation terminated.

It appears that the github kernel source doesn't contain all the required files for compiling a new kernel driver?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions