elddy / NimScan

🚀 Fast Port Scanner 🚀
MIT License
381 stars 38 forks source link

i have trouble install it #6

Closed What2Life closed 3 years ago

What2Life commented 3 years ago

i have no idea how could pack it up to an exe. my try in test.c : scan(IP, ports, size); // Scan given ports with default configuration (timeout = 1500ms, files = 5000) scanner(IP, NULL, 0, ""); // Scanning all 65K ports with given arguments

However ,everytime it comes to : test.c:19:10: 错误:expected expression before ‘<’ token it seems that IP/Host havn't been clained, may i get u help?

elddy commented 3 years ago

I need to see your full code. Can you send me the code via email, please?

What2Life commented 3 years ago

include

int main(void) { NimMain(); // A MUST!

int ports[] = {1, 445, 8080, 3389, 135, 139};
int size = sizeof ports / sizeof ports[0];

scan(<IP/HOST>, ports, size); // Scan given ports with default configuration (timeout = 1500ms, files = 5000)

scanner(<IP/HOST>, NULL, 0, "<arguments>"); // Scanning all 65K ports with given arguments
return 0;

}

I just use the code in the create which is a part of readme.md

sorry to trouble u.

What2Life commented 3 years ago

this email could be replyed? i don't get it ,can u describe it directly? such as how to make up the .c file and the command of setting it up?------------------ 原始邮件 ------------------ @.> 发送时间: 2021年3月15日(星期一) 下午5:59 @.>; @.**@.>; 主题: Re: [elddy/NimScan] i have trouble install it (#6)

elddy commented 3 years ago

How did you compile the code? Did you download the NimScanToC.a file as well?

What2Life commented 3 years ago

gcc test.c -L. -l:NimScanToC.a -w -o NimScan.exe

as well as the NimScanToC.a in the same file floder,test.c down there. i use wsl and cmd to compile it , both of them seems failed.

include

int main(void) { NimMain(); // A MUST!

int ports[] = {1, 445, 8080, 3389, 135, 139};
int size = sizeof ports / sizeof ports[0];

scan(<IP/HOST>, ports, size); // Scan given ports with default configuration (timeout = 1500ms, files = 5000)

scanner(<IP/HOST>, NULL, 0, "<arguments>"); // Scanning all 65K ports with given arguments
return 0;

}

elddy commented 3 years ago

Did you change the <IP/HOST> and "arguments" to real values?

What2Life commented 3 years ago

while i change it to a real address , it's a new error report: collect2: error: ld returned 1 exit status

What2Life commented 3 years ago

but i want a tool which is packed and free to set a new IP address to scan in cmder 's screen . if i don't want to compile twice or more ,what i should do .

elddy commented 3 years ago

I need the code you compiled to understand the problem. To pass arguments from the console in C, you need to use the argv[] method. The main function should look like this:

int main(int argc, char *argv[])
{
    // Code
    scan(argv[1], ports, size);
   // Code
}
What2Life commented 3 years ago

test.c :

include

int main(int argc,char *argv[]) { NimMain(); // A MUST!

int ports[] = {1, 445, 8080, 3389, 135, 139};
int size = sizeof ports / sizeof ports[0];

scan(argv[1], ports, size); // Scan given ports with default configuration (timeout = 1500ms, files = 5000)

scanner(argv[1], NULL, 0, "<arguments>"); // Scanning all 65K ports with given arguments
return 0;

}

gcc test.c -L. -l:NimScanToC.a -w -o NimScan.exe

still turns out a problem :

./NimScanToC.a(@mNimScanToC.nim.c.o):@mNimScanToC.nim.c:(.text+0x8eb): undefined reference to __imp_TlsAlloc' ./NimScanToC.a(@mNimScanToC.nim.c.o):@mNimScanToC.nim.c:(.text+0x903): undefined reference toimp_TlsSetValue' ./NimScanToC.a(stdlib_locks.nim.c.o):stdlib_locks.nim.c:(.text+0x3): undefined reference to __imp_EnterCriticalSection' ./NimScanToC.a(stdlib_locks.nim.c.o):stdlib_locks.nim.c:(.text+0x13): undefined reference toimp_LeaveCriticalSection' ./NimScanToC.a(stdlib_sharedlist.nim.c.o):stdlib_sharedlist.nim.c:(.text+0xe): undefined reference to __imp_InitializeCriticalSection' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x65b): undefined reference toimp_EnterCriticalSection' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x66f): undefined reference to `_impacrt_iob_func' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x706): undefined reference to __imp_LeaveCriticalSection' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x743): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x8fd): undefined reference to `imp_InitializeCriticalSection' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x904): undefined reference to `imp_acrt_iob_func' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x91e): undefined reference to __imp__fileno' ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x92a): undefined reference toimpsetmode' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbd): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc9): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd5): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x102): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x10e): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11a): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x152): undefined reference to __imp___acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1aa): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1b7): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1cd): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2f7): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x36d): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x379): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x44a): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4be): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4d2): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x656): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x65f): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x66e): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6c4): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7cc): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7d3): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x82f): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8f0): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1227): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1233): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x123f): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x162f): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1776): undefined reference to `imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1782): undefined reference to `imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x178e): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1839): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1845): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1851): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x18ca): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x18d6): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x18e2): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1cb1): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1cbd): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1cc9): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1d46): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1d52): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1d5e): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1de8): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1e81): undefined reference to `imp_VirtualAlloc' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1ea4): undefined reference to `imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1eb0): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1ebc): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x230a): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2316): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2322): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x24bd): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x24c9): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x24d5): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x257a): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2586): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2592): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2717): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2723): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x272f): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2872): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x287e): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x288a): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2909): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x291b): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2927): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x29aa): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x29b6): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x29c2): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2eaa): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2eb6): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2ec2): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2f78): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2f84): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2f90): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3130): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x313d): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x314a): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3462): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x346e): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x347a): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x34f7): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3503): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x350f): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3574): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3580): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x358c): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3634): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3640): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x364c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x36fc): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3708): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3714): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x379a): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x37a6): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x37b2): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3864): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3870): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x387c): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x38fa): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3904): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3913): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3ac2): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3acb): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3add): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3c1c): undefined reference toimp_VirtualAlloc' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x40eb): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x40f5): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4107): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x41c3): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x41cf): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x41db): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x439b): undefined reference to __imp_VirtualFree' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4a63): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4a6f): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4a7b): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4e39): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4e63): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x4e78): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x51c5): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x51d1): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x51dd): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x52ae): undefined reference to __imp_VirtualAlloc' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x585c): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x5868): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x5874): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x58b7): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x58c3): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x58cf): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x5973): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x597f): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x598b): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x5a17): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x5a24): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x5a31): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6523): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x652d): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x653f): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x65c7): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x65d3): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x65df): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x671c): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6728): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6734): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x67dc): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x67e8): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x67f4): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6c35): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6c41): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6c4d): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6dde): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6dea): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6df6): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x70b2): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x70bb): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x70cd): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7d87): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7d93): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7d9f): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8406): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x840d): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8464): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x84d4): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x879a): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x87a1): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x87bc): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8ae3): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8aef): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8afb): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8b8f): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8be8): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8bf1): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8c59): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9287): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9290): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x929c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x92f4): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x95b2): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x95be): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x95ca): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9602): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x960e): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x961a): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9acf): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9adb): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9ae7): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9b73): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9b7f): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9b8b): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9db9): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9ddc): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9de8): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xace2): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xace9): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xad04): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb16e): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb180): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb18c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb501): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb789): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb795): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb7a2): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb996): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb9a5): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb9b1): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xba12): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xba1f): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xba6a): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbb38): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbb45): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbb55): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbd32): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbd3e): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbd4a): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbda8): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbdb5): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbdc5): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbf9e): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbfaa): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbfb6): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc014): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc021): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc031): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc20a): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc216): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc222): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc280): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc28d): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc29d): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc47c): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc488): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc494): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc4f2): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc4ff): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc50f): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc6ec): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc6f8): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc704): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc762): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc76f): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc77f): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc958): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc964): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc970): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc9ce): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc9db): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc9eb): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcbc4): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcbd0): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcbdc): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcc3a): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcc47): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcc57): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xce38): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xce44): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xce50): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcebb): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcec7): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xced3): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcf1e): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcf2a): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcf88): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcf95): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcfa5): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd221): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd22d): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd239): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd2a1): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd2ad): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd5ed): undefined reference toimp_longjmp' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd642): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd64e): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd65a): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd91e): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd94f): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd95c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdc3b): undefined reference to `_impacrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdd32): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdd42): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdd4e): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdd8e): undefined reference toimp_LoadLibraryA' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xddab): undefined reference to __imp___acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xde2a): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdef6): undefined reference to `imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdf0d): undefined reference to `imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdf77): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xdfd8): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe03a): undefined reference to __imp_GetProcAddress' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe0a0): undefined reference toimp_GetProcAddress' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe5e6): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe5f2): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe5fe): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe675): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe681): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xe68d): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf3cd): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf3d9): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf3e5): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf4b6): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf4bf): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf4d1): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf589): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf595): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf5a1): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf632): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf63e): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf64a): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf86b): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf877): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf883): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf9d6): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf9e2): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xf9ee): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfc49): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfc55): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfc61): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfcf4): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfd00): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfd0c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfdb6): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfdc2): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfdce): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfe59): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfe65): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfe71): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xfef9): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xff05): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xff11): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xff99): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xffa5): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xffb1): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xffe7): undefined reference to __imp_EnterCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x10002): undefined reference toimp_LeaveCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x10038): undefined reference to __imp_EnterCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x10053): undefined reference toimp_LeaveCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x100cd): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x100d6): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x100ec): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x102be): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x102ca): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x102d6): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11135): undefined reference to __imp_longjmp' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11364): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11370): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1137c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x113b8): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x113c8): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x113d7): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x114b8): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x114bf): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x114c6): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x115b4): undefined reference to __imp_VirtualFree' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1172f): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11736): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1174c): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11838): undefined reference to __imp_VirtualFree' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1192d): undefined reference toimp_TlsSetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1195f): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1196b): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1197e): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x119a2): undefined reference toimp_EnterCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x119ba): undefined reference to __imp_LeaveCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x119e2): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x119ee): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x119fa): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11a5a): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11a66): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11a72): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11aa7): undefined reference toimp_EnterCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11ac8): undefined reference to __imp_LeaveCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11ae7): undefined reference toimp_EnterCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11b08): undefined reference to __imp_LeaveCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11b35): undefined reference toimp_EnterCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11b52): undefined reference to __imp_LeaveCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11d09): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11d15): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11d21): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11e84): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11e90): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x11e9c): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1215f): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1216b): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x12177): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x12247): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x12253): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1225f): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x122e9): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x122f5): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x12301): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x12396): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x123a2): undefined reference toimp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x123ae): undefined reference to __imp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1298b): undefined reference toimp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x129a7): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x129ae): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x13414): undefined reference to __imp_GetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1342d): undefined reference toimp_SetLastError' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1343e): undefined reference to __imp_TlsGetValue' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1447a): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1456c): undefined reference to `imp_InitializeCriticalSection' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x14577): undefined reference to `imp_acrt_iob_func' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x179e3): undefined reference to __imp_LoadLibraryA' ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x179fd): undefined reference toimp_GetProcAddress' ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x522): undefined reference to __imp___acrt_iob_func' ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x789): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(@m..@smodules@sglobals.nim.c.o):@m..@smodules@sglobals.nim.c:(.text+0xba): undefined reference to `imp_acrt_iob_func' ./NimScanToC.a(@m..@smodules@sglobals.nim.c.o):@m..@smodules@sglobals.nim.c:(.text+0x1b2): undefined reference to __imp___acrt_iob_func' ./NimScanToC.a(@m..@smodules@sglobals.nim.c.o):@m..@smodules@sglobals.nim.c:(.text+0x223): undefined reference toimp_acrt_iob_func' ./NimScanToC.a(@m..@smodules@sglobals.nim.c.o):@m..@smodules@sglobals.nim.c:(.text+0x2b3): more undefined references to `imp_acrt_iob_func' follow ./NimScanToC.a(@m..@smodules@swindows_sniffer.nim.c.o):@m..@smodules@swindows_sniffer.nim.c:(.text+0x322): undefined reference to ___chkstk_ms' ./NimScanToC.a(@m..@smodules@swindows_sniffer.nim.c.o):@m..@smodules@swindows_sniffer.nim.c:(.text+0x61c): undefined reference to_chkstk_ms' ./NimScanToC.a(@m..@smodules@swindows_sniffer.nim.c.o):@m..@smodules@swindows_sniffer.nim.c:(.text+0x75e): undefined reference to ___chkstk_ms' ./NimScanToC.a(stdlib_dynlib.nim.c.o):stdlib_dynlib.nim.c:(.text+0x9b): undefined reference toimp_LoadLibraryA' ./NimScanToC.a(stdlib_dynlib.nim.c.o):stdlib_dynlib.nim.c:(.text+0x15e): undefined reference to `__imp_GetProcAddress' collect2: error: ld returned 1 exit status

elddy commented 3 years ago

Did you try to compile it in Windows?

What2Life commented 3 years ago

yep, on both linux on win and windows gcc

---Original--- From: @.> Date: Mon, Mar 15, 2021 23:45 PM To: @.>; Cc: @.**@.>; Subject: Re: [elddy/NimScan] i have trouble install it (#6)

Did you try to compile it in Windows?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

elddy commented 3 years ago

In Windows it works for me, did you try to compile the NimScanToC.nim first and then the test.c?

What2Life commented 3 years ago

opps, my fault.

 nim c -d:release -r NimScanToC.nim Hint: used config file '/etc/nim.cfg' [Conf] Hint: used config file '/mnt/c/Users//Desktop/git/NimScan/libForC/NimScanToC.nim.cfg' [Conf] Hint: system [Processing] Hint: NimScanToC [Processing] Hint: globals [Processing] Hint: terminal [Processing] Hint: macros [Processing] Hint: termios [Processing] Hint: posix [Processing] Hint: times [Processing] Hint: strutils [Processing] Hint: parseutils [Processing] Hint: math [Processing] Hint: algorithm [Processing] Hint: os [Processing] Hint: ospaths [Processing] /mnt/c/Users//Desktop/git/NimScan/modules/globals.nim(46, 15) Error: attempting to call undeclared routine: 'styledWrite'

---Original--- From: @.> Date: Mon, Mar 15, 2021 23:55 PM To: @.>; Cc: @.**@.>; Subject: Re: [elddy/NimScan] i have trouble install it (#6)

In Windows it works for me, did you try to compile the NimScanToC.nim first and then the test.c?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

elddy commented 3 years ago

Let me know if you get an error again. In Windows, it should be working.

What2Life commented 3 years ago

that would be tomorrow ,thanks for your patience.

---Original--- From: @.> Date: Tue, Mar 16, 2021 00:30 AM To: @.>; Cc: @.**@.>; Subject: Re: [elddy/NimScan] i have trouble install it (#6)

Let me know if you get an error again. In Windows, it should be working.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.