mingw32-make: *** No rule to make target f'. Stop. [message #27619] |
Wed, 16 February 2005 14:01 |
Eclipse User |
|
|
|
Originally posted by: micyaro.gmail.com
Hi,
I have just installed eclipse 3.01, C/C++ Plugins and MinGW following the
howto from http://www.cs.umanitoba.ca/~eclipse/7-EclipseCDT.pdf.
While trying to compile the makefile I get this message in the console:
mingw32-make f makefile all
mingw32-make: *** No rule to make target `f'. Stop.
My makefile looks like this:
--
main : main.o
g++ -o main main.o -L C:/MinGW/lib/gcc-lib/mingw32/3.2.3/ -lstdc++
main.o : main.cpp
g++ -ggdb -c main.cpp
all :
${MAKE} main
clean :
-del main.o
--
Does somebody had similiar problems running eclipse and CDT?
Best regards,
Mic
|
|
|
|
Re: mingw32-make: *** No rule to make target ?f'. Stop. [message #27675 is a reply to message #27621] |
Thu, 17 February 2005 09:27 |
Eclipse User |
|
|
|
Originally posted by: micyaro.gmail.com
Chris Laffra wrote:
> You probably cut-and-pasted the command from a browser?
> In that case, the minus sign '-' you are seeing is probably a
> hyphen (a different unicode character, indistinguishable for most).
> Notice below how the '-' is turned into a square box.
> Edit your command, delete the minus and enter it again.
I could fix the problem but now while "Build Make Targer" i get this
message:
mingw32-make all
mingw32-make main
mingw32-make[1]: Entering directory `D:/mja/workspace/HelloWorld'
g++ -o main main.o -L C:/MinGW/lib/gcc-lib/mingw32/3.2.3/ -lstdc++
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../libstdc++.a(e h_throw.o)(.text+0xfa):eh_throw.cc:
undefined reference to `_Unwind_SjLj_Resume_or_Rethrow'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [main] Error 1
mingw32-make[1]: Leaving directory `D:/mja/workspace/HelloWorld'
mingw32-make: *** [all] Error 2
The googling on that case didnŽt really help..
Best regards,
Mic
|
|
|
Powered by
FUDForum. Page generated in 0.07954 seconds