Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Error while building reprap firmware 3

    Scheduled Pinned Locked Moved
    Firmware developers
    2
    5
    287
    Loading More Posts
    • 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.
    • Saurabhundefined
      Saurabh
      last edited by

      Hi @dc42 I'm trying to compile reprap firmware 3 for my duet3 board.
      I've donwloaded branches and using build configuration as given below.

      RepRapFirmware: v3-dev   - Duet3_V06
      CoreNG: dev  - SAME70
      FreeRTOS: master  - SAME70
      RRFLibraries: dev  - SAME70_RTOS
      DuetWiFiSocketServer: master
      CANlib : master   - SAME70
      

      but getting error as shown in screenshot.

      Compilation-Error.PNG

      I've not made any changes in code.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        You need to roll back project RRFLibraries to the 3.1.0 tag, https://github.com/Duet3D/RRFLibraries/releases.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Saurabhundefined
          Saurabh
          last edited by

          That worked but now getting other linker errors. Multiple definition in networking.

          LinkError.PNG

          one of them is given below.

          Description Resource Path Location Type
          ./src/Networking/LwipEthernet/Lwip/out/build/x64-Debug/CMakeFiles/3.16.19112601-MSVC_2/CompilerIdC/CMakeCCompilerId.o:(.data.info_arch+0x0): multiple definition of `info_arch'; ./src/Networking/LwipEthernet/Lwip/out/build/x64-Debug/CMakeFiles/3.16.19112601-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.o:(.data.info_arch+0x0): first defined here RepRapFirmware

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            The symbol "info_arch" is not used anywhere in RepRapFirmware. I see references to MSVC and X64-debug in your listing. Have you by any chance compiled the files using MSVC instead of gcc?

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • Saurabhundefined
              Saurabh
              last edited by Saurabh

              @dc42 I was trying to add project in vscode. It was taking too much time create Makefile so left it in half. Thank you for the help Sir.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA