cplus_demangle

I am compiling my project. With gcc 4.4.3 I don't get any error. But with gcc 4.3.2 I get undefined symbol: cplus_demangle while running the executable. Any idea what does that mean? How do I rectify it?

Thank you.
Don't compile with 4.3.

Have you, by chance, installed GCC 4.4 over top of GCC 4.3? That will cause compatibility problems... both with sources and with the executable.

The cplus_dmangle() function is a Sun OS extension function:
http://docs.sun.com/app/docs/doc/802-5747-03/6i9g1bga6?a=view

Hope this helps.
Did you build gcc 4.3.2 from source? I recently need to use gcc 3.2.3 to build an application on a RHEL 5 machine. I had to build gcc 3.2.3 from source to get the software and some newer libraries to cooperate.
No, it was not built from source. It was simply installed using the repository. One important thing is there is a mix of C and C++ code in my project. I did come across that there could be this issue when you have mix of them. But I didn't actually get the solution and reason for it.
Topic archived. No new replies allowed.