Hi Juanito,
i downloaded the latest version of fbv "fbv-1.0b.tar.gz" and i am trying to copmile it
so here what i did:
installed all needed extensions (giflib.tcz | giflib-dev.tcz | libjpeg-turbo.tcz | libjpeg-turbo-dev.tcz | libpng-dev.tcz | libpng.tcz)
unpack the archive
./configure
and the it check for the libraries
checking for libungif presence... no (i think this is the problem)
checking for libjpeg presence... yes
checking for libpng presence... yes
building with bmp support... yes
checking for DEFAULT_FRAMEBUFFER... /dev/fb0
installation dir: /usr/local/bin
manuals dir: /usr/local/man
if i continue with "make" anyway, i get an error:
make
gcc -O2 -Wall -D_GNU_SOURCE -c -o gif.o gif.c
gif.c: In function ‘fh_gif_load’:
gif.c:84:9: error: too few arguments to function ‘DGifOpenFileName’
84 | gft=DGifOpenFileName(name);
| ^~~~~~~~~~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:179:14: note: declared here
179 | GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
| ^~~~~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:88:46: note: in expansion of macro ‘grflush’
88 | if(DGifGetRecordType(gft,&rt) == GIF_ERROR) grflush;
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:92:40: note: in expansion of macro ‘grflush’
92 | if(DGifGetImageDesc(gft)==GIF_ERROR) grflush;
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:35:41: error: too few arguments to function ‘DGifCloseFile’
35 | #define mgrflush { free(lb); free(slb); DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:119:62: note: in expansion of macro ‘mgrflush’
119 | if(DGifGetLine(gft,(GifPixelType*)slb,px)==GIF_ERROR) mgrflush;
| ^~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:35:41: error: too few arguments to function ‘DGifCloseFile’
35 | #define mgrflush { free(lb); free(slb); DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:140:59: note: in expansion of macro ‘mgrflush’
140 | if(DGifGetLine(gft,(GifPixelType*)slb,px)==GIF_ERROR) mgrflush; /////////////
| ^~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:153:60: note: in expansion of macro ‘grflush’
153 | if(DGifGetExtension(gft,&extcode,&extension)==GIF_ERROR) grflush; //////////
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:166:61: note: in expansion of macro ‘grflush’
166 | if(DGifGetExtensionNext(gft,&extension) == GIF_ERROR) grflush
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:173:5: error: too few arguments to function ‘DGifCloseFile’
173 | DGifCloseFile(gft);
| ^~~~~~~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c: In function ‘fh_gif_getsize’:
gif.c:187:9: error: too few arguments to function ‘DGifOpenFileName’
187 | gft=DGifOpenFileName(name);
| ^~~~~~~~~~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:179:14: note: declared here
179 | GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
| ^~~~~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:191:46: note: in expansion of macro ‘grflush’
191 | if(DGifGetRecordType(gft,&rt) == GIF_ERROR) grflush;
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:196:40: note: in expansion of macro ‘grflush’
196 | if(DGifGetImageDesc(gft)==GIF_ERROR) grflush;
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:200:3: error: too few arguments to function ‘DGifCloseFile’
200 | DGifCloseFile(gft);
| ^~~~~~~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:204:60: note: in expansion of macro ‘grflush’
204 | if(DGifGetExtension(gft,&extcode,&extension)==GIF_ERROR) grflush;
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:34:19: error: too few arguments to function ‘DGifCloseFile’
34 | #define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
| ^~~~~~~~~~~~~
gif.c:206:59: note: in expansion of macro ‘grflush’
206 | if(DGifGetExtensionNext(gft,&extension)==GIF_ERROR) grflush;
| ^~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
gif.c:213:5: error: too few arguments to function ‘DGifCloseFile’
213 | DGifCloseFile(gft);
| ^~~~~~~~~~~~~
In file included from gif.c:27:
/usr/local/include/gif_lib.h:183:9: note: declared here
183 | int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
| ^~~~~~~~~~~~~
make: *** [<builtin>: gif.o] Error 1
what do you think i am doing wrong ?
Thx