[Ffmpeg-devel] ffmpeg failed to compile

carboncopy carboncopy.public
Mon Feb 13 19:36:09 CET 2006


On 2/14/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> carboncopy said:
> > On 2/13/06, carboncopy <carboncopy.public at gmail.com> wrote:
> >> On 2/13/06, carboncopy <carboncopy.public at gmail.com> wrote:
> >> > On 2/13/06, Diego Biurrun <diego at biurrun.de> wrote:
> >> > > Please don't top-post.
> >> > >
> >> > > On Mon, Feb 13, 2006 at 08:42:55PM +0800, carboncopy wrote:
> >> > > > Okay ranlib on those three files fix the compilation. However, make
> >> > > > install gives me this :
> >> > > >
> >> > > > make -C libavutil   install-headers
> >> > > > install -m 644 avutil.h common.h mathematics.h integer.h \
> >> > > >                rational.h intfloat_readwrite.h
> >> "/opt/local/include/ffmpeg"
> >> > > > install: avutil.h: No such file or directory
> >> > > > make[1]: *** [install-headers] Error 71
> >> > > > make: *** [install-headers] Error 2
> >> > >
> >> > > If you are building out-of-tree, then this is a known problem that will
> >> > > be fixed once Mans commits his Makefile consolidation patches, probably
> >> > > later today.
> >> > >
> >> > > Diego
> >> >
> >> > Yuh, I build out-of-tree. Will wait for the patch.
> >> >
> >> Thanks Mans! Fixed!
> >>
> >
> >
> > Hi
> >
> > I am still getting the ranlib error during compile time although I had
> > a successful make install the previous time.
>
> Does this patch help?
>
> Index: common.mak
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/common.mak,v
> retrieving revision 1.1
> diff -u -r1.1 common.mak
> --- common.mak  13 Feb 2006 12:53:25 -0000      1.1
> +++ common.mak  13 Feb 2006 16:59:46 -0000
> @@ -28,7 +28,7 @@
>
>  $(LIB): $(STATIC_OBJS)
>         rm -f $@
> -       $(AR) rc $@ $^ $(EXTRAOBJS)
> +       $(AR) rcs $@ $^ $(EXTRAOBJS)
>         $(RANLIB) $@
>
>  $(SLIBNAME): $(SHARED_OBJS)
>
>
> --
> M?ns Rullg?rd
> mru at inprovide.com
>
The patch got rejected (I think)

orca:~/coding/ffmpeg carboncopy$ patch -p0 < bug.patch
patching file common.mak
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 28.
1 out of 1 hunk FAILED -- saving rejects to file common.mak.rej
orca:~/coding/ffmpeg carboncopy$ bbedit bug.patch
orca:~/coding/ffmpeg carboncopy$ cat common.mak.rej
***************
*** 28,34 ****

  $(LIB): $(STATIC_OBJS)
        rm -f $@
-        $(AR) rc $@ $^ $(EXTRAOBJS)
        $(RANLIB) $@


--- 28,34 ----

  $(LIB): $(STATIC_OBJS)
        rm -f $@
+        $(AR) rcs $@ $^ $(EXTRAOBJS)
        $(RANLIB) $@





More information about the ffmpeg-devel mailing list