[ https://issues.apache.org/jira/browse/GUACAMOLE-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17691576#comment-17691576 ]
joks commented on GUACAMOLE-1736: --------------------------------- ps: for now if someone have the same error i disable recording add the flag --disable-guacenc to the ./configure step in the > video.c:63:22: error: assignment discards ‘const’ qualifier from pointer > target type [-Werror=discarded-qualifiers] > ------------------------------------------------------------------------------------------------------------------- > > Key: GUACAMOLE-1736 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1736 > Project: Guacamole > Issue Type: Bug > Components: guacamole > Affects Versions: 1.5.0 > Reporter: joks > Priority: Major > > Hello under latest ubuntu when i update guacamole from 1.4 to 1.5 when i > write "sudo make" in guacamole-server i have this error: > > make[2]: Entering directory > '/home/kpietrasiak/guacamole-server-1.5.0/src/guacd' > /usr/bin/mkdir -p '/usr/bin' > /bin/bash ../../libtool --mode=install /usr/bin/install -c guacd > '/usr/bin' > libtool: install: /usr/bin/install -c .libs/guacd /usr/bin/guacd > /usr/bin/mkdir -p '/usr/share/man/man5' > /usr/bin/install -c -m 644 man/guacd.conf.5 '/usr/share/man/man5' > /usr/bin/mkdir -p '/usr/share/man/man8' > /usr/bin/install -c -m 644 man/guacd.8 '/usr/share/man/man8' > /usr/bin/mkdir -p '/usr/lib/systemd/system' > /usr/bin/install -c -m 644 systemd/guacd.service '/usr/lib/systemd/system' > make[2]: Leaving directory > '/home/kpietrasiak/guacamole-server-1.5.0/src/guacd' > make[1]: Leaving directory > '/home/kpietrasiak/guacamole-server-1.5.0/src/guacd' > Making install in src/guacenc > make[1]: Entering directory > '/home/kpietrasiak/guacamole-server-1.5.0/src/guacenc' > CC guacenc-video.o > video.c: In function ‘guacenc_video_alloc’: > video.c:63:22: error: assignment discards ‘const’ qualifier from pointer > target type [-Werror=discarded-qualifiers] > 63 | container_format = container_format_context->oformat; > | ^ > video.c:66:22: error: initialization discards ‘const’ qualifier from pointer > target type [-Werror=discarded-qualifiers] > 66 | AVCodec* codec = avcodec_find_encoder_by_name(codec_name); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > make[1]: *** [Makefile:1126: guacenc-video.o] Error 1 > make[1]: Leaving directory > '/home/kpietrasiak/guacamole-server-1.5.0/src/guacenc' > make: *** [Makefile:544: install-recursive] Error 1 -- This message was sent by Atlassian Jira (v8.20.10#820010)