Thread: boost, xtime_get: undefined reference

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    244

    boost, xtime_get: undefined reference

    the title sais it all.
    does anyone know which lib i need to specify? (i'm using gcc under fedora)
    signature under construction

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    The documentation for the Threads library might have all you need to use it

    http://www.boost.org/doc/html/threads.html
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Probably not. I think the problem here might be an old version of Boost, where lots of DateTime needed the compiled library.

    In the newest version, only a small set of features needs the compiled library. As for its name ... tricky. The Boost build process generates the names according to build options and system. It might be just called libboost_datetime.so, or boost_datetime.dll, but it might also be called libboost_datetime-gcc-mtd-1.33.1.so or something.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. C OpenGL Compiler Error?
    By Matt3000 in forum C Programming
    Replies: 12
    Last Post: 07-07-2006, 04:42 PM
  5. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM