-
Notifications
You must be signed in to change notification settings - Fork 28
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
Coolpy7 kernel extension issue #3
Comments
很可能插件编译环境与运行环境不一致造成, |
@jacoblai The method you said, I tried it, it still didn't work. go version go1.12.5 linux/amd64 |
你确定你是在本项目中的make.sh来生成插件的吗? |
@weiliudong @jacoblai 请问解决了吗,遇到了同样的问题 |
初步判断是没有按指定的模板来编写插件,请参阅手册:https://coolpy7.gitbook.io/coolpy7book/kai-shi-shi-yong/nei-he-gong-neng-kuo-zhan, 一定要参考此项源代码中的make.sh来分析编译过程。 |
@jacoblai 这样环境还有什么问题吗? |
看当前系统里安装的go是什么版本,看下和 coolpy7的 1.12.5是不是一至 |
@jacoblai 上面图上的go1.12.5是编译的go版本 |
把go env发现来看下 |
开个ssh给我进去看下 |
是本机测试的,core是用的docker开的,编译是在linux上 |
建议先不要用 docker直接在本机测试插件编译,成功后可以进入docker里边再次编译,然后把当前环境作为插件打包环境为的产环境提供打包服务 |
plugin: not implemented
Linux li818-156 3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08) x86_64 GNU/Linux
go version go1.12.5 linux/amd64
go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/work"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build291973316=/tmp/go-build -gno-record-gcc-switches"
This is the problem I encountered when I expanded the Coolpy7 kernel function hot load plugin. May I have any problems with this? Always encountered plugin: not implemented
The text was updated successfully, but these errors were encountered: