[Dev-C++] How to find the reason of linker errors???
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Frank W. <F.W...@wi...> - 2003-03-27 14:20:18
|
Hello Dev-Cpp users, with the upgrade from 4.9.7.0 to 4.9.8.0 I get the following errors while I try to compile all: Compiler: Default compiler Building Makefile: "C:\work\Projekte\Software\SuchenErsetzen\Makefile.win" Führt make clean aus rm -f fileworker.o Fileworker.exe g++.exe -D__DEBUG__ -c fileworker.cpp -o fileworker.o -I"C:/cygwin/usr/include" -I"C:/cygwin/usr/include/g++-3" -ansi -pg -g3 g++.exe -D__DEBUG__ fileworker.o -o "Fileworker.exe" -L"C:/cygwin/lib" fileworker.o: In function `main': /cygdrive/c/work/Projekte/Software/SuchenErsetzen/fileworker.cpp(.text+0x78): undefined reference to `_monstartup'/cygdrive/c/work/Projekte/Software/SuchenErsetzen/fileworker.cpp(.text+0x82): undefined reference to `mcount'fileworker.o: In function `__default_alloc_template<false, 0>::deallocate(void *, unsigned int)':/cygdrive/c/work/Projekte/Software/SuchenErsetzen/C:/cygwin/usr/include/g++-3/streambuf.h(.basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::Rep::text$frob_size(unsigned int)+0xc): undefined reference to `mcount'/cygdrive/c/work/Projekte/Software/SuchenErsetzen/C:/cygwin/usr/include/g++-3/streambuf.h(.__malloc_alloc_template<0>::text$_S_oom_malloc(unsigned int)+0xd): undefined reference to `mcount' /cygdrive/c/work/Projekte/Software/SuchenErsetzen/C:/cygwin/usr/include/g++-3/streambuf.h(.__malloc_alloc_template<0>::text$allocate(unsigned int)+0xd): undefined reference to `mcount'/cygdrive/c/work/Projekte/Software/SuchenErsetzen/C:/cygwin/usr/include/g++-3/streambuf.h(.__default_alloc_template<false, 0>::text$_S_round_up(unsigned int)+0xc): undefined reference to `mcount'fileworker.o(.__default_alloc_template<false, 0>::text$_S_chunk_alloc(unsigned int, int &)+0xd):/cygdrive/c/work/Projekte/Software/SuchenErsetzen/C:/cygwin/usr/include/g++-3/streambuf.h: more undefined references to `mcount' follow collect2: ld returned 1 exit status make.exe: *** [Fileworker.exe] Error 1 Ausführung beendet In parallel I compiled the same projekt with version 4.9.7.0 and get no errors. The directory settings for the compiler and the linker in both Dev-Cpp versions are equal. What had been changed in the new version and what can I do to locate the problem? I hope somebody can help me. Thanks in advance Frank |