Re: Error on compiling; with gcc/msys2

new topic     » goto parent     » topic index » view thread      » older message » newer message
mitgedanken said...

Next problem ... linking.

C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphor 
ia/4.1/bin/eu.a(be_w.o):be_w.c:(.text+0xb00): undefined reference to `__imp___iob_func' 
C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphor 
ia/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0xd11): undefined reference to `__imp___iob_func' 
C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphoria/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0xdcb): undefined reference to `__imp___iob_func' 
C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphoria/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x2f30): undefined reference to `__imp___iob_func' 
C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphoria/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x4031): undefined reference to `__imp___iob_func' 
C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphoria/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.text+0x406b): more undefined references to `__imp___iob_func' follow 
C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphoria/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.rdata$.refptr.__imp___argv[.refptr.__imp___argv]+0x0): undefined ref 
erence to `__imp___argv'                                                                                         C:/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/bin/Euphor 
ia/4.1/bin/eu.a(be_runtime.o):be_runtime.c:(.rdata$.refptr.__imp___argc[.refptr.__imp___argc]+0x0): undefined reference to `__imp___argc'                                                                                         collect2.exe: error: ld returned 1 exit status 
Unable to link C:\bin\WEE\wee.exe                                                                                Status: 1 Command: gcc -o C:/bin/WEE/wee.exe  init-.o wee.o main-.o parser.o filesys.o datetime.o dll.o error.o machine.o memconst.o memory.o types.o get.o io.o text.o convert.o search.o math.o rand.o pretty.o sequence.o sort. 
o serialize.o scinot.o map.o eumem.o scintilla.o ui_win.o window.o   C:/bin/Euphoria/4.1/bin/eu.a -m64 

I'm not familiar with msys2 or ucrt64. But from what I can tell, the linker isn't finding something. Unless you need this setup for other reasons, I'd just download w64devkit and use it (no installation required) just keep in mind that the 32bit and 64bit versions are two different packages. That's usually faster than spending hours trying to find errors in the setup.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu