Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 13:17:20 -0400
From:      ruin evil <ruinevil@gmail.com>
To:        Henry Hu <henry.hu.sh@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Mplayer SVN or linux-mplayer
Message-ID:  <4629472d0909271017pffe1e96p1081ac0e3037863a@mail.gmail.com>
In-Reply-To: <53a1e0710909270822o7fefb630sbb7fcfd280700c82@mail.gmail.com>
References:  <4629472d0909270733w3bb923f1u50ecfa57cf1edaea@mail.gmail.com> <53a1e0710909270822o7fefb630sbb7fcfd280700c82@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doesn't appear to work on AMD64. Some assembly error.

cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I.  -I/usr/local/include -D_THREAD_SAFE
-I/usr/X11R6/include -I/usr/local/include/ -I/usr/local/include/SDL
-I/usr/local/include  -D_REENTRANT -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/fribidi -I/usr/local/include   -I/usr/local/include
-c -o h264.o
h264.c

In file included from
h264.c:42:

x86/h264_i386.h: In function
'decode_significance_x86':

x86/h264_i386.h:41: warning: cast from pointer to integer of different
size

x86/h264_i386.h:42: warning: cast from pointer to integer of different
size

x86/h264_i386.h: In function
'decode_significance_8x8_x86':

x86/h264_i386.h:94: warning: cast from pointer to integer of different
size

h264.c: In function
'pred_direct_motion':

h264.c:1048: warning: assignment from incompatible pointer
type

h264.c:1049: warning: assignment from incompatible pointer
type

h264.c: In function
'filter_mb_dir':

h264.c:6351: warning: initialization from incompatible pointer
type

h264.c:6352: warning: initialization from incompatible pointer
type

/var/tmp//ccu6Kck4.s: Assembler
messages:

/var/tmp//ccu6Kck4.s:69: Error: `ff_h264_lps_range(%eax,%esi,2)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:79: Error: `ff_h264_norm_shift(%esi)' is not a valid 64
bit base/index
expression
/var/tmp//ccu6Kck4.s:81: Error: `ff_h264_mlps_state+128(%eax)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:93: Error: `-1(%ebx)' is not a valid 64 bit base/index
expression

/var/tmp//ccu6Kck4.s:96: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64
bit base/index
expression
/var/tmp//ccu6Kck4.s:139: Error: `ff_h264_lps_range(%eax,%esi,2)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:149: Error: `ff_h264_norm_shift(%esi)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:151: Error: `ff_h264_mlps_state+128(%eax)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:163: Error: `-1(%ebx)' is not a valid 64 bit base/index
expression

/var/tmp//ccu6Kck4.s:166: Error: `ff_h264_norm_shift(%ecx)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7098: Error: `ff_h264_lps_range(%edx,%esi,2)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7108: Error: `ff_h264_norm_shift(%esi)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7110: Error: `ff_h264_mlps_state+128(%edx)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7122: Error: `-1(%ebx)' is not a valid 64 bit
base/index
expression

/var/tmp//ccu6Kck4.s:7125: Error: `ff_h264_norm_shift(%ecx)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7136: Error: `ff_h264_lps_range(%edx,%esi,2)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7146: Error: `ff_h264_norm_shift(%esi)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7148: Error: `ff_h264_mlps_state+128(%edx)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7160: Error: `-1(%ebx)' is not a valid 64 bit
base/index
expression

/var/tmp//ccu6Kck4.s:7163: Error: `ff_h264_norm_shift(%ecx)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7234: Error: `ff_h264_lps_range(%edx,%esi,2)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7244: Error: `ff_h264_norm_shift(%esi)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7246: Error: `ff_h264_mlps_state+128(%edx)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7258: Error: `-1(%ebx)' is not a valid 64 bit
base/index
expression

/var/tmp//ccu6Kck4.s:7261: Error: `ff_h264_norm_shift(%ecx)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7270: Error: `last_coeff_flag_offset_8x8(%edi)' is not
a valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7275: Error: `ff_h264_lps_range(%edx,%esi,2)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7285: Error: `ff_h264_norm_shift(%esi)' is not a valid
64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7287: Error: `ff_h264_mlps_state+128(%edx)' is not a
valid 64 bit base/index
expression
/var/tmp//ccu6Kck4.s:7299: Error: `-1(%ebx)' is not a valid 64 bit
base/index
expression

/var/tmp//ccu6Kck4.s:7302: Error: `ff_h264_norm_shift(%ecx)' is not a valid
64 bit base/index
expression
gmake[1]: *** [h264.o] Error
1

gmake[1]: Leaving directory
`/root/mplayer/libavcodec'

gmake: *** [libavcodec/libavcodec.a] Error
2

Oh well.

On Sun, Sep 27, 2009 at 11:22 AM, Henry Hu <henry.hu.sh@gmail.com> wrote:

> On Sun, Sep 27, 2009 at 10:33 PM, ruin evil <ruinevil@gmail.com> wrote:
> > Paul B. Mahol said:
> >
> > "why not use svn mplayer?"
> >
> > How do you install svn mplayer? Does someone have a tarball of the
> port(s)
> > that I can drop in, and a list of options to avoid because they prevent
> > compilation?
> >
>
> You just need to checkout it from svn:
> svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
> and the only configure argument I used is --disable-v4l2, since the
> configure would enable v4l2, but the compilation process would stop
> with error.
> Maybe CFLAGS=-I/usr/local/include and LDFLAGS=-L/usr/local/lib are
> also needed, as once they are required.
>
> > Also has anyone tried to use mplayer under the linux compatibility layer?
> >
> > -ruinevil
> > _______________________________________________
> > freebsd-multimedia@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> > To unsubscribe, send any mail to "
> freebsd-multimedia-unsubscribe@freebsd.org"
> >
>
> Henry
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4629472d0909271017pffe1e96p1081ac0e3037863a>