Open svc-design opened 8 years ago
能具体说说问题吗?
root@deepin:/data/codes/gitrepo/fastsocket/module# ls -l 总用量 16 lrwxrwxrwx 1 root root 37 4月 12 16:11 fastsocket.c -> ../kernel/net/fastsocket/fastsocket.c lrwxrwxrwx 1 root root 37 4月 12 16:11 fastsocket.h -> ../kernel/net/fastsocket/fastsocket.h -rw-r--r-- 1 root root 5017 4月 12 16:11 README.md root@deepin:/data/codes/gitrepo/fastsocket/module# ls -l ../kernel/net/fastsocket/ 总用量 68 -rwxr-xr-x 1 root root 9972 4月 18 10:44 fastsocket_api.c -rwxr-xr-x 1 root root 44386 4月 18 10:44 fastsocket_core.c -rwxr-xr-x 1 root root 3355 4月 18 13:39 fastsocket.h
还有,作者你对内核源码树里不少头文件定义都修改了,单独一个module目录是无法编译内核模块的!
如果你用的是fastsocket自带的内核,就可以单独编译内核模块
我们在评估把fastsocket移植到3.16或者更高版本内核,我们公司不使用redhat系列发行版
fastsocket.c -> ../kernel/net/fastsocket/fastsocket.c 这是一个无效的链接文件