Subject: | Compilation error on CentOS 7 |
Compilation fails on my CentOS7 smoker:
...
cc -c -I/home/eserte/.cpan/build/2018120322/Imager-1.007-0/blib/lib/Imager/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.002\" -DXS_VERSION=\"0.002\" -fPIC "-I/opt/perl-5.28.0/lib/5.28.0/x86_64-linux/CORE" imwebp.c
imwebp.c: In function âget_imageâ:
imwebp.c:148:8: error: âWebPMuxFrameInfoâ has no member named âblend_methodâ
if (f.blend_method == WEBP_MUX_BLEND)
^
imwebp.c:148:25: error: âWEBP_MUX_BLENDâ undeclared (first use in this function)
if (f.blend_method == WEBP_MUX_BLEND)
^
imwebp.c:148:25: note: each undeclared identifier is reported only once for each function it appears in
imwebp.c: In function âi_writewebp_multiâ:
imwebp.c:423:5: error: âWebPMuxFrameInfoâ has no member named âblend_methodâ
f.blend_method = WEBP_MUX_BLEND;
^
imwebp.c:423:21: error: âWEBP_MUX_BLENDâ undeclared (first use in this function)
f.blend_method = WEBP_MUX_BLEND;
^
imwebp.c:426:5: error: âWebPMuxFrameInfoâ has no member named âblend_methodâ
f.blend_method = WEBP_MUX_NO_BLEND;
^
imwebp.c:426:21: error: âWEBP_MUX_NO_BLENDâ undeclared (first use in this function)
f.blend_method = WEBP_MUX_NO_BLEND;
^
imwebp.c:434:3: error: âWebPMuxFrameInfoâ has no member named âblend_methodâ
f.blend_method = WEBP_MUX_BLEND;
^
make: *** [imwebp.o] Error 1
...