Opened 15 years ago

Closed 15 years ago

#21158 closed defect (duplicate)

Error while building mplayer on snow leopard

Reported by: silversens@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: mplayer

Description (last modified by tobypeterson)

Mplayer won't build on snow leopard, here is the ouput

--->  Computing dependencies for MPlayer
--->  Fetching MPlayer
--->  Verifying checksum(s) for MPlayer
--->  Extracting MPlayer
--->  Applying patches to MPlayer
--->  Configuring MPlayer
--->  Building MPlayer
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2" && /usr/bin/make -j1 all " returned error 2
Command output:                  from ../libavutil/common.h:37,
                 from ../libavutil/avutil.h:40,
                 from ../libavcodec/avcodec.h:30,
                 from ../libavcodec/dsputil.h:33,
                 from i386/cputest.c:24:
/usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition
/usr/bin/gcc-4.2 -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 -arch i386 -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/opt/local/include/lzo -I/opt/local/include -I/usr/local/include  -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 'transpose4x4':
i386/dsputil_mmx.c:649: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c:649: error: 'asm' operand has impossible constraints
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
make[1]: *** [i386/dsputil_mmx.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2

Error: Status 1 encountered during processing.

Change History (2)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)

comment:2 Changed 15 years ago by tobypeterson

Resolution: duplicate
Status: newclosed

See also #21029 and #21033

Please try to do at least a bit of searching before filing new tickets.

Note: See TracTickets for help on using tickets.