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

Undefined reference "bson_atomic_int64_add" on 32bit embed system

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.5
    • Affects Version/s: None
    • Component/s: Build, libbson
    • None

      (ported from github)

      I want to port the mongoc_driver to my raspberry pi but there is an issues when I compile the driver under the the raspberry pi with raspbian system.
      The compiler said: Undifined reference "bson_atomic_int64_add".
      The raspberry pi only support 32 bit system and I have installed a raspbian system with gcc and g++ for it.

      I have tried to use the cross toolchain to build the driver and it has been done without errors.
      But I think there is some difference because the os of the host is a 64bit system and the 'bson_atomic_int64_add' was supported.

      I prefer the mongoc driver than mongoc++ driver because I didn't want to install boost library for raspbian.

      Can any body tell me how to fixed the issue?
      I hope the mongoc driver can be compiled under raspbian system.

            Assignee:
            Unassigned Unassigned
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: