[FFmpeg-devel] Compilation problem with revision 8885

Panagiotis Issaris takis.issaris
Fri May 4 11:30:19 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The current SVN revision won't compile on my system. I am using GCC
4.1.2. Commit 8884 appears to be the one that broke it (as reverting to
8883 makes it compile fine here).


I think the problem is that vc1.h uses types VLC and MpegEncContext
while nothing it included to make their definitions available.


gcc -I"/usr/local/src/ffmpeg"/libswscale  -DHAVE_AV_CONFIG_H
- -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
- -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"
- -I"/usr/local/src/ffmpeg"/libavutil -fomit-frame-pointer -g
- -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
- -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3  -c -o
vc1_parser.o vc1_parser.c
In file included from dsputil.h:34,
                 from vc1_parser.c:27:
avcodec.h:2502: warning: ?ImgReSampleContext? is deprecated
avcodec.h:2508: warning: ?ImgReSampleContext? is deprecated
In file included from vc1_parser.c:29:
vc1.h:167: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_bfraction_vlc?
vc1.h:169: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_imode_vlc?
vc1.h:171: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_norm2_vlc?
vc1.h:173: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_norm6_vlc?
vc1.h:176: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_ttmb_vlc?
vc1.h:178: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_mv_diff_vlc?
vc1.h:180: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_cbpcy_p_vlc?
vc1.h:182: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_4mv_block_pattern_vlc?
vc1.h:184: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_ttblk_vlc?
vc1.h:186: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_subblkpat_vlc?
vc1.h:188: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__?
before ?vc1_ac_coeff_table?
vc1.h:217: error: expected specifier-qualifier-list before ?MpegEncContext?
make[1]: *** [vc1_parser.o] Error 1
make[1]: Leaving directory `/usr/local/src/ffmpeg/libavcodec'
make: *** [lib] Error 2


With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGOv0r9kOxLuzz4CkRAsOMAJ0QY26LluHM/4qDu05R3geJbAMUWACfW3HY
hJRkXsD8v/DSFhK2az6CZJo=
=jxsy
-----END PGP SIGNATURE-----




More information about the ffmpeg-devel mailing list