모듈 cross compile
글쓴이: 읏짜 / 작성시간: 월, 2021/09/13 - 4:32오후
커널 모듈을 arm64 타겟으로 cross compile을 하려고 하는데요
gcc-aarch64-linux-gnu 설치하고
Makefile을
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
이렇게 동작하게 하면
"./include/uapi/linux/types.h:5:10: fatal error: asm/types.h: No such file or directory"
이런 에러가 나오는데 혹시 아시는분 계신가요,,
우분투 버전은 18.04입니다
Forums:
댓글 달기