Jump to content

dnperfors

Community Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by dnperfors

  1. Hmm, sounds similar to this on OS X. (People have built successfully on Ubuntu before, but maybe an older version (perhaps this changed in 9.10?), and also our code has changed some threading stuff recently.)

    Well that is exactly the problem. I don't know when they turned it off...

    Could you look in /usr/include/libxml2/libxml/xmlversion.h for the block of code that sets LIBXML_THREAD_ENABLED?


    #if 0
    #if defined(_REENTRANT) || defined(__MT__) || \
    (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))
    #define LIBXML_THREAD_ENABLED
    #endif
    #endif

    as I said, this was disabled...

    The output:

    Also, could you run
    echo '_REENTRANT' | g++ -E -pthread -

    and copy the output?


    # 1 "<stdin>"
    # 1 "<built-in>"
    # 1 "<command-line>"
    # 1 "<stdin>"
    1

×
×
  • Create New...