PoC-Consortium / Nogrod

The all-new PoCC pool software; "Fortunes are mined here"
Other
47 stars 33 forks source link

Make not working: Upgrading from 1.2.0 #52

Open Valareos opened 5 years ago

Valareos commented 5 years ago

Having trouble making latest build, I am still on 1.2.0 (pre Nogrod)

cd pkg/burstmath && make make[1]: Entering directory '/srv/tmp/Nogrod-1.4.4/pkg/burstmath' cd libs; \ cc -Wall -m64 -O3 -mtune=native -fPIC -c -o shabal64.o shabal64.s; \ cc -Wall -m64 -O3 -mtune=native -fPIC -c -o mshabal_sse4.o mshabal_sse4.c; \ cc -Wall -m64 -O3 -mtune=native -fPIC -mavx2 -c -o mshabal256_avx2.o mshabal256_avx2.c; \ cc -Wall -m64 -O3 -mtune=native -fPIC -shared -o libburstmath.a burstmath.c shabal64.o mshabal_sse4.o mshabal256_avx2.o -lpthread -std=gnu99; burstmath.c: In function ‘calculate_deadline’: burstmath.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] req->deadline = (uint64_t )finals2 / req->base_target; ^~~ burstmath.c: In function ‘calculate_deadlines_sse4’: burstmath.c:144:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] reqs[i]->deadline = (uint64_t )finals2[i] / reqs[i]->base_target; ^~~~ burstmath.c: In function ‘calculate_deadlines_avx2’: burstmath.c:210:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] reqs[i]->deadline = (uint64_t )finals2[i] / reqs[i]->base_target;; ^~~~ make[1]: Leaving directory '/srv/tmp/Nogrod-1.4.4/pkg/burstmath' go build -o Nogrod main.go:6:2: cannot find package "github.com/PoC-Consortium/Nogrod/pkg/config" in any of: /usr/local/go/src/github.com/PoC-Consortium/Nogrod/pkg/config (from $GOROOT) /root/go/src/github.com/PoC-Consortium/Nogrod/pkg/config (from $GOPATH) main.go:7:2: cannot find package "github.com/PoC-Consortium/Nogrod/pkg/modelx" in any of: /usr/local/go/src/github.com/PoC-Consortium/Nogrod/pkg/modelx (from $GOROOT) /root/go/src/github.com/PoC-Consortium/Nogrod/pkg/modelx (from $GOPATH) main.go:8:2: cannot find package "github.com/PoC-Consortium/Nogrod/pkg/pool" in any of: /usr/local/go/src/github.com/PoC-Consortium/Nogrod/pkg/pool (from $GOROOT) /root/go/src/github.com/PoC-Consortium/Nogrod/pkg/pool (from $GOPATH) main.go:9:2: cannot find package "github.com/PoC-Consortium/Nogrod/pkg/wallethandler" in any of: /usr/local/go/src/github.com/PoC-Consortium/Nogrod/pkg/wallethandler (from $GOROOT) /root/go/src/github.com/PoC-Consortium/Nogrod/pkg/wallethandler (from $GOPATH) main.go:10:2: cannot find package "github.com/PoC-Consortium/Nogrod/pkg/webserver" in any of: /usr/local/go/src/github.com/PoC-Consortium/Nogrod/pkg/webserver (from $GOROOT) /root/go/src/github.com/PoC-Consortium/Nogrod/pkg/webserver (from $GOPATH) Makefile:19: recipe for target 'build' failed make: *** [build] Error 1