elastic / elastic-agent-system-metrics

Apache License 2.0
0 stars 22 forks source link

Cross Compilation Failure for AIX Target #83

Open serak opened 1 year ago

serak commented 1 year ago

environmental variables

GOARCH=ppc64
GOOS=aix
C:\Users\Serak\Desktop\goProject\beats\filebeat>go build
# github.com/elastic/elastic-agent-system-metrics/metric/system/process
..\..\..\..\go\pkg\mod\github.com\elastic\elastic-agent-system-metrics@v0.5.1-0.20230328163318-a87a0b315c42\metric\system\process\process.go:57:24: init.FetchPids undefined (type Stats has no field or method FetchPids)
..\..\..\..\go\pkg\mod\github.com\elastic\elastic-agent-system-metrics@v0.5.1-0.20230328163318-a87a0b315c42\metric\system\process\process.go:78:20: undefined: GetInfoForPid
..\..\..\..\go\pkg\mod\github.com\elastic\elastic-agent-system-metrics@v0.5.1-0.20230328163318-a87a0b315c42\metric\system\process\process.go:94:34: procStats.FetchPids undefined (type *Stats has no field or method FetchPids)
..\..\..\..\go\pkg\mod\github.com\elastic\elastic-agent-system-metrics@v0.5.1-0.20230328163318-a87a0b315c42\metric\system\process\process.go:194:17: undefined: GetInfoForPid
..\..\..\..\go\pkg\mod\github.com\elastic\elastic-agent-system-metrics@v0.5.1-0.20230328163318-a87a0b315c42\metric\system\process\process.go:211:16: undefined: FillPidMetrics
ycombinator commented 2 months ago

@serak Is this issue still happening for you?