Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1625

Android NDK r17 compiler error

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: 3.3.1
    • Component/s: Release
    • Environment:
      Android

      1. libbson Android ndk building success.
      2. libmongoc fail with: -lrt and -lresolv can not find, shm_open() shm_unlink() unreferenced function(), rand_r(seed); undefined function. rand_r() replaced with srand(seed); rand(); function. in cmake file I remove the ${RESOLVE_LIBRARY}. disable ENABLE_SHM_COUNTERS=OFF, if I do these settings i compiling succes
      3. bsoncxx: after compilation libbson and libmongoc, I always get error: command line error jpg attached. sometimes it successed sometimes not.

      Before I compiled all library with android ndk r15 and all code working well in Samdung A5 and A3 but at another device like J7 Mi5 or LG g5 console error white building a bsoncxx::Dbuilder::basic::document{}; libc error invalid address 0x4556... 

       

      Now EP_minimalistic_core give me a error. How can I fix it? or How can Use mongocxx on Android? 

        1. EP error.JPG
          EP error.JPG
          86 kB
        2. image-2018-07-31-17-59-51-769.png
          image-2018-07-31-17-59-51-769.png
          86 kB
        3. errror.JPG
          errror.JPG
          35 kB
        4. ep++ error.JPG
          ep++ error.JPG
          89 kB

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            cmldmr Cemal DEM?R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: