[
https://issues.apache.org/jira/browse/GUACAMOLE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932122#comment-15932122
]
Michael Jumper commented on GUACAMOLE-246:
------------------------------------------
This build failure is specific to guacenc, which needs the {{jpeg_mem_src()}}
function provided by libjpeg / libjpeg-turbo for reading JPEG data from a
buffer in memory. We'll have to provide some alternative for the case where
that function is absent (or perhaps disable the guacenc build on platforms
which lack this).
If you won't be needing guacenc, you can continue building guacamole-server by
manually disabling the guacenc portion of the build:
{code:none}
./configure --disable-guacenc
{code}
> guacenc build fails against libjpeg-turbo 1.2.90
> ------------------------------------------------
>
> Key: GUACAMOLE-246
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-246
> Project: Guacamole
> Issue Type: Bug
> Components: guacenc
> Affects Versions: 0.9.11-incubating
> Environment: Amazon Linux AMI 2016.09
> Reporter: kimside
> Priority: Minor
>
> guacenc fails to compile against libjpeg-turbo 1.2.90 (in this case on Amazon
> Linux 2016.09), due {{jpeg_mem_src()}} not being defined:
> {code:none}
> make[2]: Entering directory
> `/home/ec2-user/guacamole-server-0.9.11-incubating/src/guacd'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/ec2-user/guacamole-server-0.9.11-incubating/src/guacd'
> Making all in src/guacenc
> make[2]: Entering directory
> `/home/ec2-user/guacamole-server-0.9.11-incubating/src/guacenc'
> CC guacenc-jpeg.o
> jpeg.c: In function 'guacenc_jpeg_decoder':
> jpeg.c:94:5: error: implicit declaration of function 'jpeg_mem_src'
> [-Werror=implicit-function-declaration]
> jpeg_mem_src(&cinfo, data, length);
> ^
> cc1: all warnings being treated as errors
> make[2]: *** [guacenc-jpeg.o] Error 1
> make[2]: Leaving directory
> `/home/ec2-user/guacamole-server-0.9.11-incubating/src/guacenc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ec2-user/guacamole-server-0.9.11-incubating'
> make: *** [all] Error 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)