Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » make Error 127 line 0
make Error 127 line 0 [message #188537] Fri, 30 March 2007 18:19 Go to next message
Eclipse UserFriend
Originally posted by: ken.klose.future-skies.com

I'm just getting started using CDT. I've got CDT 3.1.2 in Eclipse 3.2.2 on
Linux (Fedora Core 5 - Kernel 2.6.20-1.2307.fc5)

I've created a brand new (empty) project using the managed makefile option.
I added a single file "HelloWorld.cpp" included below. When I try to build,
I get the followed error in the problems window:

"make: *** [HelloWorld.o] Error 127 HelloWorld line 0"

Thanks in advance,
Ken


HelloWorld.cpp:
#include <iostream.h>

using namespace std;

int main(int argc, char *argv[])
{
cout << "Hello World" << endl;
}
Re: make Error 127 line 0 [message #188551 is a reply to message #188537] Sat, 31 March 2007 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dmsubs.NOSPAM.consertum.com

Which version of make are you using?

--
Derek


Ken Klose wrote:
> I'm just getting started using CDT. I've got CDT 3.1.2 in Eclipse 3.2.2 on
> Linux (Fedora Core 5 - Kernel 2.6.20-1.2307.fc5)
>
> I've created a brand new (empty) project using the managed makefile option.
> I added a single file "HelloWorld.cpp" included below. When I try to build,
> I get the followed error in the problems window:
>
> "make: *** [HelloWorld.o] Error 127 HelloWorld line 0"
>
> Thanks in advance,
> Ken
>
>
> HelloWorld.cpp:
> #include <iostream.h>
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> cout << "Hello World" << endl;
> }
>
>
>
>
Re: make Error 127 line 0 [message #188558 is a reply to message #188537] Sat, 31 March 2007 13:04 Go to previous messageGo to next message
Eclipse UserFriend
Ken Klose wrote:
> I'm just getting started using CDT. I've got CDT 3.1.2 in Eclipse 3.2.2 on
> Linux (Fedora Core 5 - Kernel 2.6.20-1.2307.fc5)
>
> I've created a brand new (empty) project using the managed makefile option.
> I added a single file "HelloWorld.cpp" included below. When I try to build,
> I get the followed error in the problems window:
>
> "make: *** [HelloWorld.o] Error 127 HelloWorld line 0"
>
> Thanks in advance,
> Ken
>
>
> HelloWorld.cpp:
> #include <iostream.h>
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> cout << "Hello World" << endl;
> }
>
>
>
>
Hi, i dont know if this can help, but i had this exact same problem a
few days ago. i fixed it by ensuring that G++ and GDB (and any other
build environment tools) were properly installed.

once i installed the build environment, the 127 error was gone.

hope this helps,
Re: make Error 127 line 0 [message #188572 is a reply to message #188558] Sun, 01 April 2007 02:06 Go to previous message
Eclipse UserFriend
Originally posted by: ken.klose.future-skies.com

Thanks. That was the problem. g++ and gdb weren't installed.


"Jean-Denis Boudreault" <jdboudreault@gmail.com> wrote in message
news:eum4ah$ipk$1@build.eclipse.org...
> Ken Klose wrote:
>> I'm just getting started using CDT. I've got CDT 3.1.2 in Eclipse 3.2.2
>> on Linux (Fedora Core 5 - Kernel 2.6.20-1.2307.fc5)
>>
>> I've created a brand new (empty) project using the managed makefile
>> option. I added a single file "HelloWorld.cpp" included below. When I
>> try to build, I get the followed error in the problems window:
>>
>> "make: *** [HelloWorld.o] Error 127 HelloWorld line 0"
>>
>> Thanks in advance,
>> Ken
>>
>>
>> HelloWorld.cpp:
>> #include <iostream.h>
>>
>> using namespace std;
>>
>> int main(int argc, char *argv[])
>> {
>> cout << "Hello World" << endl;
>> }
>>
>>
>>
>>
> Hi, i dont know if this can help, but i had this exact same problem a few
> days ago. i fixed it by ensuring that G++ and GDB (and any other build
> environment tools) were properly installed.
>
> once i installed the build environment, the 127 error was gone.
>
> hope this helps,
Previous Topic:Anyone written a conversion tool MSVS 8 -> .project?
Next Topic:either eclipse or gdb won't find even main.cpp source!
Goto Forum:
  


Current Time: Sun Jun 08 18:46:01 EDT 2025

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

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

Back to the top