You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
Hello,
I can't compile thesource code on ZFSGuru(freebsd 9.2-001),
I have installed the Go lang & can run the hello world test program...
I got this:
GOPATH=pwd/golibs /usr/local/go/bin/go build -o zfswatcher
__/tmp/zfswatcher
osutil_freebsd.go:41: cannot convert unsafe.Pointer(&buf[0]) (type unsafe.Pointer) to type syscall.Timeval
osutil_freebsd.go:41: invalid indirect of syscall.Timeval(unsafe.Pointer(&buf[0])) (type syscall.Timeval)
osutil_freebsd.go:43: not enough arguments in call to time.Unix
*** [zfswatcher] Error code 2
Stop in /tmp/zfswatcher.
Also when I try to type 'go install' I get:
setup.go:25:2: cannot find package "code.google.com/p/gcfg" in any of:
/usr/local/go/src/pkg/code.google.com/p/gcfg (from $GOROOT)
/root/go/src/code.google.com/p/gcfg (from $GOPATH)
webserver.go:26:2: cannot find package "github.com/abbot/go-http-auth" in any of:
/usr/local/go/src/pkg/github.com/abbot/go-http-auth (from $GOROOT)
/root/go/src/github.com/abbot/go-http-auth (from $GOPATH)
leds.go:27:2: cannot find package "github.com/damicon/zfswatcher/notifier" in any of:
/usr/local/go/src/pkg/github.com/damicon/zfswatcher/notifier (from $GOROOT)
/root/go/src/github.com/damicon/zfswatcher/notifier (from $GOPATH)
setup.go:29:2: cannot find package "github.com/ogier/pflag" in any of:
Hello,
I can't compile thesource code on ZFSGuru(freebsd 9.2-001),
I have installed the Go lang & can run the hello world test program...
I got this:
GOPATH=
pwd
/golibs /usr/local/go/bin/go build -o zfswatcher__/tmp/zfswatcher
osutil_freebsd.go:41: cannot convert unsafe.Pointer(&buf[0]) (type unsafe.Pointer) to type syscall.Timeval
osutil_freebsd.go:41: invalid indirect of syscall.Timeval(unsafe.Pointer(&buf[0])) (type syscall.Timeval)
osutil_freebsd.go:43: not enough arguments in call to time.Unix
*** [zfswatcher] Error code 2
Stop in /tmp/zfswatcher.
Also when I try to type 'go install' I get:
setup.go:25:2: cannot find package "code.google.com/p/gcfg" in any of:
/usr/local/go/src/pkg/code.google.com/p/gcfg (from $GOROOT)
/root/go/src/code.google.com/p/gcfg (from $GOPATH)
webserver.go:26:2: cannot find package "github.com/abbot/go-http-auth" in any of:
/usr/local/go/src/pkg/github.com/abbot/go-http-auth (from $GOROOT)
/root/go/src/github.com/abbot/go-http-auth (from $GOPATH)
leds.go:27:2: cannot find package "github.com/damicon/zfswatcher/notifier" in any of:
/usr/local/go/src/pkg/github.com/damicon/zfswatcher/notifier (from $GOROOT)
/root/go/src/github.com/damicon/zfswatcher/notifier (from $GOPATH)
setup.go:29:2: cannot find package "github.com/ogier/pflag" in any of:
/usr/local/go/src/pkg/github.com/ogier/pflag (from $GOROOT) /root/go/src/github.com/ogier/pflag (from $GOPATH)
please advice.
Thanks a lot,
Michael
The text was updated successfully, but these errors were encountered: