ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Guacamole Compilation Error on Fedora 24

    IT Discussion
    fedora 24 gcc 6 guacamole guacamole 0.9.9
    2
    5
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Computing Apache Guacamole 0.9.9 on Fedora 24 or Korora 24 with GCC 6 results in:

      /usr/include/glib-2.0/gobject/gparam.h:166:33: error: enumerator value for 'G_PARAM_DEPRECATED' is not an integer constant expression [-Werror=pedantic]
         G_PARAM_DEPRECATED          = 1 << 31
                                       ^
      cc1: all warnings being treated as errors
      Makefile:523: recipe for target 'libguac_terminal_la-display.lo' failed
      make[2]: *** [libguac_terminal_la-display.lo] Error 1
      make[2]: Leaving directory '/tmp/guacamole-server-0.9.9/src/terminal'
      Makefile:463: recipe for target 'all-recursive' failed
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory '/tmp/guacamole-server-0.9.9'
      Makefile:394: recipe for target 'all' failed
      make: *** [all] Error 2
      

      This is caused by a compatibility issue with GCC 6.

      1 Reply Last reply Reply Quote 0
      • T
        tiagom
        last edited by

        Looks like a known issue.

        https://glyptodon.org/jira/browse/GUAC-1530

        Looks like you can work around that by compiling with "-Wno-error=pedantic".

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @tiagom
          last edited by

          @tiagom said in Guacamole Compilation Error on Fedora 24:

          Looks like a known issue.

          https://glyptodon.org/jira/browse/GUAC-1530

          Looks like you can work around that by compiling with "-Wno-error=pedantic".

          Yeah, tried that and no luck.

          1 Reply Last reply Reply Quote 0
          • T
            tiagom
            last edited by

            oh duh, it was off screen. I guess i need some sleep..

            1 Reply Last reply Reply Quote 0
            • T
              tiagom
              last edited by

              So strange even the GCC 6 documentation implies that -Wno-error=pedantic should cause -Werror=pedantic warnings to not be treated as errors.

              "This switch takes a negative form, to be used to negate -Werror for specific warnings; for example -Wno-error=switch makes -Wswitch warnings not be errors, even when -Werror is in effect."

              https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/Warning-Options.html#Warning-Options

              I would guess if you really want to install you could remove -Werror from AM_INIT_AUTOMAKE (or add -Wno-error=pedantic)

              https://github.com/apache/incubator-guacamole-server/blob/master/configure.ac#L22

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post