Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

error during installation #4

Closed
KorroQln opened this issue Dec 17, 2017 · 1 comment
Closed

error during installation #4

KorroQln opened this issue Dec 17, 2017 · 1 comment

Comments

@KorroQln
Copy link

C:\file>go build subjack.go

.\subjack.go:208:14: undefined: syscall.Rlimit
.\subjack.go:209:10: undefined: syscall.Getrlimit
.\subjack.go:209:28: undefined: syscall.RLIMIT_NOFILE
.\subjack.go:216:9: undefined: syscall.Setrlimit
.\subjack.go:216:27: undefined: syscall.RLIMIT_NOFILE
.\subjack.go:220:9: undefined: syscall.Getrlimit
.\subjack.go:220:27: undefined: syscall.RLIMIT_NOFILE
.\test.go:5:6: main redeclared in this block
previous declaration at .\subjack.go:226:6

@haccer
Copy link
Owner

haccer commented Jan 17, 2018

Fixed in latest commit.

Before subjack was *nix only because there was a function raising the ulimit. I removed that function and figured out a proper work around. It should compile on Windows just fine now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants