Powerblock driver fails to install
-
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 tofcntl@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:~ $ -
@Truthkeeper Can you provide some info on your build/target system ? What Pi model/Raspbian or other distro ?
-
@mitu I just wanted to ask the same :-D
-
@mitu Sorry, completely forgot to mention this is on a Pi3
-
@Truthkeeper And what distro/image are you using ?
-
@mitu It's the Retropie 4.5 image, fully updated as of the 18th.
-
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.
-
@petrockblog Installed the update driver with no errors, working fine now. No further issues, excellent product you have here.
-
Glad to hear that!
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.