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

Build 1.3.0 failure on sparc: strnlen undefined

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.3.1
    • Affects Version/s: 1.3.0
    • Component/s: libbson, libmongoc
    • None
    • Environment:
      Solaris Sparc 10

      Build fails on sparc with "symbol strnlen: referenced symbol not found". Two issues:

      • In bson-config.h we define BSON_HAVE_STRNLEN, however bson-string.c uses HAVE_STRNLEN
      • mongoc-cursor.c has another call to strnlen which is not conditioned at all.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: