Multiple issues in the codebase while building it #2127
aakar-srivastava
started this conversation in
General
Replies: 1 comment
-
See #1969 cc @RonFed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi fellas, recently I was trying to build this repo for auto instrumentation in a Golang application. While doing so, I encountered multiple errors while building it, such as in the allocate.go file, I get this error:
# go.opentelemetry.io/auto/internal/pkg/process internal/pkg/process/allocate.go:43:13: invalid operation: pagesize * nCPU (mismatched types uint64 and int) internal/pkg/process/allocate.go:64:14: cannot use nCPU (variable of type int) as uint64 value in struct literal make: *** [build] Error 1
Also, when I resolve this, then I get something like:
internal/pkg/instrumentation/probe/probe.go:76:26: undefined: perf.Record internal/pkg/instrumentation/probe/probe.go:78:24: undefined: perf.Reader internal/pkg/instrumentation/probe/probe.go:236:23: undefined: perf.NewReader internal/pkg/instrumentation/probe/probe.go:267:27: undefined: perf.ErrClosed internal/pkg/instrumentation/probe/probe.go:321:27: undefined: perf.ErrClosed internal/pkg/instrumentation/probe/probe.go:353:27: undefined: perf.ErrClosed
Am I doing something very wrong, or how is it exactly supposed to work? Please help me out.
Beta Was this translation helpful? Give feedback.
All reactions