Results 1 to 2 of 2

Thread: link errors

  1. #1
    dthompson is offline Registered User
    Name: Don Thompson
    Organization: Digital Federal Credit Union
    Project: credit card fraud monitoring
    Join Date
    Aug 2005
    Location
    south shore mass
    Posts
    10

    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:rintString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Ice::Current const&)'
    .obj
    Don Thompson
    Digital Federal Credit Union
    www.dcu.org
    Ice Project: credit union core processing prototype which may expand to open source project.
    Current Environment:
    Debian Linux Sarge,
    mysql 4.1.11-Debian,
    mysql++ v 2.1.0.beta1,
    qt3 v 3.3.4,
    Ice-3.0.1
    IcePHP-3.0.1
    Server: c++ using mysql++ to access mysql db, with Ice interfaces.
    Desktop Client: c++ using qt3, Ice interfaces to Server
    Home Banking Client: Python using IcePy interface to Server
    Currently using PHP Client

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Link errors in linux
    By OrNot in forum Help Center
    Replies: 12
    Last Post: 05-30-2007, 06:46 AM
  2. problem with IceUtil::Monitor(link errors)
    By myaniu in forum Help Center
    Replies: 5
    Last Post: 07-12-2006, 04:53 AM
  3. Some errors?
    By OrNot in forum Help Center
    Replies: 6
    Last Post: 07-21-2005, 09:38 AM
  4. Link errors
    By annekat in forum Help Center
    Replies: 4
    Last Post: 07-06-2004, 12:25 PM
  5. compile errors
    By fengxb in forum Help Center
    Replies: 2
    Last Post: 05-30-2004, 01:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •