Linux kernel 상의 include 오류입니다.
글쓴이: nicelhc13 / 작성시간: 화, 2015/05/19 - 5:51오후
Linux kernel 내부를 수정하고 있습니다.
asm/xen/hypercall.h 이라는 헤더파일을 include하려는데
계속
include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void' #define NULL ((void *)0) ^ ./arch/x86/include/asm/alternative.h:221:28: note: in expansion of macro 'NULL' #define __parainstructions NULL ^ ./arch/x86/include/asm/paravirt_types.h:703:35: note: in expansion of macro '__parainstructions' extern struct paravirt_patch_site __parainstructions[], ^ include/linux/stddef.h:8:23: error: expected ')' before numeric constant #define NULL ((void *)0) ^ ./arch/x86/include/asm/alternative.h:221:28: note: in expansion of macro 'NULL' #define __parainstructions NULL ^ ./arch/x86/include/asm/paravirt_types.h:703:35: note: in expansion of macro '__parainstructions' extern struct paravirt_patch_site __parainstructions[], ^ scripts/Makefile.build:257: recipe for target 'drivers/oxen/fallback.o' failed
이런식의 오류가 나타납니다.
커널 내부에서도 헤더파일 사용에 제한이 있는지요?
Forums:
댓글 달기