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

undefined: core.GetSysIdHashing when compiling in a Docker container #8

Open
lorenzog opened this issue Oct 17, 2023 · 2 comments
Open

Comments

@lorenzog
Copy link

Describe the bug
The project does not compile on the latest golang Docker images

To Reproduce

  1. Clone the project
  2. Start a docker container, e.g. docker run -it --rm -v $PWD:/data go:latest /bin/bash
  3. Compile the project

Expected behavior
The project compiles

Actual Behaviour
An error is returned

root@c9d01abe2514:/go# cd /data
root@c9d01abe2514:/data# make
mkdir build/
export CGO_ENABLED=0
GOARCH=amd64 GOOS=windows go build -o build/hooka-amd64-windows.exe main.go
go: downloading github.com/D3Ext/maldev v0.1.4
go: downloading github.com/Binject/debug v0.0.0-20230508195519-26db73212a7a
go: downloading github.com/awgh/rawreader v0.0.0-20200626064944-56820a9c6da4
go: downloading github.com/google/uuid v1.3.1
go: downloading golang.org/x/sys v0.12.0
go: downloading github.com/briandowns/spinner v1.23.0
go: downloading github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
go: downloading github.com/fatih/color v1.15.0
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading golang.org/x/term v0.8.0
go: downloading github.com/mattn/go-colorable v0.1.13
# github.com/D3Ext/Hooka/pkg/hooka
pkg/hooka/hashing.go:10:14: undefined: core.GetSysIdHashing
make: *** [Makefile:6: all] Error 1

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS
  • Latest Docker golang image as per 2023-10-17
@lorenzog
Copy link
Author

Turns out the latest commit broke the installer 2f92e54

@D3Ext
Copy link
Owner

D3Ext commented Oct 17, 2023

Oh thanks for the report, I renamed that function but didn't updated it on the main program. I update it today

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

2 participants