make ./version.sh `cc -dumpversion` cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I/sw/include -I/sw/include/lame -I/sw/lib/fontconfig2/include -I/usr/local/include -mmmx -msse -msse2 -msse3 -mssse3 -m3dnow -I/usr/X11/include -I/sw/include -I/sw/include/dvdnav -c -o mplayer.o mplayer.c In file included from mplayer.c:7: config.h:238: warning: redundant redeclaration of 'setenv' /usr/include/stdlib.h:233: warning: previous declaration of 'setenv' was here In file included from /usr/include/inttypes.h:255, from libvo/video_out.h:13, from mplayer.c:54: /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:71: error: conflicting types for 'int_fast16_t' config.h:24: error: previous declaration of 'int_fast16_t' was here /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:75: error: conflicting types for 'uint_fast16_t' config.h:28: error: previous declaration of 'uint_fast16_t' was here In file included from libmpdemux/aviheader.h:6, from libmpdemux/stheader.h:4, from mplayer.c:164: ./mpbswap.h:6: warning: redundant redeclaration of 'swab' /usr/include/unistd.h:495: warning: previous declaration of 'swab' was here mplayer.c: In function 'main': mplayer.c:2503: warning: format not a string literal and no format arguments make: *** [mplayer.o] Error 1
This is fink on 10.6/i386 with xcode4.2, single-CPU. One interesting item during ./configure is a ton of "... no" results that seem like they should be found. For example, relevant to above warning,: Checking for setenv() ... no configure.log has the test: cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -I/sw/include -I/sw/include/lame -I/sw/lib/fontconfig2/include -I/usr/local/include -mmmx -msse -msse2 -msse3 -mssse3 -m3dnow -L/sw/lib -L/sw/lib/fontconfig2/lib -L/usr/local/lib -o /tmp/mplayer-conf-21208-30262 /tmp/mplayer-conf-31287-30262.c ld: lto: could not merge in /var/folders/K3/K3JkPj2xH90oxHdQlpfrpk+++TI/-Tmp-//ccxxsskC.o because Unknown instruction for architecture i386 Looks like our compiler cannot grok -O4 (or the test is tickles a bug in it at that level?). Patching out all occurances of "-O4" in configure turns a bunch of tests to "... yes", including setenv(), there are several more of the "Enabled optional drivers" listed, and the build continues. It then bombs at: cc -I../libswscale -I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -march=i486 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/sw/include -I/sw/include/lame -I/sw/lib/fontconfig2/include -I/usr/local/include -mmmx -msse -msse2 -msse3 -mssse3 -m3dnow -I/usr/X11/include -I/sw/include/freetype2 -I/sw/include -I/sw/include -I/sw/include/dvdnav -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c In file included from ../libavutil/common.h:61, from ../libavutil/avutil.h:40, from ../libavcodec/avcodec.h:30, from ../libavcodec/dsputil.h:33, from i386/dsputil_mmx.c:25: ./libavutil/internal.h:117:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ../libavutil/common.h:37, from ../libavutil/avutil.h:40, from ../libavcodec/avcodec.h:30, from ../libavcodec/dsputil.h:33, from i386/dsputil_mmx.c:25: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition i386/dsputil_mmx.c: In function 'gmc_mmx': i386/dsputil_mmx.c:2666: warning: suggest parentheses around arithmetic in operand of | i386/dsputil_mmx.c:2666: warning: suggest parentheses around arithmetic in operand of | i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in operand of | i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in operand of | i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in opera nd of | i386/dsputil_mmx.c: In function 'dsputil_init_mmx': i386/dsputil_mmx.c:3748: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:3750: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:3756: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:3758: warning: assignment from incompatible pointer type cc1: error in backend: Ran out of registers during register allocation! Please check your inline asm statement for invalid constraints: INLINEASM <es:movd $4, %mm0 movd $5, %mm1 movd $6, %mm2 movd $7, %mm3 punpcklbw %mm1, %mm0 punpcklbw %mm3, %mm2 movq %mm0, %mm1 punpcklwd %mm2, %mm0 punpckhwd %mm2, %mm1 movd %mm0, $0 punpckhdq %mm0, %mm0 movd %mm0, $1 movd %mm1, $2 punpckhdq %mm1, %mm1 movd %mm1, $3 >, 0, 44, %EBP<kill>, 1, %reg0, 0, %reg0, 44, %ESI<kill>, 1, %reg0, 0, %reg0, 44, %EDI<kill>, 1, %reg0, 0, %reg0, 44, %EDX<kill>, 1, %reg0, 0, %reg0, 44, %EBX<kill>, 1, %reg0, 0, %reg0, 44, %EAX<kill>, 1, %reg0, 0, %reg0, 44, %ECX<kill>, 1, %reg0, 0, %reg0, 44, %EBP<kill>, 1, %reg0, 0, %reg0, 14, %EFLAGS<earlyclobber,def,dead> {standard input}:3935:End-of-File not at end of a line {standard input}:6958:End-of-File not at end of a line {standard input}:unknown:Partial line at end of file ignored {standard input}:unknown:Undefined local symbol L_ff_h263_loop_filter_strength$non_lazy_ptr make[1]: *** [i386/dsputil_mmx.o] Error 1 make: *** [libavcodec/libavcodec.a] Error 2 Alright, i386 assembly...that's my cue to say "this is as far as I can get" and pass off to someone who knows about it. dan -- Daniel Macks dma...@netspace.org ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users