This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem : /usr/bin/ld: Warning: size of symbol `' changed from
- From: Cinly Ooi <co224 at cam dot ac dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 23 Mar 2005 18:45:39 +0000
- Subject: Problem : /usr/bin/ld: Warning: size of symbol `' changed from
- Reply-to: cooi at iee dot org
Dear all,
I have been getting this strange message when attempting to compile
using g++.
I noticed it at least since g++ v2.9 and above. Most of the time its
just a temporary error. But with g++ 3.0.4 and above they seems to be a
permanent error.
Any help appricated.
The command :
g++ -Wall -o Scientific2D_Regression ./ObjFile/DataStructure.o
./ObjFile/Scientific2D_Regression.o ./ObjFile/Tools.o
./ObjFile/XMLElement.o ./ObjFile/XMLUtils.o
./ObjFile/XMLContentValidator.o ./ObjFile/XMLDataValidator.o
./ObjFile/XMLImageDataContentValidator.o
./ObjFile/XMLScanDataContentValidator.o
./ObjFile/XMLfMRIDataContentValidator.o -lc -lm
Give :
/usr/bin/ld: Warning: size of symbol `' changed from 35 to 215 in
./ObjFile/XMLUtils.o
/usr/bin/ld: Warning: type of symbol `' changed from 1 to 2 in
./ObjFile/XMLContentValidator.o
/usr/bin/ld: Warning: size of symbol `' changed from 8 to 21 in
./ObjFile/XMLContentValidator.o
[etc]
/usr/bin/ld: Warning: size of symbol `' changed from 8 to 25 in
./ObjFile/XMLContentValidator.o
/usr/bin/ld: Warning: size of symbol `' changed from 8 to 128 in
./ObjFile/XMLContentValidator.o
/usr/bin/ld: Warning: size of symbol `' changed from 8 to 12 in
./ObjFile/XMLContentValidator.o
/usr/bin/ld: Warning: type of symbol `' changed from 2 to 1 in
./ObjFile/XMLContentValidator.o
./ObjFile/XMLContentValidator.o(.gnu.linkonce.d._ZTIN3XML19XMLContentValidatorE+0x0):
undefined reference to `_ZTVN10__cxxabiv117__class_'
collect2: ld returned 1 exit status
make: *** [Scientific2D_Regression] Error 1
Best regards,
Cinly