Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Drones
  3. Starling & Starling 2
  4. Toolchain problem ? VOXL-Vision-Hub fails to build

Toolchain problem ? VOXL-Vision-Hub fails to build

Scheduled Pinned Locked Moved Starling & Starling 2
11 Posts 3 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Hector GutierrezH Hector Gutierrez

    Good morning,

    There seems to be an overall problem with the tool chain to build VOXL Vision Hub.
    First, I installed voxl-docker and voxl-cross(4.0) as described on the bootcamp.
    I cloned voxl-vision-hub: git clone https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/
    Then followed the instructions to build the target:
    $ cd voxl-vision-hub
    $ voxl-docker -i voxl-cross
    Inside voxl-cross docker: install build dependencies:
    voxl-cross(4.0)$ ./install_build_deps.sh qrb5165-2 dev
    Then build:
    voxl-cross(4.0)$ ./build.sh qrb5165-2

    and then it fails to build ! After giving a long list of warnings, the error message is:
    [100%] Linking CXX executable voxl-vision-hub
    /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
    make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
    make: *** [Makefile:136: all] Error 2

    This is a major modalai package and it fails to build just following the instructions.
    Please advise on how to proceed - This is somewhat urgent since the entire project is on hold if the tools for building don't work.
    Thanks.

    tomT Offline
    tomT Offline
    tom
    admin
    wrote on last edited by
    #2

    @Hector-Gutierrez You don't want to be building for qrb5165-2, you want qrb5165

    1 Reply Last reply
    0
    • Hector GutierrezH Hector Gutierrez

      Good morning,

      There seems to be an overall problem with the tool chain to build VOXL Vision Hub.
      First, I installed voxl-docker and voxl-cross(4.0) as described on the bootcamp.
      I cloned voxl-vision-hub: git clone https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/
      Then followed the instructions to build the target:
      $ cd voxl-vision-hub
      $ voxl-docker -i voxl-cross
      Inside voxl-cross docker: install build dependencies:
      voxl-cross(4.0)$ ./install_build_deps.sh qrb5165-2 dev
      Then build:
      voxl-cross(4.0)$ ./build.sh qrb5165-2

      and then it fails to build ! After giving a long list of warnings, the error message is:
      [100%] Linking CXX executable voxl-vision-hub
      /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
      collect2: error: ld returned 1 exit status
      make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
      make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
      make: *** [Makefile:136: all] Error 2

      This is a major modalai package and it fails to build just following the instructions.
      Please advise on how to proceed - This is somewhat urgent since the entire project is on hold if the tools for building don't work.
      Thanks.

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #3

      @Hector-Gutierrez All of our packages get built on master and dev each night so if you're wondering whether the package is able to be built you can always check the status of the CI pipelines: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/pipelines

      1 Reply Last reply
      0
      • Hector GutierrezH Offline
        Hector GutierrezH Offline
        Hector Gutierrez
        Contributor
        wrote on last edited by
        #4

        Tom - thanks for the prompt response. I used qrb5165-2 since I'm running on Ubuntu 20.04 and the build instructions mention to use that option.
        I re-did the procedure (after deleting all files from the previous attempt) , this time I used qrb5165 for both dependencies and built. Build fails, several warning, build error very similar as before:
        [100%] Linking CXX executable voxl-vision-hub
        /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
        collect2: error: ld returned 1 exit status
        make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
        make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
        make: *** [Makefile:136: all] Error 2

        I'm able to build other applications, so it seems my voxl-docker and voxl-cross are working properly. Please advise on what else could I try.
        Thanks, Hector

        Eric KatzfeyE tomT 2 Replies Last reply
        0
        • Hector GutierrezH Hector Gutierrez

          Tom - thanks for the prompt response. I used qrb5165-2 since I'm running on Ubuntu 20.04 and the build instructions mention to use that option.
          I re-did the procedure (after deleting all files from the previous attempt) , this time I used qrb5165 for both dependencies and built. Build fails, several warning, build error very similar as before:
          [100%] Linking CXX executable voxl-vision-hub
          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
          collect2: error: ld returned 1 exit status
          make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
          make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
          make: *** [Makefile:136: all] Error 2

          I'm able to build other applications, so it seems my voxl-docker and voxl-cross are working properly. Please advise on what else could I try.
          Thanks, Hector

          Eric KatzfeyE Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #5

          @Hector-Gutierrez What branch are you trying to build? If you install dependencies from the dev repo then you should also be building the dev branch of voxl-vision-hub

          Hector GutierrezH 1 Reply Last reply
          0
          • Hector GutierrezH Hector Gutierrez

            Tom - thanks for the prompt response. I used qrb5165-2 since I'm running on Ubuntu 20.04 and the build instructions mention to use that option.
            I re-did the procedure (after deleting all files from the previous attempt) , this time I used qrb5165 for both dependencies and built. Build fails, several warning, build error very similar as before:
            [100%] Linking CXX executable voxl-vision-hub
            /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
            collect2: error: ld returned 1 exit status
            make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
            make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
            make: *** [Makefile:136: all] Error 2

            I'm able to build other applications, so it seems my voxl-docker and voxl-cross are working properly. Please advise on what else could I try.
            Thanks, Hector

            tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #6

            @Hector-Gutierrez Your VOXL2 is running Ubuntu 20 or your host machine is Ubuntu 20?

            We don't build voxl-vision-hub for ubuntu 20 so that isn't correct

            tomT 1 Reply Last reply
            0
            • tomT tom

              @Hector-Gutierrez Your VOXL2 is running Ubuntu 20 or your host machine is Ubuntu 20?

              We don't build voxl-vision-hub for ubuntu 20 so that isn't correct

              tomT Offline
              tomT Offline
              tom
              admin
              wrote on last edited by
              #7

              @tom I believe we're also still building voxl-vision-hub with voxl-cross:V2.7, we're in a bit of a transition period of moving packages to the newer voxl-cross and I don't think voxl-vision-hub has been moved over yet

              Hector GutierrezH 1 Reply Last reply
              0
              • Eric KatzfeyE Eric Katzfey

                @Hector-Gutierrez What branch are you trying to build? If you install dependencies from the dev repo then you should also be building the dev branch of voxl-vision-hub

                Hector GutierrezH Offline
                Hector GutierrezH Offline
                Hector Gutierrez
                Contributor
                wrote on last edited by
                #8

                @Eric-Katzfey
                Hi Eric - the exact sequence I'm following is:

                $ git clone https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/
                $ cd voxl-vision-hub
                $ voxl-docker -i voxl-cross
                voxl-cross(4.0)$ ./install_build_deps.sh qrb5165 dev
                voxl-cross(4.0)$ ./build.sh qrb5165

                I've tried both options qrb5165 and qrb5165-2 and both fail at build.

                Thanks, Hector

                1 Reply Last reply
                0
                • tomT tom

                  @tom I believe we're also still building voxl-vision-hub with voxl-cross:V2.7, we're in a bit of a transition period of moving packages to the newer voxl-cross and I don't think voxl-vision-hub has been moved over yet

                  Hector GutierrezH Offline
                  Hector GutierrezH Offline
                  Hector Gutierrez
                  Contributor
                  wrote on last edited by
                  #9

                  @tom , can I install and use voxl-cross(2.7) concurrently with V4.0 ? Or do I have to delete my V4.0 installation ?

                  tomT 1 Reply Last reply
                  0
                  • Hector GutierrezH Hector Gutierrez

                    @tom , can I install and use voxl-cross(2.7) concurrently with V4.0 ? Or do I have to delete my V4.0 installation ?

                    tomT Offline
                    tomT Offline
                    tom
                    admin
                    wrote on last edited by
                    #10

                    @Hector-Gutierrez You can use them concurrently, just specify which to run like so voxl-docker -i voxl-cross:V2.7

                    If you don't specify which version to use it'll default to whichever is tagged with latest

                    Hector GutierrezH 1 Reply Last reply
                    0
                    • tomT tom

                      @Hector-Gutierrez You can use them concurrently, just specify which to run like so voxl-docker -i voxl-cross:V2.7

                      If you don't specify which version to use it'll default to whichever is tagged with latest

                      Hector GutierrezH Offline
                      Hector GutierrezH Offline
                      Hector Gutierrez
                      Contributor
                      wrote on last edited by
                      #11

                      @tom - that solved the problem . The solution was to download and build using voxl-cross:V2.7
                      Thanks for the very prompt response ! regards, Hector

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups