-
Notifications
You must be signed in to change notification settings - Fork 2.3k
build fails with musl libc #761
Copy link
Copy link
Closed
Description
When building with musl libc build fails with this error:
go build -ldflags "-X main.gitCommit=9384f484ff795fb049f1dd2dc977536baae472c3" -tags "seccomp" -o runc .
# github.com/opencontainers/runc/libcontainer/nsenter
Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/nsenter/nsexec.c:21:27: fatal error: bits/sockaddr.h: No such file or directory
compilation terminated.
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2According the glibc source, the bits/sockaddr.h header should never be included directly, instead sys/socket.h should be used instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels