[Ffmpeg-devel] errors and patches

Måns Rullgård mru
Sat Jul 1 18:57:42 CEST 2006


"Silvino B. Magalhaes" <sbm2yk at gmail.com> writes:

> Hi, ffmpeg developers
>
> My machine, HP compaq nx9105 notebook, athlon-64 with 1.25 Gb ram, running
> fedora core 5 x86_64.
>
> I'm trying to compile now ffmpeg and at a late time, mplayer with mobile
> codec
> support.
> Firstly I tried ffmpeg-0.4.9-0.5.20060317.fc5.src.rpm from
> bordeaux.freshrpms.net
> but it fails to compile on my machine, error:
>
> -------------------------------------------
> In file included from mathematics.c:24:
> common.h:594: error: static declaration of 'lrintf' follows non-static
> declaration
> make[1]: *** [mathematics.o] Error 1
> -------------------------------------------

Old, unsupported version.

> I'd update this source rpm with cvs from
> svn.mplayerhq.hu/ffmpeg/trunk/ and amr sources from www.3gpp.org.
>
> Your suggest 26104-510.zip, 26204-510.zip and 26073-510.zip not
> works on x86_64, at beginning :
>
> -------------------------------------------
> In file included from typedef.h:50,
>                  from d3_14pf.h:23,
>                  from d3_14pf.c:21:
> typedefs.h:179:2: error: #error "can't determine architecture; adapt
> typedefs.h to your platform"
> In file included from d3_14pf.c:30:
> basic_op.h:33: warning: conflicting types for built-in function 'round'
> make: *** [d3_14pf.o] Error 1
> -------------------------------------------

Anyone with an amd64 out there?

> I patch configure file too, because it cannot finds gsm.h on
> /usr/include/gsm/gsm.h
>
> ----------------------------- start patch file
> -enabled libgsm  && require libgsm gsm.h gsm_create -lgsm
> +enabled libgsm  && require libgsm gsm/gsm.h gsm_create -lgsm
> ----------------------------- end patch file

How typical of redhat to install headers in a different place than
everybody else.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list