-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Compilation error in daemon/netfilter #189
Comments
Same problem here (openSUSE Leap 15.0). Have you found a way to fix this? |
Found any solution? |
I've just compiled the daemon on OpenSuse Leap 15 with no errors.
it looks like the only difference is the go version, which I just installed today. |
Fixed with latest version. |
user@xxxxx:~/go/src/github.com/evilsocket/opensnitch/daemon> make
github.com/evilsocket/opensnitch/daemon/netfilter
netfilter/queue.go:118: cannot use queueSize (type C.u_int32_t) as type C.uint32_t in argument to func literal
netfilter/queue.go:121: cannot use C.u_int8_t(2) (type C.u_int8_t) as type C.uint8_t in argument to func literal
make: *** [Makefile:13: opensnitchd] Error 2
System: Linux xxxxxxx@xxxxxxx.xxx 4.12.14-lp150.12.16-default #1 SMP Tue Aug 14 17:51:27 UTC 2018 (28574e6) x86_64 x86_64 x86_64 GNU/Linux
Dist: OpenSuSE Leap 15.0
Go: 1.9
GOARCH="amd64"
GOBIN="/home/dpraet/go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/dpraet/go:/usr/lib64/go/contrib"
GORACE=""
GOROOT="/usr/lib64/go/1.9"
GOTOOLDIR="/usr/lib64/go/1.9/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build553318921=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Netfilter: libnetfilter_queue1/libnetfilter_queue1 1.0.3
The text was updated successfully, but these errors were encountered: