Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem in creating a managed make file
Problem in creating a managed make file [message #100075] Mon, 19 April 2004 00:51 Go to next message
Eclipse UserFriend
Hello all,

I am using CDT 1.2 Full for Linux(Eclipse version 2.1.1).

Problem(1)
I tried to create a new "managed make C/C++" project, following the steps
given in the FAQS section.

But after pressing "Finish", I get an error viz,

"Error Creating Project"
Reason : Internal error.

But I 'm able to create(and Bulid) "Standard Make" project.

Problem(2)

I 'm getting the following error in a simple HelloWorld.cpp program.

The snippet of the error(C-Buid) is shown below:
------------------------------------------------------------ -----------
make -k all
gcc -o loop loop.o
loop.o(.eh_frame+0x11): In function `main':
/home/smruthi/eclipse/eclipse/workspace/monday_19/loop.cpp:1 2: undefined
reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [loop] Error 1
make: Target `all' not remade because of errors.
------------------------------------------------------------ ------------

I think the problem is somewhere in finding the "iostram.h" header file.

I 'm a new user of CDT. So kindly let me know how to come out of these
prob?

Thanks in advance.

Ragav.
Re: Problem in creating a managed make file [message #100134 is a reply to message #100075] Mon, 19 April 2004 04:31 Go to previous message
Eclipse UserFriend
The reason for your error is, you created a C Project and wrote a C++
program. Use C-projects for plain C and C++-projects for plain C++ or
mixed C/C++ programs.

Ragav wrote:
> Hello all,
>
> I am using CDT 1.2 Full for Linux(Eclipse version 2.1.1).
>
> Problem(1)
> I tried to create a new "managed make C/C++" project, following the steps
> given in the FAQS section.
>
> But after pressing "Finish", I get an error viz,
>
> "Error Creating Project"
> Reason : Internal error.
>
> But I 'm able to create(and Bulid) "Standard Make" project.
>
> Problem(2)
>
> I 'm getting the following error in a simple HelloWorld.cpp program.
>
> The snippet of the error(C-Buid) is shown below:
> ------------------------------------------------------------ -----------
> make -k all
> gcc -o loop loop.o
^^^^^^
In C++-Projects this must be g++! Or you have to tweak the gcc-frontend
settings to omit C-library and use stdc++-library.

> loop.o(.eh_frame+0x11): In function `main':
> /home/smruthi/eclipse/eclipse/workspace/monday_19/loop.cpp:1 2: undefined
> reference to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> make: *** [loop] Error 1
> make: Target `all' not remade because of errors.
> ------------------------------------------------------------ ------------
>
> I think the problem is somewhere in finding the "iostram.h" header file.
>
> I 'm a new user of CDT. So kindly let me know how to come out of these
> prob?
>
> Thanks in advance.
>
> Ragav.
>
Previous Topic:Configuration Problem
Next Topic:Problem in Building C++ prgms.
Goto Forum:
  


Current Time: Tue May 20 20:37:57 EDT 2025

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

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

Back to the top