-
Notifications
You must be signed in to change notification settings - Fork 682
Closed
Description
I just clone the latest code and go get ./... then run make but failed for build bianry:
CGO_ENABLED=1 GOOS=linux GO111MODULE=on go build \
-mod vendor \
-o bin/node-problem-detector \
-ldflags '-X k8s.io/node-problem-detector/pkg/version.version=v0.8.13-4-g9fd58e3' \
-tags "journald " \
./cmd/nodeproblemdetector
# github.com/coreos/go-systemd/sdjournal
vendor/github.com/coreos/go-systemd/sdjournal/journal.go:27:11: fatal error: systemd/sd-journal.h: No such file or directory
27 | // #include <systemd/sd-journal.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:199: bin/node-problem-detector] Error 2
Metadata
Metadata
Assignees
Labels
No labels