[mythtv] Compile error with 18.1, gcc-4 on ppc
Corrin Lakeland
lakeland at go.org.nz
Wed Jan 18 22:29:32 UTC 2006
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];
More information about the mythtv-dev
mailing list