I am trying to compile asterisk and notice there seems to be some missing linux headers include files.
Examples: /usr/src/linux-headers-4.4.143-55-rockchip-g6b7accbc999b/arch/arm64/include/asm/opcodes.h references “#include <…/…/arm/include/asm/opcodes.h>” and /usr/src/linux-headers-4.4.143-55-rockchip-g6b7accbc999b/arch/arm64/include/asm/xen/hypervisor.h references “#include <…/…/arm/include/asm/xen/hypervisor.h>” but the /usr/src/linux-headers-4.4.143-55-rockchip-g6b7accbc999b/arch/arm directory does not exist.
Any suggestions on where I can pick up the correct version of the arm directory?
Thanks, a “sudo apt-cache linux-image-4.4.143-57” to find the full image name and then a “sudo apt-get install linux-image-4.4.143-57-rockchip-g4b8d0571d76e” fixed my issues with the headers!