Looks like the program you're trying to compile needs a C++, ie g++, compiler vs C compiler, ie gcc. What is your output for g++ -v? If it's not installed, then you'll need to install it. Easiest way would probably be through Mandrake's package utility.
If you determine that it is indeed installed, test it by compiling this basic code.
Place the following in a file and named in hello.cpp:
Code:
//hello.cpp
#include <iostream>
int main (void)
{
std::cout << "Hello, you're C++ compiler works fine." << std::endl;
return (0);
}
Then compile it with the following command:
Code:
g++ -Wall hello.cpp -o hello_cpp
And execute it, ie ./hello_cpp.
You can test you're C compiler the same way.
Place this code in a file named hello.c:
Code:
//hello.c
#include <stdio.h>
int main (void)
{
printf("Hello, You're C compiler works fine.\n");
return (0);
}
Compile it:
Code:
gcc -Wall hello.c -o hello_c
And execute it with a ./hello.c.