[Ffmpeg-devel] imlib vhook build error and a fix

Pavlov Konstantin thresh
Sat Feb 17 02:44:55 CET 2007


Hi guys.

That's what i have in 8001 revision of ffmpeg:

gcc -I"/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0" -I"/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0" -I"/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0"/libavutil -I"/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0"/libavcodec -I"/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0"/libavformat -I"/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0"/libswscale -fPIC -pipe -Wall -O4 -march=i686 -mtune=i686 -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -DARCH_X86 -DRUNTIME_CPUDETECT -fomit-frame-pointer -pthread -I/usr/include/dirac -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3 -DHAVE_AV_CONFIG_H `imlib2-config --cflags` `freetype-config --cflags`   -c -o imlib2.o imlib2.c
In file included from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/common.h:55,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/avutil.h:44,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavcodec/avcodec.h:34,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavformat/framehook.h:29,
                 from imlib2.c:94:
/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/internal.h:280:1: warning: "sprintf" redefined
In file included from /usr/include/stdio.h:841,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/common.h:36,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/avutil.h:44,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavcodec/avcodec.h:34,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavformat/framehook.h:29,
                 from imlib2.c:94:
/usr/include/bits/stdio2.h:30:1: warning: this is the location of the previous definition
In file included from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/common.h:55,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/avutil.h:44,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavcodec/avcodec.h:34,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavformat/framehook.h:29,
                 from imlib2.c:94:
/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/internal.h:281:1: warning: "strcat" redefined
In file included from /usr/include/string.h:440,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/common.h:37,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavutil/avutil.h:44,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavcodec/avcodec.h:34,
                 from /usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/libavformat/framehook.h:29,
                 from imlib2.c:94:
/usr/include/bits/string3.h:164:1: warning: this is the location of the previous definition
In file included from imlib2.c:106:
/usr/include/Imlib2.h:108: error: expected ')' before '*' token
/usr/include/Imlib2.h:109: error: expected ')' before '*' token
/usr/include/Imlib2.h:110: error: expected ')' before 'colormap'
/usr/include/Imlib2.h:111: error: expected ')' before 'drawable'
/usr/include/Imlib2.h:112: error: expected ')' before 'mask'
/usr/include/Imlib2.h:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/Imlib2.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/Imlib2.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imlib_context_get_colormap'
/usr/include/Imlib2.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imlib_context_get_drawable'
/usr/include/Imlib2.h:141: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imlib_context_get_mask'
/usr/include/Imlib2.h:170: error: expected ')' before '*' token
/usr/include/Imlib2.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/Imlib2.h:209: error: expected ')' before '*' token
/usr/include/Imlib2.h:211: error: expected ')' before '*' token
/usr/include/Imlib2.h:214: error: expected ')' before 'pixmap'
/usr/include/Imlib2.h:240: error: expected ')' before 'mask'
/usr/include/Imlib2.h:243: error: expected ')' before '*' token
/usr/include/Imlib2.h:246: error: expected ')' before 'mask'
/usr/include/Imlib2.h:256: error: expected ')' before 'mask'
imlib2.c: In function 'Release':
imlib2.c:167: warning: passing argument 1 of 'ff_eval_free' from incompatible pointer type
imlib2.c:168: warning: passing argument 1 of 'ff_eval_free' from incompatible pointer type
imlib2.c: In function 'Configure':
imlib2.c:197: warning: suggest parentheses around assignment used as truth value
make[1]: *** [imlib2.o] Error 1
rm ppm.o null.o fish.o watermark.o
make[1]: Leaving directory `/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0/vhook'
make: *** [videohook] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/ffmpeg-0.0.0.0.0.0'
error: Bad exit status from /usr/src/tmp/rpm-tmp.78237 (%build)


Reverting 7829 helps fixing the problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070217/dfce39bb/attachment.pgp>



More information about the ffmpeg-devel mailing list