With gcc4, I get the following: make[2]: Entering directory `/usr/local/src/mythtv/mythtv-0.18.1/libs/libavcodec' gcc -c -pipe -mcpu=7400 -mtune=7400 -mpowerpc-gfxopt -maltivec -mabi=altivec -w -O3 -Wall -Wno-switch -maltivec -mabi=altivec -D_REENTRANT -DPIC -fPIC -DUSING_IVTV -DUSING_DVB -DUSING_DVB_EIT -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I../../../../../../include/qt3 -o utils.o utils.c In file included from avcodec.h:14, from utils.c:27: common.h:63: error: array type has incomplete element type common.h:65: error: array type has incomplete element type
This works correctly with gcc3.4 The lines in question are: extern const struct AVOption avoptions_common[3]; extern const struct AVOption avoptions_workaround_bug[11]; _______________________________________________ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev