Remmina compilation instructions to be updated
Hello,
I compiled both FreeRDP and Remmina from the Git Repositories,according to https://gitlab.com/Remmina/Remmina/-/wikis/Compilation/Compile-on-Arch-Linux.
The instructions mention that branch 2.0.0 is to be cloned from Git, however, this branch does not compile:
Linking C shared library libfreerdp-client2.so
/usr/bin/ld: ../../channels/urbdrc/client/liburbdrc-client.a(data_transfer.c.o):/home/gerd/Downloads/FreeRDP/channels/urbdrc/client/urbdrc_main.h:232: multiple definition of `device_add_flag_t'; ../../channels/urbdrc/client/liburbdrc-client.a(urbdrc_main.c.o):/home/gerd/Downloads/FreeRDP/channels/urbdrc/client/urbdrc_main.h:232: first defined here
/usr/bin/ld: ../../channels/urbdrc/client/libusb/liburbdrc-client-libusb.a(libusb_udevman.c.o):/home/gerd/Downloads/FreeRDP/channels/urbdrc/client/libusb/../urbdrc_main.h:232: multiple definition of `device_add_flag_t'; ../../channels/urbdrc/client/liburbdrc-client.a(urbdrc_main.c.o):/home/gerd/Downloads/FreeRDP/channels/urbdrc/client/urbdrc_main.h:232: first defined here
/usr/bin/ld: ../../channels/urbdrc/client/libusb/liburbdrc-client-libusb.a(libusb_udevice.c.o):/home/gerd/Downloads/FreeRDP/channels/urbdrc/client/libusb/../urbdrc_main.h:232: multiple definition of `device_add_flag_t'; ../../channels/urbdrc/client/liburbdrc-client.a(urbdrc_main.c.o):/home/gerd/Downloads/FreeRDP/channels/urbdrc/client/urbdrc_main.h:232: first defined here
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [client/common/CMakeFiles/freerdp-client.dir/build.make:216: client/common/libfreerdp-client2.so.2.0.0] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:3502: client/common/CMakeFiles/freerdp-client.dir/all] Fehler 2
make: *** [Makefile:171: all] Fehler 2
So I fetched FreeRDP 2.2.0 instead.
This compiles as per instructions but there is another small error for updating the FreeRDP library path.
The command has to be changed to reflect the folder where the FreeRDP 2 libs are currently residing:
echo /opt/remmina_devel/freerdp/lib | sudo tee /etc/ld.so.conf.d/freerdp_devel.conf > /dev/null
This enables ldconfig
to indeed update the library path appropriately. Otherwise, the RDP plugin would fail to load.
Edited by DAC324