[MPlayer-dev-eng] [PATCH] Windows DLL support for OS X/Intel (cleaned version)

Craig livingstonc at bellsouth.net
Wed Nov 22 20:50:52 CET 2006


This patch does not compile for me on my macbook pro when applied to  
SVN Rev: 2117:


OSX 10.4.8
XCode 2.4
gcc i686-apple-darwin8-gcc-4.0.1

./configure                       {no args}
  Byte order: little-endian
   Optimizing for: pentium-m mmx mmxext sse sse2 cmov mtrr

   Languages:
     Messages/GUI: en
     Manual pages: en

   Enabled optional drivers:
     Input: ftp network tv libdvdcss dvdread vcd
     Codecs: qtx libavcodec real xanim win32 faad2 libmpeg2 liba52  
mp3lib tremor(internal)
     Audio output: mpegpes(file) macosx
     Video output: md5sum pnm mpegpes(file) xv x11 xover tga macosx  
quartz
     Audio filters:
   Disabled optional drivers:
     Input: vstream pvr radio tv-v4l2 tv-v4l1 live555 cdda dvdnav dvb  
smb
     Codecs: x264 xvid libdv amr_wb amr_nb faac musepack libdts  
libtheora speex twolame toolame libmad liblzo gif
     Audio output: sun alsa openal jack polyp esd arts oss ivtv dxr2  
nas sdl
     Video output: xvidix winvidix cvidix bl zr zr2 ivtv dxr3 dxr2  
sdl vesa gif89a jpeg png fbdev svga caca aa ggi xmga mga opengl dga  
xvmc dfbmga directfb tdfx_vid s3fb tdfxfb 3dfx
     Audio filters: ladspa


make results in:

make -C libpostproc LIBPREF=lib LIBSUF=.a
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - 
D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after- 
statement -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math - 
fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN - 
DCONFIG_DARWIN -shared-libgcc -arch i386 -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - 
D_LARGEFILE64_SOURCE -I/usr/X11R6/include  -c -o postprocess.o  
postprocess.c
In file included from postprocess.c:639:
postprocess_template.c: In function 'postProcess_MMX2':
postprocess_template.c:3510: warning: pointer targets in passing  
argument 6 of 'blockCopy_MMX2' differ in signedness
postprocess_template.c:3654: warning: pointer targets in passing  
argument 6 of 'blockCopy_MMX2' differ in signedness
postprocess_template.c:3755: warning: pointer targets in passing  
argument 4 of 'tempNoiseReducer_MMX2' differ in signedness
postprocess_template.c:3779: warning: pointer targets in passing  
argument 4 of 'tempNoiseReducer_MMX2' differ in signedness
rm -f libpostproc.a
ar rc libpostproc.a postprocess.o
ranlib libpostproc.a
make -C loader
cc -I. -I.. -Wdeclaration-after-statement -O4 -march=pentium-m - 
mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no- 
pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc - 
arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/ 
usr/X11R6/include -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno- 
omit-leaf-frame-pointer -DMPLAYER -D__WINE__  -c driver.c
In file included from wine/winnt.h:1043,
                  from wine/winbase.h:5,
                  from win32.h:13,
                  from driver.c:18:
wine/poppack.h:5: error: too many #pragma options align=reset
In file included from wine/winnt.h:1494,
                  from wine/winbase.h:5,
                  from win32.h:13,
                  from driver.c:18:
wine/poppack.h:5: error: too many #pragma options align=reset
In file included from wine/winnt.h:2170,
                  from wine/winbase.h:5,
                  from win32.h:13,
                  from driver.c:18:
wine/poppack.h:5: error: too many #pragma options align=reset
In file included from wine/winnt.h:2667,
                  from wine/winbase.h:5,
                  from win32.h:13,
                  from driver.c:18:
wine/poppack.h:5: error: too many #pragma options align=reset
In file included from wine/winbase.h:1083,
                  from win32.h:13,
                  from driver.c:18:
wine/poppack.h:5: error: too many #pragma options align=reset
make[1]: *** [driver.o] Error 1
make: *** [loader/libloader.a] Error 2


On Nov 20, 2006, at 10:30 PM, Nicolas Plourde wrote:

> <mmap_anon.txt>
>
> On 20-Nov-06, at 9:58 PM, Dominik 'Rathann' Mierzejewski wrote:
>
>> On Tuesday, 21 November 2006 at 01:32, Nicolas Plourde wrote:
>>
>> Was there any reason to change the parameter order in mmap_anon?
>>
>> Regards,
>> R.
>>
>>
>
> Here you go, Im going to submit this version if nobody else have  
> comment.
>
> thanks
>
> ====
> Nicolas Plourde <nicolas.plourde at gmail.com>
>
>
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng




More information about the MPlayer-dev-eng mailing list