top of page
qouironebeterca

Id Returned 1 Exit Status Dev C: Understanding and Avoiding This Linker Error



The compiler registry shows:Compiler: Default compilerBuilding Makefile: "C:\C++\Makefile.win"Running make...make.exe -f "C:\C++\Makefile.win" allg++.exe hello_0.o -o "Hello_0.exe" -L"C:/Dev-Cpp/lib"/mingw/lib/crt2.o(.text+0x28):crt1.c: undefined reference to__dyn_tls_init_callback'/mingw/lib/crt2.o(.text+0x5c):crt1.c: undefined reference to__cpu_features_init'collect2: ld returned 1 exit statusmake.exe: *** Error 1Run finished


Hey,I'm having the same problem. A simple "Hello World" code sent me this message:Premission deniedId returned 1 exit statusI did some more searching and found out this error was hidden:Failed to set data for "address-0x0047ABCA




Id Returned 1 Exit Status Dev C



$ gcc -m32 -std=iso9899:1999 -fno-builtin -o hello hello.c/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.5/libgcc_s.so when searching for -lgcc_s/bin/ld: cannot find -lgcc_scollect2: error: ld returned 1 exit status


In file included from /opt/homebrew/Cellar/gcc/12.2.0/include/c++/12/aarch64-apple-darwin22/bits/stdc++.h:33, from map_practice.cpp:2: /opt/homebrew/Cellar/gcc/12.2.0/include/c++/12/cassert:44:10: fatal error: assert.h: No such file or directory 44 #include ^ compilation terminated. [Finished in 98ms with exit code 1] 2ff7e9595c


0 views0 comments

Recent Posts

See All

Game pro

Game Pro: o que é e por que é importante Você é fã de videogames? Você gosta de jogá-los por diversão ou por competição? Você quer...

Comments


bottom of page