Results 1 to 9 of 9

Thread: Can't compile LookingGlass master branch

  1. #1

    Default Can't compile LookingGlass master branch

    I've trying to compile LookingGlass on my Leap workstations (2 different PCs):

    https://looking-glass.hostfission.co...rt/linux/build

    https://github.com/gnif/LookingGlass

    - sadly I can't. Previous releases (A12 for example) worked without a hitch. With the master branch now I got this after "make":

    Code:
    [ 94%] Linking C executable looking-glass-client
    /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/libbfd.a(plugin.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
    /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lib64/libdl.so.2: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/looking-glass-client.dir/build.make:173: looking-glass-client] Błąd 1
    make[1]: *** [CMakeFiles/Makefile2:82: CMakeFiles/looking-glass-client.dir/all] Błąd 2
    make: *** [Makefile:130: all] Błąd 2
    I've reached to maintainer and he suggested to install binutilus-devel package. I already have it installed:


    Any suggestions what can I try to make it work?

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,377
    Blog Entries
    2

    Default Re: Can't compile LookingGlass master branch

    Although development/compiling questions are often answered in this Forum, more difficult questions like this probably belong in the Development forums.
    And, this specific question relates to KVM PCI Pass-through which is an extra complication.

    From what you posted,
    I can anticipate 2 likely sources for your error...
    1. The package dependency list is for Debian packages... Have you installed the corresponding RPM packages? If you're not sure, you should post your dependencies inastall list.
    2. There might be a fixed path in the cmake script which would break the build. Would need to be fixed.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,377
    Blog Entries
    2

    Default Re: Can't compile LookingGlass master branch

    Looks like some Looking Glass packages have been built for openSUSE...

    https://software.opensuse.org/packag...g-glass-client

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4

    Default Re: Can't compile LookingGlass master branch

    thank you for looking it up Tsu. I've looked at those - those seem to be packages for previous versions, not the current master.
    And I've been able to build those. Sadly recently previous builds started to cause issues (worked nicely for over a year - I guess one of the recent updates broke those, currently I'm able to make it work around 1 in 5 attempts). So far the gdb output seem to point to problem with SDL from OpenSUSE repos (note - as I'm not a programmer I'm just forwarding suggestion from the dev).

    https://forum.level1techs.com/t/look...ge/130952/1788

    I'm trying to find a culprit - and also trying to follow a suggestion to try current master branch (current master have extra dependency - binutils) . CMake step goes thorough, but during make I got the error quoted in the 1st post.
    Any suggestion howto make it compile are greatly appreciated as this is way beyond my knowledge. I'll also continue investigating why previous releases started to fail (currently dev asked me to check it with Valgrind).

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,377
    Blog Entries
    2

    Default Re: Can't compile LookingGlass master branch

    Skimming your level1techs forum thread, both your thread hijacker and yourself seem to have a strong aversion to posting your installed packages, which I noted was one of the two most likely causes of error you should check first.

    Please post.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6

    Default Re: Can't compile LookingGlass master branch

    there's no ill will on my end tsu - but i simply don't know what command I could use to provide those. As you can see when I've been asked to check whether binutils-devel is installed I did it and provided screenshot from Yast. Let me know what should I check / what command I should use and I'll happily provide output .
    One extra note - the "hijacker" (not really - thread there is designed for troubleshooting for all folks ) had issues with compiling A12 release, not master branch. On my end I haven't encountered problems with it (other than that since recently those do not work correctly on SUSE - seem sdl problems).

  7. #7

    Default Re: Can't compile LookingGlass master branch

    tried A12 release with upgraded SDL2 libraries. I've taken 2.0.9 from Games experimental repo - and now LookingGlass A12 seems to be working without a hitch.
    Suggests there indeed is a bug in SDL package (2.0.8) found in regular repository - should it be reported somewhere?

    I'm still looking for getting master branch to compile - just for futureproofing . But I'll probably ask about that in development section as Tsu suggested.

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,377
    Blog Entries
    2

    Default Re: Can't compile LookingGlass master branch

    Quote Originally Posted by Pshemas View Post
    tried A12 release with upgraded SDL2 libraries. I've taken 2.0.9 from Games experimental repo - and now LookingGlass A12 seems to be working without a hitch.
    Suggests there indeed is a bug in SDL package (2.0.8) found in regular repository - should it be reported somewhere?

    I'm still looking for getting master branch to compile - just for futureproofing . But I'll probably ask about that in development section as Tsu suggested.
    Glad to hear you are making progress.
    The YaST screenshot only displays your binutils and binutils-devel, does not list all your dependencies. If you decide to create a bug report, you will need to provide <complete> information about your compilation efforts which would include a complete list.

    If you can either pinpoint exactly what is missing in a package or can provide a sufficiently detailed description of what you've done so that someone can replicate your steps and arrive at same results, you can submit a bug at https://bugzilla.opensuse.org.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9

    Default Re: Can't compile LookingGlass master branch

    yeah, Tsu but my point is - how can I provide that information? I really do not know.
    And how to make it relevant? If there was command that would list ALL the packages I have installed I guess that wouldn't be useful as that would be insanely long list.

    As stated above - I narrowed down issues with A12 release to SDL2 packages that are in OpenSUSE repos. It suggests there's an issue with them. When it comes to master branch I can't get it to compile (on 2 different machines) - followed the suggestion of the dev and checked whether binutils-devel is present on my system. It is. I literally have no clue what might be missing and what can I try next.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •