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 New Version: undefined reference to 'scan' and 'scanner' #18

Open
asterictnl-lvdw opened this issue Apr 26, 2022 · 1 comment
Open

Comments

@asterictnl-lvdw
Copy link

asterictnl-lvdw commented Apr 26, 2022

Hello,

It seems that the instructions of compiling the new version are not correct. I tried the command you listed in your README.md and also looked at the test.c, but failed to compile. You could provide me with the latest .exe or update the README.md please?

Using Kali Linux latest nim and gcc package installed.

@asterictnl-lvdw
Copy link
Author

┌──(root㉿kali)-[/home/kali/NimScan/libForC]
└─# gcc test.c -L. -l:NimScanToC.a -w -o NimScan.exe > error.txt
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text.unlikely+0xc7): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text.unlikely+0xfb): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@mNimScanToC.nim.c.o):@mNimScanToC.nim.c:(.text+0x3bf): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@mNimScanToC.nim.c.o):@mNimScanToC.nim.c:(.text+0x3fc): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x20): undefined reference to `__mingw_vfprintf'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x11b): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x135): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x29b): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x2a2): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x317): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x3ac): undefined reference to `__imp__wfopen'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x3ff): undefined reference to `__imp__wfopen'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x59a): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x5d7): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x6a0): undefined reference to `__imp_InitializeCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x6a7): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x6b2): undefined reference to `__imp__fileno'
/usr/bin/ld: ./NimScanToC.a(stdlib_io.nim.c.o):stdlib_io.nim.c:(.text+0x6be): undefined reference to `__imp__setmode'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x95): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xa7): undefined reference to `__mingw_vfprintf'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xed): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x149): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1d5): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x398): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x597): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xec1): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x12eb): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x15ab): more undefined references to `__imp_VirtualAlloc' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1a4b): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1b83): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1d5e): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x1e93): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2065): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x216e): undefined reference to `__imp_InitializeCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x21a1): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2392): undefined reference to `__imp_InitializeCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x23e9): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x250b): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2d31): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x2e49): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3049): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3167): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3269): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3397): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3499): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x361d): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x36da): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3847): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3b6a): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3bb8): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x3c5e): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6539): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x67c4): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x67e9): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6be1): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6cf1): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x6f50): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x70bf): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x710a): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7150): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7180): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x729c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x72f3): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x741b): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x7468): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x76c0): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8cd6): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8d46): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8daa): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8dfe): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8e48): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8e68): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8ea7): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x8edf): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9043): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x92d6): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9310): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9329): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9365): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x93a6): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x93c7): undefined reference to `__imp_longjmp'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x948c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9573): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9761): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x97df): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x991e): undefined reference to `__imp_LoadLibraryA'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x993b): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9984): undefined reference to `__imp_GetLastError'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x99da): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9a44): undefined reference to `__imp_GetProcAddress'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9b85): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9eac): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x9f4a): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xa733): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xaac1): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xab6e): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xac8a): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xb9f6): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xba3e): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xba55): undefined reference to `__imp_longjmp'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xba61): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbb9f): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbbff): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbc78): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbd02): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbdb3): undefined reference to `__imp_VirtualAlloc'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbf73): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbf9c): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xbfe0): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc01e): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc218): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc4e2): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc64d): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xc7e6): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcd0a): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcd7f): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcdda): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xce3c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xce61): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcf59): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xcfd6): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd0a1): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd199): undefined reference to `__imp_VirtualFree'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd216): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd2df): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd302): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd35c): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd45b): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd46e): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd48e): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd57c): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd611): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd875): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd994): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0xd9fe): undefined reference to `__imp_InitializeCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_system.nim.c.o):stdlib_system.nim.c:(.text+0x10e4c): undefined reference to `__imp_LoadLibraryA'
/usr/bin/ld: ./NimScanToC.a(stdlib_times.nim.c.o):stdlib_times.nim.c:(.text+0x4c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_times.nim.c.o):stdlib_times.nim.c:(.text+0x6c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_os.nim.c.o):stdlib_os.nim.c:(.text+0x4c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_os.nim.c.o):stdlib_os.nim.c:(.text+0x252): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_os.nim.c.o):stdlib_os.nim.c:(.text+0x2db): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_os.nim.c.o):stdlib_os.nim.c:(.text+0x3a0): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x216): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x338): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x374): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x38a): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x428): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x456): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x470): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(stdlib_terminal.nim.c.o):stdlib_terminal.nim.c:(.text+0x5b8): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_nativesockets.nim.c.o):stdlib_nativesockets.nim.c:(.text+0x36a): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_nativesockets.nim.c.o):stdlib_nativesockets.nim.c:(.text+0x55a): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_net.nim.c.o):stdlib_net.nim.c:(.text+0x235): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_net.nim.c.o):stdlib_net.nim.c:(.text+0x272): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_net.nim.c.o):stdlib_net.nim.c:(.text+0x448): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0xc42): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0xec5): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x11df): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x12ac): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x1306): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x133f): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x14a5): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x1589): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_random.nim.c.o):stdlib_random.nim.c:(.text+0x1cf): undefined reference to `__imp_EnterCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_random.nim.c.o):stdlib_random.nim.c:(.text+0x1db): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_random.nim.c.o):stdlib_random.nim.c:(.text+0x2db): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_random.nim.c.o):stdlib_random.nim.c:(.text+0x2f1): undefined reference to `__imp_LeaveCriticalSection'
/usr/bin/ld: ./NimScanToC.a(stdlib_random.nim.c.o):stdlib_random.nim.c:(.text+0x4f9): undefined reference to `__imp_InitializeCriticalSection'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c.o):@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c:(.text+0x7f1): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c.o):@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c:(.text+0xa20): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c.o):@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c:(.text+0xa58): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c.o):@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c:(.text+0xa78): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c.o):@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c:(.text+0xa98): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c.o):@m..@s..@s..@[email protected]@[email protected]@sOSDiscovery.nim.c:(.text+0xab8): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x32): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x455): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x69e): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x79b): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0xce9): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0xf88): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_osproc.nim.c.o):stdlib_osproc.nim.c:(.text+0x1388): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_osproc.nim.c.o):stdlib_osproc.nim.c:(.text+0x1468): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@smodules@swindows_sniffer.nim.c.o):@m..@smodules@swindows_sniffer.nim.c:(.text+0x1c9): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./NimScanToC.a(@m..@smodules@swindows_sniffer.nim.c.o):@m..@smodules@swindows_sniffer.nim.c:(.text+0x28a): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./NimScanToC.a(@m..@smodules@swindows_sniffer.nim.c.o):@m..@smodules@swindows_sniffer.nim.c:(.text+0x322): undefined reference to `___chkstk_ms'
/usr/bin/ld: ./NimScanToC.a(stdlib_parseopt.nim.c.o):stdlib_parseopt.nim.c:(.text+0x150): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@smodules@sparam_parser.nim.c.o):@m..@smodules@sparam_parser.nim.c:(.text+0x105): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@smodules@sparam_parser.nim.c.o):@m..@smodules@sparam_parser.nim.c:(.text+0x306): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@smodules@sparam_parser.nim.c.o):@m..@smodules@sparam_parser.nim.c:(.text+0x4e1): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_asyncfutures.nim.c.o):stdlib_asyncfutures.nim.c:(.text+0xdc): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(stdlib_asyncfutures.nim.c.o):stdlib_asyncfutures.nim.c:(.text+0x101): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x3324): undefined reference to `__imp___acrt_iob_func'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x38fc): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x39d7): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x3a26): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x3a64): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x3c84): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0x3d41): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: ./NimScanToC.a(stdlib_dynlib.nim.c.o):stdlib_dynlib.nim.c:(.text+0x1e): undefined reference to `__imp_LoadLibraryA'
/usr/bin/ld: ./NimScanToC.a(stdlib_dynlib.nim.c.o):stdlib_dynlib.nim.c:(.text+0x33): undefined reference to `__imp_GetProcAddress'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x164): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x19c): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x798): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0x7b8): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@s..@s..@[email protected]@[email protected]@[email protected]):@m..@s..@s..@[email protected]@[email protected]@[email protected]:(.text+0xa56): undefined reference to `__emutls_get_address'
/usr/bin/ld: ./NimScanToC.a(@m..@[email protected]):@m..@[email protected]:(.text+0xcc0): more undefined references to `__emutls_get_address' follow
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.38 assertion fail ../../bfd/reloc.c:8580
./NimScanToC.a(@mNimScanToC.nim.c.o):@mNimScanToC.nim.c:(.pdata+0x0): dangerous relocation: collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.

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

1 participant