Skip to content
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

Make not working: Upgrading from 1.2.0 #52

Open
Valareos opened this issue Oct 28, 2019 · 0 comments
Open

Make not working: Upgrading from 1.2.0 #52

Valareos opened this issue Oct 28, 2019 · 0 comments

Comments

@Valareos
Copy link

Valareos commented Oct 28, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant