[MPlayer-users] aviheader.c compile error
Steven M. Schultz
sms at 2BSD.COM
Wed Apr 28 20:08:13 CEST 2004
Hi -
After a 'cvs update' the libmpdemux/aviheader.c fails to compile.
gcc 2.95.3:
aviheader.c: In function `read_avi_header':
aviheader.c:225: syntax error before `i'
aviheader.c:255: `i' undeclared (first use in this function)
aviheader.c:255: (Each undeclared identifier is reported only once
aviheader.c:255: for each function it appears in.)
gmake[1]: *** [aviheader.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/MPlayer-cvs/libmpdemux'
With gcc 3.3:
cc -c -I../libvo/ -I../../libvo -O4 -mcpu=970 -mtune=970 -faltivec -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../loader -I../libavcodec -I../libavformat -o aviheader.o aviheader.c
aviheader.c: In function `read_avi_header':
aviheader.c:225: error: `DWORD' undeclared (first use in this function)
aviheader.c:225: error: (Each undeclared identifier is reported only once
aviheader.c:225: error: for each function it appears in.)
aviheader.c:225: error: parse error before "i"
aviheader.c:255: error: `i' undeclared (first use in this function)
gmake[1]: *** [aviheader.o] Error 1
The use of "DWORD" seems to be causing the problem - what's DWORD
supposed to be defined as?
Cheers,
Steven Schultz
More information about the MPlayer-users
mailing list