[mythtv] Compile error with 18.1, gcc-4 on ppc

Jarod Wilson jarod at wilsonet.com
Thu Jan 19 18:06:57 UTC 2006


On Wednesday 18 January 2006 14:29, Corrin Lakeland wrote:
> 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

Check out the 0-18-fixes branch in subversion, lots of GCC4.x and PPC fixes 
there. It compiles just fine for me on FC4/PPC.

-- 
Jarod Wilson
jarod at wilsonet.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060119/4629583b/attachment.pgp


More information about the mythtv-dev mailing list