Skip to content

upgrade gives compiling issue #265

@aroundmyroom

Description

@aroundmyroom

I'm getting this issue when running the upgrade script from 1.5.2 to 1.5.3, but cannot relate what I have to to do fix this one ..
Guac is working, so it's not a massive issue, but no clue what it should do or give me as feature.

/usr/bin/install -c -m 644 systemd/guacd.service '/etc/systemd/system'
make[2]: Leaving directory '/home/upgrade/guacamole-server-1.5.3/src/guacd'
make[1]: Leaving directory '/home/upgrade/guacamole-server-1.5.3/src/guacd'
Making install in src/guacenc
make[1]: Entering directory '/home/upgrade/guacamole-server-1.5.3/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/upgrade/guacamole-server-1.5.3/src/guacenc'
make: *** [Makefile:544: install-recursive] Error 1
Starting tomcat and guacamole...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions