On Tue, 3 Feb 2015 13:23:52 -0800, Alexander Hansen <alexanderk.han...@gmail.com> wrote:
> > On Feb 3, 2015, at 1:18 PM, Gary K. Olson <garykol...@mac.com> wrote: > > windowmaker-0.92.0-17 failed when I attempted to update it at place > where gif.o is compiled: > > gcc -DHAVE_CONFIG_H -I. -I. -I../src -I/sw/include > -I/usr/X11R6/include -MD -I/sw/include -g -O2 -c gif.c -fno-common > -DPIC -o .libs/gif.o > gif.c:64:32: error: too few arguments to function call, expected 2, have 1 > gif = DGifOpenFileName(file); > ~~~~~~~~~~~~~~~~ ^ > /sw/include/gif_lib.h:179:1: note: 'DGifOpenFileName' declared here > GifFileType *DGifOpenFileName(const char *GifFileName, int *Error); > ^ > gif.c:67:17: warning: implicit declaration of function 'GifLastError' > is invalid in C99 [-Wimplicit-function-declaration] > switch (GifLastError()) { > ^ > gif.c:82:26: error: too few arguments to function call, expected 2, have 1 > DGifCloseFile(gif); > ~~~~~~~~~~~~~ ^ > /sw/include/gif_lib.h:183:5: note: 'DGifCloseFile' declared here > int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); > ^ > gif.c:226:26: error: too few arguments to function call, expected 2, have 1 > DGifCloseFile(gif); > ~~~~~~~~~~~~~ ^ > /sw/include/gif_lib.h:183:5: note: 'DGifCloseFile' declared here > int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); > ^ > 1 warning and 3 errors generated. > Makefile:239: recipe for target 'gif.lo' failed > > Thanks. There appears to have been an API change in giflib7. It built for me. Wonder if I committed with the wrong patch fragment for the API change? Will wrangle it tonight when I have more patience for cvs.sf... dan -- Daniel Macks dma...@netspace.org ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users