Archived

This forum has been archived. Please start a new discussion on GitHub.

link errors

Hi,
I cloned a working ap, trimmed it down to make a base skeleton system, and now get these undefined reference errors: What have I missed?
thanks,
Don

g++ -Wl,-rpath,/usr/local/qt/lib -o card-server .obj/cdata.o .obj/caccess.o .obj/csys.o .obj/date.o .obj/datecalc.o .obj/Server.o .obj/cucardi.o -L/usr/local/qt/lib -L/usr/X11R6/lib /usr/lib/libmysqlclient.so /usr/local/mysql++/lib/libmysqlpp.so -L/opt/Ice-3.0.1/lib -lIce -lIceUtil -lpthread -lqt -lXext -lX11 -lm
.obj/cucardi.o(.gnu.linkonce.r._ZTV7CUCardI+0x14): undefined reference to `CARD::CUCard::ice_clone() const'
.obj/cucardi.o(.gnu.linkonce.r._ZTV7CUCardI+0x18): undefined reference to `CARD::CUCard::ice_isA(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Ice::Current const&) const'
.obj/cucardi.o(.gnu.linkonce.r._ZTV7CUCardI+0x1c): undefined reference to `CARD::CUCard::ice_ids(Ice::Current const&) const'
.obj/cucardi.o(.gnu.linkonce.r._ZTV7CUCardI+0x20): undefined reference to `CARD::CUCard::ice_id(Ice::Current const&) const'
.obj/cucardi.o(.gnu.linkonce.r._ZTV7CUCardI+0x28): undefined reference to `CUCardI::printString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Ice::Current const&)'
.obj

Comments

  • marc
    marc Florida
    Without seeing the source, it's difficult to say what's going on. Can you post a small, self-contained example that demonstrates the problem?