[MPlayer-cygwin] libmpdvdkit2: compile error

Diego Biurrun diego at biurrun.de
Mon Oct 30 16:46:50 CET 2006


On Sun, Oct 29, 2006 at 06:42:54PM +0100, Thomas Plank wrote:
> Diego Biurrun (diego at biurrun.de) wrote:
> 
> > Please don't provide this much information.  If you do there is a real
> > danger that we might even figure things out ...
> 
> Sorry for that.
> Now attached the whole story.

Thanks.  Telling me your system (Cygwin) might have done the trick
already.  But just a linker error without minimal system information
will never cut it.

Please try the attached patch.

If you (or somebody else) could test MinGW, that would be very much
appreciated.

Diego
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 20499)
+++ Makefile	(working copy)
@@ -40,7 +40,7 @@
 	-DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \
 
 ifeq ($(TARGET_OS),CYGWIN)
-CFLAGS+=-DSYS_CYGWIN
+CFLAGS+=-DSYS_CYGWIN -DWIN32
 endif
 
 ifeq ($(TARGET_OS),Darwin)


More information about the MPlayer-cygwin mailing list