Probleme beim Compilieren/Linken der roccat-Tools (Maus)

KDE, Gnome, Windowmanager, X11, Grafiktreiber und alles was dazu notwendig ist. Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Probleme beim Compilieren/Linken der roccat-Tools (Maus)

Beitrag von mistersixt » 29.04.2021 10:14:15

Moin moin,

ich habe mir eine Gaming-Mouse von Roccat gegönnt, zum Konfigurieren gibt es die "roccat-tools" auf Sourceforge[1], wenn ich den Kram aber unter Debian-11 compilieren/linken will, kommt das hier:

Code: Alles auswählen

...
[ 59%] Built target roccatpyracontrol
[ 60%] Built target libpyraeventhandler
[ 60%] Built target ryosmk_dbus_bindings
[ 60%] Linking C shared library libroccatryosmk.so
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_device.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_device_state.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_info.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_key_mask.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_easyzone.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_extra.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_function.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_macro.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_primary.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_thumbster.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_light.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_light_control.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_macro.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_profile.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_reset.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_stored_lights.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_talk.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [ryosmk/libroccatryosmk/CMakeFiles/libroccatryosmk.dir/build.make:653: ryosmk/libroccatryosmk/libroccatryosmk.so.5.9.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:6758: ryosmk/libroccatryosmk/CMakeFiles/libroccatryosmk.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
Jemand vielleicht eine Idee? Ich habe auch schon dort in das Diskussionsforum gepostet, aber da scheint eher sehr selten Jemand zu helfen (oder gar nicht).

Gruss, mistersixt.


[1] https://sourceforge.net/projects/roccat/
--
System: Debian Bookworm, 6.5.x.-x-amd64, ext4, AMD Ryzen 7 3700X, 8 x 4.0 Ghz., Radeon RX 5700 XT, 16 GB Ram, XFCE

JTH
Moderator
Beiträge: 3023
Registriert: 13.08.2008 17:01:41
Wohnort: Berlin

Re: Probleme beim Compilieren/Linken der roccat-Tools (Maus)

Beitrag von JTH » 29.04.2021 10:42:19

Moin!

Wenn du Pech hast, wirst du mit einer neueren Maus nicht glücklich damit:
https://sourceforge.net/p/roccat/discussion/989581/thread/6617fddc7c/?limit=25#16b5/e61d/5dfd/6160/8116/947d/aa88/8030/5ba6/6706/ff19/bcfe/efeb/9d92 hat geschrieben: This project ended some years ago. So no support for newer devices than stated in the readme. Feel free to do it yourself.
Wahrscheinlich gibts deshalb auch keine regelmäßige Hilfe dort.

Du bist nicht der erste mit dem Problem, hier hat jemand Abhilfe gepostet.
Manchmal bekannt als Just (another) Terminal Hacker.

Benutzeravatar
mistersixt
Beiträge: 6601
Registriert: 24.09.2003 14:33:25
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Probleme beim Compilieren/Linken der roccat-Tools (Maus)

Beitrag von mistersixt » 29.04.2021 11:17:14

Super, danke, das hat sehr geholfen :) !
--
System: Debian Bookworm, 6.5.x.-x-amd64, ext4, AMD Ryzen 7 3700X, 8 x 4.0 Ghz., Radeon RX 5700 XT, 16 GB Ram, XFCE

Benutzeravatar
smutbert
Moderator
Beiträge: 8331
Registriert: 24.07.2011 13:27:39
Wohnort: Graz

Re: Probleme beim Compilieren/Linken der roccat-Tools (Maus)

Beitrag von smutbert » 29.04.2021 15:40:21

Normalerweise würde ich mich in so einem suchen ob es irgendwo anders ein deb-Paket von dem Programm gibt und wenn das der Fall ist das debianisierte Quellcodepaket herunterladen und versuchen das Paket zu bauen.

Tatsächlich habe ich es roccat-tools in einem PPA von Ubuntu [1] und bei MX Linux [2]. Ich habe testweise einmal versucht das Paket von ersterem unter Debian bullseye zu bauen, was aber fehlgeschlagen ist – das fertige Paket (roccat-tools_5.9.0-1-ppa1~xenial1_amd64.deb) läuft dagegen, vielleicht hast du unter buster auch Glück. Ob es auch funktioniert konnte ich mangels dieser Maus allerdings nicht testen.

[1] https://launchpad.net/~berfenger/+archive/ubuntu/roccat
[2] http://mxrepo.com/mx/testrepo/pool/test/r/roccat-tools/

Antworten