|
LD .tmp_vmlinux1
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `open'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `fstat'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `umask'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `creat'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `read'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `write'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `write'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `umask'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `close'
kernel/built-in.o: In function `sys_file_copy':
: undefined reference to `close'
sys_file_copy为增加得系统调用
个人感觉是函数说明的问题,但不之道要再什么地方说明
sys_file_copy 放在sys.h中,并且在sys.h中进行了函数说明
望高人指点 |
|