[x264-devel] Compile trouble

Gianluigi Tiesi mplayer at netfarm.it
Wed Sep 19 02:31:55 CEST 2007


On Wed, Sep 19, 2007 at 08:46:13AM +1000, Peter B. West wrote:
> Gianluigi Tiesi wrote:
> > On Mon, Sep 17, 2007 at 09:21:34AM +1000, Peter B. West wrote:
> >> I'm trying to compile x264. I have beta SuSE 10.3 system. (10.3 Beta 2,
> >> package upgraded to 10.3).
> >>
> >> I've tried svn, and the tarballs for x264-snapshot-20070915-2245.tar.bz2
> >> and x264-snapshot-20070908-2245.tar.bz2. Currently using the 20070915
> >> tarball.
> >>
> >> I initially tried to configure for --enable-mp4-output and --enable-gtk,
> >> but have reduced my aspirations.
> >>
> >> If I simply
> >> ~ ./configure
> >> I get the following lecture.
> >>
> >> No suitable assembler found.  x264 will be several times slower.
> >> Please install 'yasm' to get MMX/SSE optimized code.
> >>
> >> I have yasm 0.4.0 installed.
> >> That aside, I can subsequently compile.
> > look in configure.log
> 
> I don't get a configure.log.

the code check is:

if [ $ARCH = X86 -o $ARCH = X86_64 ] ; then
    if as_check ; then
        CFLAGS="$CFLAGS -DHAVE_MMX"
        if as_check "pabsw xmm0, xmm0" ; then
            ASFLAGS="$ASFLAGS -DHAVE_SSE3"
            CFLAGS="$CFLAGS -DHAVE_SSE3"
        fi
    else
        echo "No suitable assembler found.  x264 will be several times
slower."
        echo "Please install 'yasm' to get MMX/SSE optimized code."
        AS=""
    fi
fi

so it may not support needed opcode, upgrade to latest yasm 0.6.1 or svn

> 
> >> If I
> >> ~ ./configure --enable-mp4-output
> >> then attempt to compile, I get (inter alia)
> >>
> >> ...
> >> muxers.c:38:27: error: gpac/isomedia.h: No such file or directory
> >> muxers.c:547: error: expected specifier-qualifier-list before ???GF_ISOFile???
> >> muxers.c:561: error: expected ???)??? before ???*??? token
> >> muxers.c: In function ???close_file_mp4???:
> >> muxers.c:613: error: ???mp4_t??? has no member named ???p_config???
> >> muxers.c:614: warning: implicit declaration of function ???gf_odf_avc_cfg_del???
> >> muxers.c:614: error: ???mp4_t??? has no member named ???p_config???
> >> muxers.c:616: error: ???mp4_t??? has no member named ???p_sample???
> >> muxers.c:618: error: ???mp4_t??? has no member named ???p_sample???
> >> muxers.c:619: error: ???mp4_t??? has no member named ???p_sample???
> >> muxers.c:621: warning: implicit declaration of function ???gf_isom_sample_del???
> >> muxers.c:621: error: ???mp4_t??? has no member named ???p_sample???
> >> ...
> >>
> >> etc. etc.
> >>
> >> What does it require for mp4 support? Do I need it anyway? I want to
> >> compile ffmpeg and mplayer/mencoder, and I am compiling x264 with the
> >> aim of providing such support to those programs.
> > gpac -> http://gpac.sourceforge.net/
> 
> An INSTALL file detailing requirements, as is found in many other
> projects, would be useful.
> 

You are right, but I'm not a x264 developer :D
there should be some docs around, but a compile
HOWTO wouldn't be so bad :D

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the x264-devel mailing list