Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5451

can't build clientBuild

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: 2.1.0
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL

      When I invoke "scons --release clientBuild":

      g++ -o build/firstExample -Wl,--as-needed -Wl,-zdefs build/mongo/client/examples/first.o -Lbuild -Lsrc -lmongoclient -lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt
      /usr/bin/ld: build/libmongoclient.a(spin_lock.o): undefined reference to symbol 'pthread_yield@@GLIBC_2.2.5'
      /usr/bin/ld: note: 'pthread_yield@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
      /lib64/libpthread.so.0: could not read symbols: Invalid operation
      collect2: ld returned 1 exit status
      scons: *** [build/firstExample] Error 1
      scons: building terminated because of errors.
      

      The Linux 64-bit Nightly builder seems to be affected by this problem in a similar way.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: