[Ffmpeg-devel] Bug in libavutil Makefile (or maybe just my stupidity? Be gentle...)

Diego Biurrun diego
Fri Feb 3 18:57:58 CET 2006


On Fri, Feb 03, 2006 at 06:17:45PM +0100, Philippe Dirkse wrote:
> 
> the contents of my config.mak file are:
> 
> -------------------------------------------------------------------------
> 
> BUILDSUF=
> LIBPREF=lib
> LIBSUF=${BUILDSUF}.a
> SLIBPREF=
> SLIBSUF=${BUILDSUF}.dll
> EXESUF=${BUILDSUF}.exe
> SLIBNAME=$(SLIBPREF)$(NAME)$(SLIBSUF)
> SLIBNAME_WITH_VERSION=$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)
> SLIBNAME_WITH_MAJOR=$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBMAJOR)
> 
> ----------------------------------------------------------
> 
> Also, the 'offending' line in my libavutil\Makefile (lne 36) contains:
> 
> $(LIB): $(OBJS)
> rm -f $@
> $(AR) rc $@ $(OBJS)
> $(RANLIB) $@

Hmmm, it seems that your system does not like the empty variable LIB.
Does it go away if you remove the 4 lines you pasted above from the
Makefile?

This is peculiar, I cannot reproduce it on Linux...

Diego

P.S.: Please don't top-post.

> >On Thu, Feb 02, 2006 at 05:55:17PM +0100, Philippe Dirkse wrote:
> >>
> >>So I type:
> >>./configure --disable-static --enable-shared --enable-memalign-hack 
> >>--enable-mingw32
> >>
> >>which runs fine, but when I continue with a make I get:
> >>$ make
> >>make -C libavutil all
> >>make[1]: Entering directory '/home/Flipje/ffmpeg/libavutil'
> >>Makefile:36: *** missing separator. Stop
> >>make[1]: Leaving directory '/home/Flipje/ffmpeg/libavutil'
> >>make: *** [lib] Error 2
> >
> >Hmmmmm, what do you have in config.mak?





More information about the ffmpeg-devel mailing list