Skip to content
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

Compilation Error #17

Open
PrimeS3c opened this issue Sep 12, 2023 · 1 comment
Open

Compilation Error #17

PrimeS3c opened this issue Sep 12, 2023 · 1 comment

Comments

@PrimeS3c
Copy link

PrimeS3c commented Sep 12, 2023

I am getting this error below. Kindly help with the approach to get it fixed.

`/home/iprimes3c/go/pkg/mod/golang.org/x/[email protected]/windows/zsyscall_windows.go:4352:30: error: too many arguments
4352 | r1, _, e1 := syscall.Syscall(procWTSQueryUserToken.Addr(), 2, uintptr(session), uintptr(unsafe.Pointer(token)), 0)
| ^
[!] failed to compile
[!] exit status 2

`

@TomChv
Copy link
Collaborator

TomChv commented Nov 19, 2023

Hi!

I think you are not compiling with the correct flags, did you try to set GOARCH and GOOS to windows architecture?

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

No branches or pull requests

2 participants