guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Novak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GUACAMOLE-105) Printing in RDP has a sometimes option
Date Tue, 13 Sep 2016 05:30:21 GMT

    [ https://issues.apache.org/jira/browse/GUACAMOLE-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15486314#comment-15486314
] 

Werner Novak commented on GUACAMOLE-105:
----------------------------------------

Hi Mike, in principle I'm using the guacd from the incubator-guacamole-server 0.9.10 but during
compiling guacenc I get some errors with objects (ffmpeg-compat.o, guacenc-video.o) and so
I changed the guacenc_CFLAGS from "-Werror -Wall -pedantic" to only "-Werror -Wall" for these
two modules.

After that compiling works find for the rest !

Here is the error:
# cd /src/guacenc
# make
  CC       guacenc-buffer.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
In file included from /usr/include/ffmpeg/libavutil/imgutils.h:31:0,
                 from ffmpeg-compat.c:27:
/usr/include/ffmpeg/libavutil/pixdesc.h:34:5: error: type of bit-field ‘plane’ is a GCC
extension [-Werror=pedantic]
     uint16_t plane        : 2;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:40:5: error: type of bit-field ‘step_minus1’ is
a GCC extension [-Werror=pedantic]
     uint16_t step_minus1  : 3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:46:5: error: type of bit-field ‘offset_plus1’
is a GCC extension [-Werror=pedantic]
     uint16_t offset_plus1 : 3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:52:5: error: type of bit-field ‘shift’ is a GCC
extension [-Werror=pedantic]
     uint16_t shift        : 3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:57:5: error: type of bit-field ‘depth_minus1’
is a GCC extension [-Werror=pedantic]
     uint16_t depth_minus1 : 4;
     ^
cc1: all warnings being treated as errors
make: *** [guacenc-ffmpeg-compat.o] Error 1
# vi Makefile  / changed guacenc_CFLAGS
# make guacenc-ffmpeg-compat.o
  CC       guacenc-ffmpeg-compat.o
# vi Makefile / changed back to original
# make
  CC       guacenc-guacenc.o
  CC       guacenc-image-stream.o
  CC       guacenc-instructions.o
  CC       guacenc-instruction-blob.o
  CC       guacenc-instruction-cfill.o
  CC       guacenc-instruction-copy.o
  CC       guacenc-instruction-cursor.o
  CC       guacenc-instruction-dispose.o
  CC       guacenc-instruction-end.o
  CC       guacenc-instruction-img.o
  CC       guacenc-instruction-move.o
  CC       guacenc-instruction-rect.o
  CC       guacenc-instruction-shade.o
  CC       guacenc-instruction-size.o
  CC       guacenc-instruction-sync.o
  CC       guacenc-instruction-transfer.o
  CC       guacenc-jpeg.o
  CC       guacenc-layer.o
  CC       guacenc-log.o
  CC       guacenc-parse.o
  CC       guacenc-png.o
  CC       guacenc-video.o
In file included from /usr/include/ffmpeg/libavutil/imgutils.h:31:0,
                 from video.c:29:
/usr/include/ffmpeg/libavutil/pixdesc.h:34:5: error: type of bit-field ‘plane’ is a GCC
extension [-Werror=pedantic]
     uint16_t plane        : 2;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:40:5: error: type of bit-field ‘step_minus1’ is
a GCC extension [-Werror=pedantic]
     uint16_t step_minus1  : 3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:46:5: error: type of bit-field ‘offset_plus1’
is a GCC extension [-Werror=pedantic]
     uint16_t offset_plus1 : 3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:52:5: error: type of bit-field ‘shift’ is a GCC
extension [-Werror=pedantic]
     uint16_t shift        : 3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:57:5: error: type of bit-field ‘depth_minus1’
is a GCC extension [-Werror=pedantic]
     uint16_t depth_minus1 : 4;
     ^
cc1: all warnings being treated as errors
make: *** [guacenc-video.o] Error 1
# vi Makefile  / changed guacenc_CFLAGS
# make guacenc-video.o
  CC       guacenc-video.o
# vi Makefile / changed back to original
# make
  CC       guacenc-webp.o
  CCLD     guacenc



> Printing in RDP has a sometimes option
> --------------------------------------
>
>                 Key: GUACAMOLE-105
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-105
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 0.9.10-incubating
>         Environment: Tomcat 7.0.54-2.el7_1
> CentOS 7
> RDP to Windows 2008 R2 Terminal Server German LangPack
> 0.9.10-incubation master + patch 57 and 71
>            Reporter: Werner Novak
>
> After testing the GUACAMOLE-104 and doing a regression test for print at all, I figured
out that there is a sometimes option with printing.
> Sometimes it works, sometimes you get a 0 byte sized PDF and sometimes there is not even
the download popup. 
> I also identified that small files won't function at all, i.e. small Websites, Word documents
or Notepad files.
> What should I deliver to you for analyzing that problem !
> There is nothing in the logs that I can assign to that problem.
> Could it be a regression to GUACAMOLE-49 or GUACAMOLE-44 ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message