커널 컴파일 아주 간단한 helloworld 출력!!
글쓴이: wizard9 / 작성시간: 토, 2005/05/07 - 3:14오후
밑에 글을 많이 봤어도 잘 안되네요!!
컴파일 하면 에러 메시지가..
in function 'helloworld':
:undefined reference to 'errno'
:collect2: id returned 1exit status
라는 에러 메세지 납니다!
그리고 소스는
#include <linux/unistd.h>
#include <linux/errno.h>
_syscall0 (int ,helloworld)
main()
{
helloworld();
}
철자 틀린것은 없고요 인클루드에서 여러가지 방법(여기 글을 찾아보고)을 해봤지만 안되네요!!
많은 답변 부탁드립니다!! ^^
Forums:


댓글 달기