-
Notifications
You must be signed in to change notification settings - Fork 134
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
Cross compile for Windows: undefined: syscall.Stat_t #23
Comments
Hi, I'm still having this issue - @vishvananda was this solved? Thanks. |
@quantonganh Hi,I‘m meet this problem,Can you tell me how solve?Thanks |
Set this in .vscode/settings.json when you use vscode on windows
|
This commit is to make sure there is no compilication issue with windows. Fixes vishvananda#23 Signed-off-by: Tam Mach <sayboras@yahoo.com>
This commit is to make sure there is no compilation issue with windows for netlink and netns packages Relates to vishvananda/netlink#146 Relates to vishvananda/netns#23 Suggested-by: Tobias Klauser <tobias@cilium.io> Signed-off-by: Tam Mach <tam.mach@cilium.io>
This commit is to make sure there is no compilation issue with windows for netlink and netns packages Relates to vishvananda/netlink#146 Relates to vishvananda/netns#23 Suggested-by: Tobias Klauser <tobias@cilium.io> Signed-off-by: Tam Mach <tam.mach@cilium.io>
Adding that to the setting.json just enabled vscode not to identify syscall.Stat_t as an error but upon compiling, the output is undefined syscall.Stat_t |
This commit is to make sure there is no compilication issue with windows. Fixes vishvananda#23 Signed-off-by: Tam Mach <sayboras@yahoo.com>
This commit is to make sure there is no compilication issue with windows. Fixes vishvananda#23 Signed-off-by: Tam Mach <sayboras@yahoo.com>
I think #61 solved this, so closing. If still an issue for |
Update netns to github.com/vishvananda/netns v0.0.4 works. |
The text was updated successfully, but these errors were encountered: