[MPlayer-cygwin] compile problems... gcc 3.2, cygwin

Dimmich Damian damiandimmich at yahoo.com
Mon Dec 16 16:27:29 CET 2002


Hello, 

I have been trying to get Mplayer to compile under
cygwin for some time now and I keep getting the same
error in win32.c  I have looked at the code and seen
nothing out of the ordinary and 'parse error' doesn't
exactly say much... could someone help?  I hope I am
writing to the correct place.
I have all the newest stuff from cygwin as well as the
newest CVS updates of mplayer and ffmpeg.  
Many thanks,
Damian

gcc -v gives:
Reading specs from
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure
--enable-languages=c,c++,f77,ja
va --enable-libgcj --enable-threads=posix
--with-system-zlib --enable-nls --with
out-included-gettext --enable-interpreter
--disable-sjlj-exceptions --disable-ve
rsion-specific-runtime-libs --enable-shared
--build=i686-pc-linux --host=i686-pc
-cygwin --target=i686-pc-cygwin --enable-haifa
--prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib
--includedir=/nonexistent/include --libexecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)

and the errors and warnings from win32.c are:

win32.c: In function `expWaitForMultipleObjects':
win32.c:831: warning: assignment discards qualifiers
from pointer target type
win32.c: In function `expGetCurrentThreadId':
win32.c:1419: warning: return makes integer from
pointer without a cast
win32.c:1649:2: warning: #warning FIXME
win32.c: In function `expGetWindowThreadProcessId':
win32.c:2572: warning: initialization makes integer
from pointer without a cast
win32.c:2909:2: warning: #warning FIXME!
win32.c: At top level:
win32.c:3125: parse error before "GETCLASSOBJECT"
win32.c: In function `RegisterComClass':
win32.c:3127: `clsid' undeclared (first use in this
function)
win32.c:3127: (Each undeclared identifier is reported
only once
win32.c:3127: for each function it appears in.)
win32.c:3127: `gcs' undeclared (first use in this
function)
win32.c: At top level:
win32.c:3135: parse error before "GETCLASSOBJECT"
win32.c: In function `UnregisterComClass':
win32.c:3139: `clsid' undeclared (first use in this
function)
win32.c:3139: `gcs' undeclared (first use in this
function)
win32.c: At top level:
win32.c:3184: warning: `struct IUnknown' declared
inside parameter list
win32.c:3184: warning: its scope is only this
definition or declaration, which i
s probably not what you want
win32.c:3198: warning: `struct IUnknown' declared
inside parameter list
win32.c: In function `CoCreateInstance':
win32.c:3200: warning: passing arg 2 of
`expCoCreateInstance' from incompatible
pointer type
win32.c: In function `expGetFullPathNameA':
win32.c:3538: warning: assignment discards qualifiers
from pointer target type
win32.c:4192:2: warning: #warning check for _CIpow
make[1]: *** [win32.o] Error 1
make[1]: Leaving directory `/home/Org/main/loader'
make: *** [loader/libloader.a] Error 2


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the MPlayer-cygwin mailing list