p******m 发帖数: 23 | 1 i am implementing system call on the kernel side: int SYS_hello(void) and
modified callno.h, unistd.h, and syscall.h and syscall.c. Then I wrote a
user program hello.c with hello() to invoke the system call sys_hello().
However, when make, I got the following: in Main:undefined reference to
hello(). My guess it either that my kernel side does not work properly or
my user side does not connect properly. Someone hinted that he used a
trick system call constant, is there anything special with the a |
|