RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Powerblock driver fails to install

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    retropiepowerblock
    9 Posts 3 Posters 792 Views
    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.
    • T
      Truthkeeper
      last edited by Truthkeeper

      After receiving my PowerBlock today, I attempted to install the driver, only to be met with this block of text. Installing on most recent Retropie image on Raspberry Pi3 B.

      [ 58%] Building CXX object CMakeFiles/powerblock.dir/src/powerblock/main.cpp.o
      [ 64%] Linking CXX executable powerblock
      /usr/lib/gcc/arm-linux-gnueabihf/6/../../../libwiringPi.so: undefined reference to fcntl@GLIBC_2.28' collect2: error: ld returned 1 exit status CMakeFiles/powerblock.dir/build.make:97: recipe for target 'powerblock' failed make[2]: *** [powerblock] Error 1 CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/powerblock.dir/all' failed make[1]: *** [CMakeFiles/powerblock.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 Error during building binary [ 23%] Built target jsoncpp_lib_static [ 52%] Built target powerblock-app [ 58%] Linking CXX executable powerblock /usr/lib/gcc/arm-linux-gnueabihf/6/../../../libwiringPi.so: undefined reference to fcntl@GLIBC_2.28'
      collect2: error: ld returned 1 exit status
      CMakeFiles/powerblock.dir/build.make:97: recipe for target 'powerblock' failed
      make[2]: *** [powerblock] Error 1
      CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/powerblock.dir/all' failed
      make[1]: *** [CMakeFiles/powerblock.dir/all] Error 2
      Makefile:127: recipe for target 'all' failed
      make: *** [all] Error 2
      Error during installation of binary
      Scanning dependencies of target installservice
      [100%] Installing service.
      [100%] Built target installservice
      /home/pi/PowerBlock
      [ERROR] The PowerBlock driver binary is not installed
      [ERROR] The PowerBlock service is not running
      You can find the configuration file at /etc/powerblockconfig.cfg.
      pi@SuperPitendo:~ $

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Truthkeeper
        last edited by

        @Truthkeeper Can you provide some info on your build/target system ? What Pi model/Raspbian or other distro ?

        P T 2 Replies Last reply Reply Quote 0
        • P
          petrockblog Global Moderator @mitu
          last edited by

          @mitu I just wanted to ask the same :-D

          1 Reply Last reply Reply Quote 0
          • T
            Truthkeeper @mitu
            last edited by

            @mitu Sorry, completely forgot to mention this is on a Pi3

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Truthkeeper
              last edited by

              @Truthkeeper And what distro/image are you using ?

              T 1 Reply Last reply Reply Quote 0
              • T
                Truthkeeper @mitu
                last edited by

                @mitu It's the Retropie 4.5 image, fully updated as of the 18th.

                1 Reply Last reply Reply Quote 0
                • P
                  petrockblog Global Moderator
                  last edited by

                  I have just pushed the updated version of the driver to Github. The driver is now completely independent of wiringPi and only uses Linux sysfs. That error from above cannot occur with that driver version anymore.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Truthkeeper @petrockblog
                    last edited by

                    @petrockblog Installed the update driver with no errors, working fine now. No further issues, excellent product you have here.

                    1 Reply Last reply Reply Quote 0
                    • P
                      petrockblog Global Moderator
                      last edited by

                      Glad to hear that!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.