Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade gives compiling issue #265

Open
aroundmyroom opened this issue Jan 17, 2024 · 0 comments
Open

upgrade gives compiling issue #265

aroundmyroom opened this issue Jan 17, 2024 · 0 comments

Comments

@aroundmyroom
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant