Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastsocket/module 目录下链接无效 #55

Open
svc-design opened this issue Apr 18, 2016 · 5 comments
Open

fastsocket/module 目录下链接无效 #55

svc-design opened this issue Apr 18, 2016 · 5 comments

Comments

@svc-design
Copy link

fastsocket.c -> ../kernel/net/fastsocket/fastsocket.c 这是一个无效的链接文件

@gfreewind
Copy link
Contributor

能具体说说问题吗?

@svc-design
Copy link
Author

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

@svc-design
Copy link
Author

还有,作者你对内核源码树里不少头文件定义都修改了,单独一个module目录是无法编译内核模块的!

@gfreewind
Copy link
Contributor

如果你用的是fastsocket自带的内核,就可以单独编译内核模块

@svc-design
Copy link
Author

我们在评估把fastsocket移植到3.16或者更高版本内核,我们公司不使用redhat系列发行版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants