Building FreeImage in current
by kermitdafrog8 from LinuxQuestions.org on (#6QBFF)
I'm trying to build FreeImage 3.18.0 on current. Getting this error. Anyone else get this error? Any ideas on a fix?
Code:Source/ZLib/gzlib.c: In function igz_openi:
Source/ZLib/gzlib.c:14:17: error: implicit declaration of function ilseeki; did you mean ifseeki? [-Wimplicit-function-declaration]
14 | # define LSEEK lseek
| ^~~~~
Source/ZLib/gzlib.c:252:9: note: in expansion of macro iLSEEKi
252 | LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */
| ^~~~~
make[1]: *** [Makefile.gnu:61: Source/ZLib/gzlib.o] Error 1
make[1]: Leaving directory '/tmp/SBo/FreeImage'
Code:Source/ZLib/gzlib.c: In function igz_openi:
Source/ZLib/gzlib.c:14:17: error: implicit declaration of function ilseeki; did you mean ifseeki? [-Wimplicit-function-declaration]
14 | # define LSEEK lseek
| ^~~~~
Source/ZLib/gzlib.c:252:9: note: in expansion of macro iLSEEKi
252 | LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */
| ^~~~~
make[1]: *** [Makefile.gnu:61: Source/ZLib/gzlib.o] Error 1
make[1]: Leaving directory '/tmp/SBo/FreeImage'