help!rtti problem
HU YICHENG
Yicheng.Hu at alcatel-sbell.com.cn
Thu Jan 17 08:35:02 UTC 2008
I have defined rtti information as follow typeinfo.h,tinfo.c,tinfo.h at
the end of the mail,it is well at gcc2.9.5.but it is fail at gcc3.4.6.I
really hope you can help me,to rtti, what is the different between
gcc2.9.5 and gcc3.4.6,and what can I do?thanks so much.
the error just like:
../images/SCM/objects/appl+cp-mon+vm-cp-link-master.o(.gnu.linkonce.d._Z
TI21H248_root_termination+0x0):../../../gcp/h248/include/H248_terminatio
n.h:135: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
../images/SCM/objects/appl+profile+vm-tpm-mgr.o(.gnu.linkonce.d._ZTI15ci
rcuit_profile+0x0):/VOBS/MediaGW/gw/src/appl/profile/vm-tpm-mgr/circuit_
profile.c:79: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
../images/SCM/objects/chassis+clock+vm-clock.o(.text+0x35cd8):/VOBS/Medi
aGW/gw/src/chassis/clock/vm-clock/ClockMgr.c:95: undefined reference to
`vtable for ClockMgr'
../images/SCM/objects/chassis+clock+vm-clock.o(.text+0x360b0):/VOBS/Medi
aGW/gw/src/chassis/clock/vm-clock/ClockMgr.c:95: undefined reference to
`vtable for ClockMgr'
../images/SCM/objects/chassis+clock+vm-clock.o(.text+0xd6910): In
function `__static_initialization_and_destruction_0':
/VOBS/MediaGW/gw/src/chassis/clock/vm-clock/ClockMgr.c:81: undefined
reference to `__dso_handle'
../images/SCM/objects/chassis+clock+vm-clock.o(.text+0xd6914):/VOBS/Medi
aGW/gw/src/chassis/clock/vm-clock/ClockMgr.c:81: undefined reference to
`__cxa_atexit'
../images/SCM/objects/libs+c-runtime+vm-libcplus.o(.gnu.linkonce.d._ZTV1
7__class_type_info+0x10):/VOBS/MediaGW/gw/src/libs/c-runtime/vm-libcplus
/builtin_func.c:67: undefined reference to
`std::type_info::__is_pointer_p() const'
../images/SCM/objects/libs+c-runtime+vm-libcplus.o(.gnu.linkonce.d._ZTV1
7__class_type_info+0x14):/VOBS/MediaGW/gw/src/libs/c-runtime/vm-libcplus
/builtin_func.c:67: undefined reference to
`std::type_info::__is_function_p() const'
../images/SCM/objects/libs+c-runtime+vm-libcplus.o(.gnu.linkonce.d._ZTV1
7__class_type_info+0x18):/VOBS/MediaGW/gw/src/libs/c-runtime/vm-libcplus
/builtin_func.c:68: undefined reference to
`std::type_info::__do_catch(std::type_info const*, void**, unsigned int)
const'
../images/SCM/objects/libs+c-runtime+vm-libcplus.o(.gnu.linkonce.d._ZTV1
7__class_type_info+0x1c):/VOBS/MediaGW/gw/src/libs/c-runtime/vm-libcplus
/builtin_func.c:68: undefined reference to
`std::type_info::__do_upcast(__cxxabiv1::__class_type_info const*,
void**) const'
../images/SCM/objects/libs+ui+vm-ui.o(.text+0x64):/VOBS/MediaGW/gw/src/l
ibs/ui/vm-ui/uibang.c:72: relocation truncated to fit: R_MIPS_CALL16
strlen
../images/SCM/objects/libs+ui+vm-ui.o(.text+0x110):/VOBS/MediaGW/gw/src/
libs/ui/vm-ui/uibang.c:80: relocation truncated to fit: R_MIPS_CALL16
strlen
../images/SCM/objects/libs+ui+vm-ui.o(.text+0x1b4):/VOBS/MediaGW/gw/src/
libs/ui/vm-ui/uibang.c:87: relocation truncated to fit: R_MIPS_CALL16
strlen
../images/SCM/objects/gcp+h248+vm-desc.o(.gnu.linkonce.d._ZTI15H248_medi
a_desc+0x0):/VOBS/MediaGW/gw/src/gcp/h248/vm-desc/H248_media_desc.c:83:
undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
../images/SCM/objects/gcp+h248+vm-desc.o(.gnu.linkonce.d._ZTI16H248_stre
am_desc+0x0):/VOBS/MediaGW/gw/src/gcp/h248/vm-desc/H248_media_desc.c:83:
undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
the file:
<<tinfo.h>> <<typeinfo.h>> <<tinfo.c>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20080117/5c073227/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tinfo.h
Type: application/octet-stream
Size: 1672 bytes
Desc: tinfo.h
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20080117/5c073227/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typeinfo.h
Type: application/octet-stream
Size: 4605 bytes
Desc: typeinfo.h
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20080117/5c073227/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tinfo.c
Type: application/octet-stream
Size: 4145 bytes
Desc: tinfo.c
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20080117/5c073227/attachment-0002.obj>
More information about the cxx-abi-dev
mailing list