Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1957

Build C Driver tests on MinGW 6.2.0 fails

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.6.0
    • Affects Version/s: 1.5.0
    • Component/s: Build, libmongoc, mingw, Testing
    • None
    • Environment:
      OS- Windows-6.1.7601
      PROCESSOR: AMD64
      MinGW version x86_64-6.2.0-posix-sjlj-rt_v5-rev1
      MSYS 1.0

      Hello.
      Build v1.5.0 under MinGW 6.2.0 fails.

      commands are.

      ./configure
      make -j4
      

      config.log attached

      Here is some log message.

      tests/test_libmongoc-test-mongoc-command-monitoring.o:test-mongoc-command-monitoring.c:(.text+0x239c): undefined reference to `realpath'
      tests/test_libmongoc-test-mongoc-max-staleness.o:test-mongoc-max-staleness.c:(.text+0xc9c): undefined reference to `realpath'
      tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x1c): undefined reference to `realpath'
      tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x45): undefined reference to `realpath'
      tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x6e): undefined reference to `realpath'
      tests/test_libmongoc-test-mongoc-sdam.o:test-mongoc-sdam.c:(.text+0x93): more undefined references to `realpath' follow
      collect2.exe: error: ld returned 1 exit status
      make[1]: *** [test-libmongoc.exe] Error 1
      make[1]: *** Waiting for unfinished jobs....
      make[1]: Leaving directory `/d/Libraries/Unpacked/mongo/mongo-c-driver-1.5.0'
      make: *** [all-recursive] Error 1
      

        1. buildlog.txt
          23 kB
          Evgheni Popusoi
        2. config.log
          71 kB
          Evgheni Popusoi

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            evgheni.popusoi Evgheni Popusoi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: