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

Failure compiling latest c driver

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 1.0.2
    • Component/s: None
    • None
    • Environment:
      Ubuntu 14.10

      Can not compile driver

      > make
      make[1]: Entering directory '/home/ranju/Downloads/mongo-c-driver'
      CC src/mongoc/libmongoc_priv_la-mongoc-client.lo
      src/mongoc/mongoc-client.c: In function 'mongoc_client_connect_tcp':
      src/mongoc/mongoc-client.c:146:26: error: 'BSON_ERROR_BUFFER_SIZE' undeclared (first use in this function)
      char errmsg_buf[BSON_ERROR_BUFFER_SIZE];
      ^
      src/mongoc/mongoc-client.c:146:26: note: each undeclared identifier is reported only once for each function it appears in
      src/mongoc/mongoc-client.c:146:15: warning: unused variable 'errmsg_buf' [-Wunused-variable]
      char errmsg_buf[BSON_ERROR_BUFFER_SIZE];
      ^
      Makefile:2547: recipe for target 'src/mongoc/libmongoc_priv_la-mongoc-client.lo' failed
      make[1]: *** [src/mongoc/libmongoc_priv_la-mongoc-client.lo] Error 1
      make[1]: Leaving directory '/home/ranju/Downloads/mongo-c-driver'
      Makefile:3691: recipe for target 'all-recursive' failed
      make: *** [all-recursive] Error 1
      >

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            TangoQueen Ranjeet Kuruvilla [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: