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

Got issue when try to compile sonar server ! #48

Open
spookycheekybreeky opened this issue Jun 12, 2022 · 3 comments
Open

Got issue when try to compile sonar server ! #48

spookycheekybreeky opened this issue Jun 12, 2022 · 3 comments

Comments

@spookycheekybreeky
Copy link

when i try to bluid the crobat-server

go build -tags=go_json -o bin/crobat-server ./cmd/crobat-server

i got this error "cmd/crobat-server/grpc/server.go:77:25: unknown field 'IPv4' in struct literal of type "github.com/cgboal/sonarsearch/proto".Domain (but does have Ipv4)"

any help ? thx

@spookycheekybreeky
Copy link
Author

also where is the source for the web api ? thx

@Cgboal
Copy link
Owner

Cgboal commented Jul 7, 2022

The source for the web api is in that cmd/crobat-server directory. Try using the makefile to compile

@henshin
Copy link

henshin commented Aug 24, 2022

There's a typo on the server.go file related to the structure field names.
Replace IPv4 with Ipv4 on the server.go file and it will compile without issues.

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

3 participants