Git Product home page Git Product logo

Comments (3)

wishstudio avatar wishstudio commented on July 26, 2024

Seems it is caused by older VC which doesn't support variable declarations in the middle of a block.
Try update your visual studio installation.

from flinux.

Sh4rK avatar Sh4rK commented on July 26, 2024

Ok, I got a step closer. Visual Studio 2013 Update 4 had to be installed (maybe this should be documented).

But now I get a bunch of linker errors:

1>console.obj : error LNK2019: unresolved external symbol __imp__NtCreateSection@28 referenced in function _console_init
1>mm.obj : error LNK2001: unresolved external symbol __imp__NtCreateSection@28
1>console.obj : error LNK2019: unresolved external symbol __imp__NtMapViewOfSection@40 referenced in function _console_fork
1>mm.obj : error LNK2001: unresolved external symbol __imp__NtMapViewOfSection@40
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtClose@4 referenced in function _winfs_getdents
1>mm.obj : error LNK2001: unresolved external symbol __imp__NtClose@4
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtCreateFile@44 referenced in function _winfs_getdents
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtOpenFile@24 referenced in function _winfs_unlink
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtQueryInformationFile@20 referenced in function _move_to_recycle_bin
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtSetInformationFile@20 referenced in function _winfs_truncate
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtQueryDirectoryFile@44 referenced in function _winfs_getdents
1>winfs.obj : error LNK2019: unresolved external symbol __imp__NtQueryVolumeInformationFile@20 referenced in function _winfs_statfs
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlAppendUnicodeStringToString@8 referenced in function _RtlAppendInt64ToString
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlAppendUnicodeToString@8 referenced in function _move_to_recycle_bin
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlConvertSidToUnicodeString@12 referenced in function _move_to_recycle_bin
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlHashUnicodeString@16 referenced in function _move_to_recycle_bin
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlInitUnicodeString@8 referenced in function _move_to_recycle_bin
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlInt64ToUnicodeString@16 referenced in function _RtlAppendInt64ToString
1>winfs.obj : error LNK2019: unresolved external symbol __imp__RtlIntegerToUnicodeString@12 referenced in function _RtlAppendIntegerToString
1>mm.obj : error LNK2019: unresolved external symbol __imp__NtQueryObject@20 referenced in function _take_block_ownership
1>mm.obj : error LNK2019: unresolved external symbol __imp__NtUnmapViewOfSection@8 referenced in function _duplicate_section
1>timer.obj : error LNK2019: unresolved external symbol __imp__NtDelayExecution@8 referenced in function _sys_nanosleep
1>timer.obj : error LNK2019: unresolved external symbol __imp__NtQueryTimerResolution@12 referenced in function _sys_clock_getres
1>D:\Prog\flinux-master\Debug\flinux.exe : fatal error LNK1120: 20 unresolved externals

Suggestion?

from flinux.

vitalyster avatar vitalyster commented on July 26, 2024

You need to create ntdll.lib with dlltool, as documented. Also you can check if MSVC 2013 have ntdll.lib preinstalled, add ntdll.lib to additional dependencies of linker.

from flinux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.