See the end of my message for a possible workaround. Manu Hack wrote: > Hi all, > > I just compiled mplayer with errors: please see the link for more > > http://pastebin.com/m665f3555
> cc -I. -I.. -Wdeclaration-after-statement -fno-PIC -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 > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/libcdparanoia > -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include > -I/usr/X11/include -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE > -I/sw/include/artsc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include > -I/sw/include -I/sw/lib/freetype219/include/freetype2 > -I/sw/lib/freetype219/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 > -I/sw/lib/glib/include -I/usr/X11R6/include -U_FILE_OFFSET_BITS > -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__ -c > In file included from wine/winnt.h:1043, > from wine/winbase.h:5, > from pe_image.c:56: > wine/poppack.h:5: error: too many #pragma options align=reset Judging from google, for example <http://lists.apple.com/archives/xcode-users/2005/Jun/msg00858.html> this seems to be a rather low-level (and old) compiler bug. In my case (10.5.4/intel/xcode3.1, slightly different CPU from yours), building mplayer crashes with a different error: cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include/libcdparanoia -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11/include -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include/artsc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2': i386/dsputil_mmx.c:634: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' i386/dsputil_mmx.c:634: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[1]: *** [i386/dsputil_mmx.o] Error 1 make: *** [libavcodec/libavcodec.a] Error 2 ### execution of make failed, exit code 2 I don't know if this is earlier or later than your error, because our builds are rather different: You have the following in the configure output: > Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs) In my case, it finds some different random 3rd-party stuff: > Checking for RealPlayer DLL ... yes (using /Applications/RealOne > Player.app/Contents/MacOS/Library/Codecs) Both of these are BAD. Package bug. In both our build logs I see the encouraging remark > *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** *** You may get out of your problem by moving /usr/local/lib out of the way while building mplayer, although the build will then complain: > Failed to find a Win32 codecs directory! (default: /usr/local/lib/codecs/) > Create it and copy the DLL files there! You can download the codecs from our > homepage at http://www.mplayerhq.hu/MPlayer/releases/codecs/ I suppose if the package really needed these, it would download them itself. -- Martin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
