Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » mingw32-make: *** No rule to make target –f'. Stop.
mingw32-make: *** No rule to make target –f'. Stop. [message #27619] Wed, 16 February 2005 14:01 Go to next message
Eclipse UserFriend
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 #27621 is a reply to message #27619] Wed, 16 February 2005 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

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.

--
Chris Laffra, http://eclipsefaq.org


"Mic" <micyaro@gmail.com> wrote in message
news:cuvjok$8e6$1@www.eclipse.org...
> 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
Re: mingw32-make: *** No rule to make target ?f'. Stop. [message #27675 is a reply to message #27621] Thu, 17 February 2005 09:27 Go to previous message
Eclipse UserFriend
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
Previous Topic:Eclipse fails to launch
Next Topic:How to make package explorer show sub package under package
Goto Forum:
  


Current Time: Tue Apr 16 23:12:45 GMT 2024

Powered by FUDForum. Page generated in 3.79420 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top