[Ffmpeg-devel] ffmpeg failed to compile

Måns Rullgård mru
Mon Feb 13 18:02:00 CET 2006


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





More information about the ffmpeg-devel mailing list