Subject: | Compilation errors in src/gif.c (FreeBSD 9 + 10) |
Building Image-Scale fails on freebsd systems:
cc -c -I. -I.. -Isrc -Iinclude -I/usr/local/include -I/usr/local/include -I/usr/local/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -DPIC -fPIC "-I/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE" -O2 -Wall -Wno-unused-value -Wno-format-security -Winline -ffast-math -DHAVE_JPEG -DJPEG_VERSION=80 -DHAVE_PNG -DPNG_VERSION=1.6.17 -DHAVE_GIF -DGIF_VERSION=5.0 Scale.c
In file included from src/image.c:28,
from Scale.xs:18:
src/gif.c: In function 'image_gif_read_header':
src/gif.c:58: error: too few arguments to function 'DGifOpen'
src/gif.c: In function 'image_gif_load':
src/gif.c:110: error: too few arguments to function 'GifErrorString'
src/gif.c:118: error: too few arguments to function 'GifErrorString'
src/gif.c:148: error: too few arguments to function 'GifErrorString'
src/gif.c:169: error: too few arguments to function 'GifErrorString'
src/gif.c:190: error: 'SavedImage' has no member named 'Function'
src/gif.c:191: error: too few arguments to function 'GifErrorString'
src/gif.c:196: error: 'SavedImage' has no member named 'Function'
src/gif.c:207: warning: implicit declaration of function 'AddExtensionBlock'
src/gif.c:219: error: 'SavedImage' has no member named 'Function'
src/gif.c: In function 'image_gif_finish':
src/gif.c:237: error: too few arguments to function 'GifErrorString'
*** [Scale.o] Error code 1