undefined reference to `vtable for __cxxabiv1::__si_class_type_infoE

101 views
Skip to first unread message

Nehal Shah

unread,
Jan 12, 2016, 3:11:51 PM1/12/16
to Chromium OS dev, Dario Dorando, Dominik Behr, Grant Grundler, James Ausmus, Diepakk Sharma k
Hi 

i am working on minigbm and i have C++ files also which requires to be compiled.

After updating CXX_LIBRARY and CXX_OBJECTS i could compile along with other C_OBJECTS. When i ran the null platform test i got this error runtime

undefined reference to `vtable for __cxxabiv1::__si_class_type_infoE


1 .Could you please help me to update the makefile? do i have to add  -fno-rtti ?

2. Also i have standalone .so which i want to link to minigbm ? Can you guide me for the same.


Regards
Nehal Shah

Dominik Behr

unread,
Jan 12, 2016, 4:01:04 PM1/12/16
to Nehal Shah, Chromium OS dev, Dario Dorando, Grant Grundler, James Ausmus, Diepakk Sharma k
minigbm is a shared object. it gets installed as libminigbm.so.1.0.0 with two symlinks pointing to it libgbm.so and libgbm.so.1. there is gbm.pc file in the source directory which gets installed in pkgconfig so you can use it with regular pkgconfig Makefile flows.
the undefined reference means you probably need to link with some extra objects. If you use gcc instead of g++ frontend you probably should specify manually C++ standard library?

--
Dominik
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages