Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2185

Cross compilation fails during linking codec_test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-c-0.30.0, proton-c-0.31.0
    • None
    • proton-c
    • None
    • Patch

    Description

      Target: NXP i.MX7D application processor

      Build environment_ Yocto, arm-poky-linux-gnueabi-g++ v5.2.0

      I tried to cross compile qpid-proton v0.30.0 and also the actual master branch. Unfortunately it fails during linking codec_test:

      Scanning dependencies of target codec_test
      [ 69%] Building CXX object cpp/CMakeFiles/codec_test.dir/src/codec_test.cpp.o
      [ 69%] Linking CXX executable codec_test
      /opt/b8mcu_sdk/0.0.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: warning: libqpid-proton-proactor.so.1, needed by libqpid-proton-cpp.so.12.6.1, not found (try using -rpath or -rpath-link)
      /opt/b8mcu_sdk/0.0.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: warning: libqpid-proton-core.so.10, needed by libqpid-proton-cpp.so.12.6.1, not found (try using -rpath or -rpath-link)
      libqpid-proton-cpp.so.12.6.1: undefined reference to `pn_data_put_described'
      libqpid-proton-cpp.so.12.6.1: undefined reference to `pn_dtag'
      libqpid-proton-cpp.so.12.6.1: undefined reference to `pn_message_set_reply_to'

      For details please see:

      I also tried to build qpid-proton with BUILD_TESTING, FUZZ_LONG_TESTS and FUZZ_REGRESSION__TEST set to "NO". Therefore, I wonder why it tries to build codec_test at all.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f.hollerer@schrack-seconet.com Franz Hollerer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: