Hack Forums
mingw error collect2: error: ld returned 1 exit status - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5)
+---- Thread: mingw error collect2: error: ld returned 1 exit status (/showthread.php?tid=5714038)



mingw error collect2: error: ld returned 1 exit status - n00ber01 - Sep 9, 2017

hi
i have tried to compile the metasploit-loader but i get the following error whether i try i686-mingw or x86_64-mingw

collect2: error: ld returned 1 exit status

there are also some other errors such as:

/tmp/ccbGnlcC.o:main.c:(.text+0x21): undefined reference to `_imp__WSAStartup@8`
etc.

is it because the metasploit-loader is 32-bit or some other problem

thanks