On Tue, Jul 30, 2019 at 1:15 PM Mike Jumper <[email protected]> wrote:
> On Tue, Jul 30, 2019, 05:47 Shawn Qureshi <[email protected]> wrote: > >> Hi, I'm getting make errors on Fedora 30 (kernel 5.1.17-300.fc30.x86_64), >> was hoping someone could help isolate what's going on here, I'm not a C >> developer so I'm not sure how to fix this: >> >> make[2]: Entering directory '/root/guacamole-server-0.9.14/src/common-ssh' >> make[2]: Nothing to be done for 'all'. >> make[2]: Leaving directory '/root/guacamole-server-0.9.14/src/common-ssh' >> Making all in src/terminal >> make[2]: Entering directory '/root/guacamole-server-0.9.14/src/terminal' >> CC libguac_terminal_la-typescript.lo >> typescript.c: In function âguac_terminal_typescript_allocâ: >> typescript.c:133:46: error: â%sâ directive writing 6 bytes into a region >> of size between 0 and 2047 [-Werror=format-overflow=] >> 133 | sprintf(typescript->timing_filename, "%s.%s", >> typescript->data_filename, >> | ^~ >> typescript.c:133:5: note: âsprintfâ output between 8 and 2055 bytes into >> a destination of size 2048 >> 133 | sprintf(typescript->timing_filename, "%s.%s", >> typescript->data_filename, >> | >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> 134 | GUAC_TERMINAL_TYPESCRIPT_TIMING_SUFFIX); >> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> cc1: all warnings being treated as errors >> make[2]: *** [Makefile:566: libguac_terminal_la-typescript.lo] Error 1 >> make[2]: Leaving directory '/root/guacamole-server-0.9.14/src/terminal' >> make[1]: *** [Makefile:503: all-recursive] Error 1 >> make[1]: Leaving directory '/root/guacamole-server-0.9.14' >> make: *** [Makefile:427: all] Error 2 >> > > Rather than build 0.9.14, you should instead build the latest release. > This was fixed in 1.0.0: > > https://issues.apache.org/jira/browse/GUACAMOLE-500 > > https://guacamole.apache.org/releases/1.0.0/ > > - Mike > > Thanks, that brought me a long further, but now there seems to be an error with using the libavcodec, I am using ffmpeg-4.1.4-1.fc30-x86_64 make[2]: Leaving directory '/root/guacamole-server-1.0.0/src/guacd' Making all in src/guacenc make[2]: Entering directory '/root/guacamole-server-1.0.0/src/guacenc' CC guacenc-buffer.o CC guacenc-cursor.o CC guacenc-display.o CC guacenc-display-buffers.o CC guacenc-display-image-streams.o CC guacenc-display-flatten.o CC guacenc-display-layers.o CC guacenc-display-sync.o CC guacenc-encode.o CC guacenc-ffmpeg-compat.o CC guacenc-guacenc.o guacenc.c: In function âmainâ: guacenc.c:79:5: error: âavcodec_register_allâ is deprecated [-Werror=deprecated-declarations] 79 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ In file included from guacenc.c:27: /usr/include/ffmpeg/libavcodec/avcodec.h:4102:6: note: declared here 4102 | void avcodec_register_all(void); | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:761: guacenc-guacenc.o] Error 1 make[2]: Leaving directory '/root/guacamole-server-1.0.0/src/guacenc'
