[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file dependencies



Hi.

I have wrote my own system calls and put them in
/usr/src/sys/kern/new_syscall.c
and /usr/src/sys/sys/new_syscall.h.

I included kern/new_syscall.c in /usr/src/sys/conf/files,
and file  kern/new_syscall.c in /usr/src/sys/conf/files.newconf.

When I run make, it produces bunch of errors while compiling
new_syscall.c.  Errors are from mbuf.h, new_syscall.h, and malloc.h.
I think that these errors are due to file dependencies.

new_syscall.h depends on sys/cdefs.h
new_syscall.c depends on sys/mbuf.h and sys/new_syscall.h.

Is there any way I can specify file depencies?

Thanks for adance.

-James Kwon



Visit your host, monkey.org