[Openh323-devel] Unable to compile ffmpeg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Unable to compile ffmpeg

Hi all,

        When i tried to compile ffmpeg-0.4.8, the following error displayed.


make -C libavcodec all
make[1]: Entering directory `/home/anish/videoconferencing/ekiga-2.0.5/ffmpeg/ffmpeg-0.4.8/libavcodec'
gcc -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
In file included from avcodec.h:14,
                 from common.c:27:
common.h:66: error: array type has incomplete element type
common.h:70: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/home/anish/videoconferencing/ekiga-2.0.5/ffmpeg/ffmpeg-0.4.8/libavcodec'
make: *** [lib] Error 2


common.h:66: extern const struct AVOption avoptions_common[3 + 5];
common.h:70: extern const struct AVOption avoptions_workaround_bug[11];

        Same error came to me when i tried to compile ffmpeg-0.4.9-pre1. The gcc compiler i am using is 4.1.1. In http://gcc.gnu.org/ml/gcc/2005-02/msg00054.html it is written that recent gcc versions do not accept definitions of type "extern struct bla array[]".

        I want ffmpeg get compiled in my gcc compiler (4.1.1). How to fix this problem? Some one please help me.

Thanks and Regards,
Anish.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openh323-devel mailing list
Openh323-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openh323-devel

[Index of Archives]     [IETF SIP]     [Gnu Gatekeeper]     [Asterisk PBX]     [Asterisk SS7]     [Fedora Linux]     [Gimp]     [Yosemite News]     [Yosemite Campsites]     [ISDN Cause Codes]

  Powered by Linux