GCC3.1 compile the C++ failed
sun zongjun
szj@ccoss.com.cn
Sat Jun 29 11:21:00 GMT 2002
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
More information about the Gcc
mailing list