F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.81k stars 890 forks source link

fs/devfs/devfs_int.h: No such file or directory #506

Open yeyiwen opened 4 years ago

yeyiwen commented 4 years ago

i want to enable if_tun module, so i modify with lib/Makefile like this: KERN_SRCS+= kern_conf.c NET_SRCS+=if_tun.C

recompile it , but there is a error: /usr/local/src/f-stack-1.20/lib/../freebsd/kern/kern_conf.c:49:32: fatal error: fs/devfs/devfs_int.h: No such file or directory

is there something i missed? or maybe it's a wrong way? thanks for your time

jfb8856606 commented 4 years ago

F-Stack can't include fs dir or FreeBSD, you can find it in sys/fs/ of freebsd-releng-11.0 repo, and add to F-Stack. Maybe you will need do more modify for it.