Linker Errors in Hello World program [message #1065007] |
Sat, 22 June 2013 23:32  |
Eclipse User |
|
|
|
hi
just installed CDT into eclipse juno
I also installed MinGW
I have problems building the standard C++ Hello World program
(C programs are working fine)
Console output:
05:15:44 **** Incremental Build of configuration Debug for project test ****
Info: Internal Builder is used for build
g++ -o test.exe "src\\test.o"
/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x3f4): undefined reference to `__chkstk_ms'
/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x66f): undefined reference to `__chkstk_ms'
/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0xa94): undefined reference to `__chkstk_ms'
/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x13df): undefined reference to `__chkstk_ms'
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: /mingw/lib/libmingwex.a(pformat.o): bad reloc address 0x34 in section `.rdata'
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: final link failed: Invalid operation
collect2: ld returned 1 exit status
05:15:44 Build Finished (took 467ms)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04377 seconds