boost, xtime_get: undefined reference

This is a discussion on boost, xtime_get: undefined reference within the C++ Programming forums, part of the General Programming Boards category; the title sais it all. does anyone know which lib i need to specify? (i'm using gcc under fedora)...

  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
    Portugal
    Posts
    7,532
    The documentation for the Threads library might have all you need to use it

    http://www.boost.org/doc/html/threads.html
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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,893
    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, 09:18 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 12:45 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  4. C OpenGL Compiler Error?
    By Matt3000 in forum C Programming
    Replies: 12
    Last Post: 07-07-2006, 05:42 PM
  5. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21