usbarmory / interlock

INTERLOCK - file encryption and HSM front-end
Other
295 stars 46 forks source link

Cannot compile code #9

Closed c0rv4x closed 9 years ago

c0rv4x commented 9 years ago

Cannot compile the program, getting this error on syscall module.

~/github/interlock$ make

cd server && go build -ldflags "-X main.InterlockBuild \"@mac.local on \"" -o ../interlock

_/Users/123/github/interlock/server

./status.go:118: undefined: syscall.Sysinfo_t ./status.go:119: undefined: syscall.Sysinfo make: *\ [build] Error 2

Have read that syscall package moved to sys.unix, but cannot successefully import this package. Using MacOS Yosemite.

abarisani commented 9 years ago

I am afraid that INTERLOCK is designed for Linux at this time and it can only be compiled, or cross-compiled, from Linux hosts. I'll update docs to make this clearer.