Error in compilation
Submitted by ElMastro
Link to original bug (#762770)
Description
The make process from the source in the last release fails. It says:
"< In file included from vhook/fish.c:48:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< In file included from vhook/fish.c:48:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< In file included from vhook/fish.c:48:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< In file included from vhook/null.c:23:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< In file included from vhook/null.c:23:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< vhook/null.c: In function ‘Process’:
< vhook/null.c:64:16: warning: variable ‘pict’ set but not used [-Wunused-but-set-variable]
< AVPicture *pict = picture;
< ^
< vhook/null.c: In function ‘Process’:
< vhook/null.c:64:16: warning: variable ‘pict’ set but not used [-Wunused-but-set-variable]
< AVPicture *pict = picture;
< ^
< In file included from vhook/null.c:23:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< vhook/null.c: In function ‘Process’:
< vhook/null.c:64:16: warning: variable ‘pict’ set but not used [-Wunused-but-set-variable]
< AVPicture *pict = picture;
< ^
< In file included from vhook/watermark.c:63:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< In file included from vhook/watermark.c:63:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< In file included from vhook/watermark.c:63:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< vhook/watermark.o: file non riconosciuto: File truncated
< collect2: error: ld returned 1 exit status
< make[3]: *** [vhook/watermark.so] Errore 1
< make[2]: *** [/tmp/src/gimp-gap-2.6.0/extern_libs/ffmpeg/libavcodec/libavcodec.a] Errore 2
< make[2]: *** Attesa per i processi non terminati....
< vhook/watermark.o: file non riconosciuto: File truncated
< collect2: error: ld returned 1 exit status
< make[3]: *** [vhook/watermark.so] Errore 1
< make[2]: *** [/tmp/src/gimp-gap-2.6.0/extern_libs/ffmpeg/libavformat/libavformat.a] Errore 2
< In file included from vhook/ppm.c:29:0:
< ./libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system. [-Wcpp]
< #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
< ^
< vhook/ppm.c: In function ‘Process’:
< vhook/ppm.c:338:35: warning: ‘out_height’ may be used uninitialized in this function [-Wmaybe-uninitialized]
< ci->
fromRGB_convert_ctx = sws_getCachedContext(ci->fromRGB_convert_ctx,
"
To me seems the vhooks function is the deprecated in the library so it could be helped if someone patches it up.
Version: Current SVN