This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC3.1 compile the C++ failed


Hi:
I am upgrading my GCC to 3.1 just now ,when I compile the c++ program.
when link the program , it reports the following errors:
=== making src ===
=== making fluid ===
make[1]: Entering directory `/home/szj/qiantong/software/fltk-1.0.10-ccoss/fluid'
Linking fluid...
Fl_Function_Type.o: In function `Fl_Function_Type::make()':
Fl_Function_Type.o(.text+0x27d): undefined reference to `operator new(unsigned)'
Fl_Function_Type.o: In function `Fl_Code_Type::make()':
Fl_Function_Type.o(.text+0xa9d): undefined reference to `operator new(unsigned)'
Fl_Function_Type.o: In function `Fl_CodeBlock_Type::make()':
Fl_Function_Type.o(.text+0xc1d): undefined reference to `operator new(unsigned)'
Fl_Function_Type.o: In function `Fl_Decl_Type::make()':
Fl_Function_Type.o(.text+0xf1d): undefined reference to `operator new(unsigned)'
Fl_Function_Type.o: In function `Fl_DeclBlock_Type::make()':
Fl_Function_Type.o(.text+0x132d): undefined reference to `operator new(unsigned)'
Fl_Function_Type.o(.text+0x16fd): more undefined references to `operator new(unsigned)' follow
Fl_Function_Type.o: In function `Fl_Class_Type::~Fl_Class_Type [in-charge deleting]()':

this seems to be strange,new and delete operator is not been finded.

I am using the intel PIII 650MHz, OS is the Redhat Linux 7.3 personal edition.
what is wrong with it?

Thanks a lots
Sun Zongjun



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]