Code Monkey home page Code Monkey logo

Comments (4)

garbear avatar garbear commented on August 12, 2024

Does #6 fix your build failure?

from peripheral.steamcontroller.

davidheitman avatar davidheitman commented on August 12, 2024

Fixes the compile, but not the link:

[100%] Linking CXX shared library peripheral.steamcontroller.so
/usr/bin/ld: /home/loucipher/repos/Lou-Cipher/xbmc/kodi-addon/build/depends/lib/libusb-1.0.a(libusb_1_0_la-core.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/peripheral.steamcontroller.dir/build.make:433: recipe for target 'peripheral.steamcontroller.so.0.10.0' failed
make[5]: *** [peripheral.steamcontroller.so.0.10.0] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/peripheral.steamcontroller.dir/all' failed
make[4]: *** [CMakeFiles/peripheral.steamcontroller.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/peripheral.steamcontroller.dir/build.make:112: recipe for target 'peripheral.steamcontroller-prefix/src/peripheral.steamcontroller-stamp/peripheral.steamcontroller-build' failed
make[2]: *** [peripheral.steamcontroller-prefix/src/peripheral.steamcontroller-stamp/peripheral.steamcontroller-build] Error 2
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/peripheral.steamcontroller.dir/all' failed
make[1]: *** [CMakeFiles/peripheral.steamcontroller.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I'm 100% certain I've run into this same build error before in the past few days, but I've been messing with lots of stuff. I believe libusb gets built by the kodi addon system, but I don't know how to force it to use fPIC for the build.

from peripheral.steamcontroller.

davidheitman avatar davidheitman commented on August 12, 2024

I believe the linker issue being a separate matter, we can close this issue.

from peripheral.steamcontroller.

garbear avatar garbear commented on August 12, 2024

OK. Best to skip this add-on for now, as it has an infinite loop bug. I plan to finish this and several other peripheral add-ons once the new Player Manager is released.

from peripheral.steamcontroller.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.