[Live-devel] During make: "array type has incomplete element type" in mpegaudiocommon.h

Jeff Hanson jhansonxi at gmail.com
Wed Dec 13 14:25:16 PST 2006


Make generates an error during compiliation of wis-streamer
(01-Nov-2006 file, with Live 2006.12.08).  I'm using gcc 4.1.2
20060928 on Kubuntu 6.10 Edgy Eft and the default make files
("genMakefiles linux" for Live).  My fault or ?

administrator at dlhanson1:~/wis-streamer$ make
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall wis-streamer.cpp -o
wis-streamer.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall Options.cpp -o Options.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall TV.cpp -o TV.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall Err.cpp -o Err.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall WISInput.cpp -o
WISInput.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall
WISServerMediaSubsession.cpp -o WISServerMediaSubsession.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall UnicastStreaming.cpp -o
UnicastStreaming.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall MulticastStreaming.cpp
-o MulticastStreaming.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall DarwinStreaming.cpp -o
DarwinStreaming.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall AudioRTPCommon.cpp -o
AudioRTPCommon.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall WISJPEGStreamSource.cpp
-o WISJPEGStreamSource.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall
WISJPEGVideoServerMediaSubsession.cpp -o
WISJPEGVideoServerMediaSubsession.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall
WISMPEG1or2VideoServerMediaSubsession.cpp -o
WISMPEG1or2VideoServerMediaSubsession.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall
WISMPEG4VideoServerMediaSubsession.cpp -o
WISMPEG4VideoServerMediaSubsession.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall
WISPCMAudioServerMediaSubsession.cpp -o
WISPCMAudioServerMediaSubsession.o
g++ -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall MPEGAudioEncoder.cpp -o
MPEGAudioEncoder.o
gcc -c -I . -I../live/BasicUsageEnvironment/include
-I../live/UsageEnvironment/include -I../live/groupsock/include
-I../live/liveMedia/include -D_LINUX -g -Wall mpegaudio.c -o
mpegaudio.o
In file included from avcodec.h:15,
                 from mpegaudio.c:25:
mpegaudiocommon.h:68: error: array type has incomplete element type
mpegaudiocommon.h:70: error: array type has incomplete element type
make: *** [mpegaudio.o] Error 1


More information about the live-devel mailing list