I am really starting to absolutely despise Linux land.
Latest problem is I need to compile a program called virt-viewer. The reason is that the cretins that wrote it decided to leave USB support out of the main build. So if you want to use this software, with USB support you have to build a full develpment OS and recompile from source.
So I have now Fedora with MingW installed, got the source from github.
Then I have to configure the install with my options. Just keep it basic for now.
Says it completed without errors.
Then I need to do
Pages and pages of linker errors
An excerpt
Now as this is "toytown" as Stek puts it, naturally there is no documentation that I can unearth. Just scraps of people saying
.
Anyone ever experienced trying to compile virt-viewer from github, or something using GTK2 that had the same or similar issues?
Absolutely fed up with this now.
Latest problem is I need to compile a program called virt-viewer. The reason is that the cretins that wrote it decided to leave USB support out of the main build. So if you want to use this software, with USB support you have to build a full develpment OS and recompile from source.
So I have now Fedora with MingW installed, got the source from github.
Then I have to configure the install with my options. Just keep it basic for now.
Code:
mingw64-configure --host=i686-pc-mingw32 --with-gtk=2.0
Then I need to do
Code:
ming64Wmake
An excerpt
07: undefined reference to `g_strv_length'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:108: undefined reference to `libintl_gettext'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:108: undefined reference to `g_printerr'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:116: undefined reference to `g_type_check_instance_cast'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:125: undefined reference to `g_object_unref'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:119: undefined reference to `gtk_main'
collect2: error: ld returned 1 exit status
make[3]: *** [virt-viewer.exe] Error 1
make[3]: Leaving directory `/home/charlie/Downloads/virt-viewer/virt-viewer-master/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/charlie/Downloads/virt-viewer/virt-viewer-master/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/charlie/Downloads/virt-viewer/virt-viewer-master'
make: *** [all] Error 2
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:108: undefined reference to `libintl_gettext'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:108: undefined reference to `g_printerr'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:116: undefined reference to `g_type_check_instance_cast'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:125: undefined reference to `g_object_unref'
/home/charlie/Downloads/virt-viewer/virt-viewer-master/src/virt-viewer-main.c:119: undefined reference to `gtk_main'
collect2: error: ld returned 1 exit status
make[3]: *** [virt-viewer.exe] Error 1
make[3]: Leaving directory `/home/charlie/Downloads/virt-viewer/virt-viewer-master/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/charlie/Downloads/virt-viewer/virt-viewer-master/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/charlie/Downloads/virt-viewer/virt-viewer-master'
make: *** [all] Error 2
Works for me, I just stood on one leg and pressed enter and it compiled
Anyone ever experienced trying to compile virt-viewer from github, or something using GTK2 that had the same or similar issues?
Absolutely fed up with this now.
Comment