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

tcc error undefined symbol '_GetNativeSystemInfo@4' #56

Open
quaesitor-scientiam opened this issue Dec 7, 2024 · 3 comments
Open

tcc error undefined symbol '_GetNativeSystemInfo@4' #56

quaesitor-scientiam opened this issue Dec 7, 2024 · 3 comments

Comments

@quaesitor-scientiam
Copy link

Run make.bat with tcc in path results in failed build of V

S:\repo\vlang>make.bat
Updating TCC

Syncing TCC from https://github.com/vlang/tccbin

Updating vc...

Sync with remote https://github.com/vlang/vc

Building V...

Attempting to build "./v_win_bootstrap.exe" (from v_win.c) with "thirdparty/tcc/tcc.exe"
tcc: error: undefined symbol '_GetNativeSystemInfo@4'

Backend compiler error

@Ekopalypse
Copy link

Looks like your version of the kernel32.def file does not contain the GetNativeSystemInfo symbol. Or is it possible that a TCC version other than the one supplied by V is found?

@quaesitor-scientiam
Copy link
Author

quaesitor-scientiam commented Dec 23, 2024

Had to restore from backup. After that things worked again. Not sure what the cause was.

@Ekopalypse
Copy link

Could it be that you have used multiple tcc installations?
Because GetNativeSystemInfo is included in the version that V provides, but not in the official version, for example.

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