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

Compilation errors in Solaris 10

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0-rc8
    • Component/s: Build
    • Build
    • ALL
    • Hide

      Scons command:

      scons --variant-dir=shortvardir --static-libstdc++ --cc=/opt/mongodbtoolchain/bin/gcc --cxx=/opt/mongodbtoolchain/bin/g++ --cpppath=/usr/local/ssl/include --libpath=/usr/local/ssl/lib --ssl --ssl-fips-capability --64 -j2 --distmod=static-ssl101 --release all dist --use-new-tools
      
      Show
      Scons command: scons --variant-dir=shortvardir -- static -libstdc++ --cc=/opt/mongodbtoolchain/bin/gcc --cxx=/opt/mongodbtoolchain/bin/g++ --cpppath=/usr/local/ssl/include --libpath=/usr/local/ssl/lib --ssl --ssl-fips-capability --64 -j2 --distmod= static -ssl101 --release all dist --use- new -tools

      Several errors occur while compiling in Solaris 10 -

      • Missing strnlen
      • Missing ifaddrs.h
        src/mongo/db/repl/isself.cpp:60:21: fatal error: ifaddrs.h: No such file or directory
        
      • Missing POSIX_FADV_WILLNEED
        src/third_party/wiredtiger/src/block/block_read.c:40:41: error: 'POSIX_FADV_WILLNEED' undeclared (first use in this function)
               (wt_off_t)offset, (wt_off_t)size, POSIX_FADV_WILLNEED);
        

            Assignee:
            backlog-server-build Backlog - Build Team (Inactive)
            Reporter:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: