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

Compile Error: LNK2001: _SystemFunction041 #415

Open
Coleiras opened this issue Dec 13, 2022 · 6 comments
Open

Compile Error: LNK2001: _SystemFunction041 #415

Coleiras opened this issue Dec 13, 2022 · 6 comments

Comments

@Coleiras
Copy link

Coleiras commented Dec 13, 2022

Any solution for the following error?

4>kuhl_m_misc_citrix.obj : error LNK2001: símbolos externos indefinidos _SystemFunction041
4>C:\Users\User\Downloads\mimikatz\Win32\mimikatz.exe : fatal error LNK1120: 1 externo não resolvidos
4>Projeto de compilação pronto "mimikatz.vcxproj" -- FALHA.

image
image

@bbhorrigan
Copy link

bbhorrigan commented Dec 16, 2022

Its unable to find a definition for an_systemfunction41 that has been referenced in your code. Which is not defined in your project.where the symbol is being referenced in your code, and either provide a definition for it or remove the reference to it. It's also possible that the symbol is being referenced in a library that you are linking to, in which case you will need to make sure that the library is properly linked to your project.

@GabgM
Copy link

GabgM commented Mar 17, 2023

Have you solved this problem yet? What should I do?

@mbillen-cimt
Copy link

I have the same problem. Could you give any advise how to solve that issue?

@GabgM
Copy link

GabgM commented Jul 20, 2023

I have the same problem. Could you give any advise how to solve that issue?

This is because ntsecapi. h incorrectly declared the Function prototype. You can refer to https://blog.gentilkiwi.com/tag/systemfunction041 Make modifications

@mbillen-cimt
Copy link

mbillen-cimt commented Jul 21, 2023 via email

@jedai47
Copy link

jedai47 commented Nov 17, 2023

same issue on visual studio ultimate 2013 ... what am i doing wrong

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

5 participants