[Ffmpeg-devel] Bug in libavutil Makefile (or maybe just my stupidity? Be gentle...)
Philippe Dirkse
philippe
Fri Feb 3 18:17:45 CET 2006
Diego (and others),
the contents of my config.mak file are:
-------------------------------------------------------------------------
# Automatically generated by configure - do not modify!
prefix=$(DESTDIR)/c/Program Files/FFmpeg
libdir=$(DESTDIR)/c/Program Files/FFmpeg/lib
bindir=$(DESTDIR)/c/Program Files/FFmpeg
mandir=$(DESTDIR)/c/Program Files/FFmpeg/man
MAKE=make
CC=gcc
AR=ar
RANLIB=ranlib
STRIP=strip
INSTALLSTRIP=-s
OPTFLAGS=-O3 -g -Wall -Wno-switch -Wdeclaration-after-statement
SHCFLAGS=-O3 -g -Wall -Wno-switch -Wdeclaration-after-statement
LDFLAGS=-Wl,--warn-common
LDCONFIG=ldconfig
FFSLDFLAGS=-Wl,-E
SHFLAGS=-shared -Wl,-soname,$@.$(LIBMAJOR)
LIBOBJFLAGS=
BUILDSUF=
LIBPREF=lib
LIBSUF=${BUILDSUF}.a
SLIBPREF=
SLIBSUF=${BUILDSUF}.dll
EXESUF=${BUILDSUF}.exe
TARGET_OS=MINGW32_NT-5.1-UNKNOWN
TARGET_ARCH_X86=yes
TARGET_MMX=yes
TARGET_BUILTIN_VECTOR=yes
BUILD_SHARED=yes
PIC=-fPIC -DPIC
SPPMAJOR=51
SPPVERSION=51.1.0
LAVCMAJOR=51
LAVCVERSION=51.1.0
LAVFMAJOR=50
LAVFVERSION=50.0.0
LAVUMAJOR=49
LAVUVERSION=49.0.0
SLIBNAME=$(SLIBPREF)$(NAME)$(SLIBSUF)
SLIBNAME_WITH_VERSION=$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)
SLIBNAME_WITH_MAJOR=$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBMAJOR)
EXTRALIBS=-lm
VERSION=CVS
CONFIG_ENCODERS=yes
CONFIG_DECODERS=yes
CONFIG_MUXERS=yes
CONFIG_DEMUXERS=yes
CONFIG_WIN32=yes
HAVE_W32THREADS=yes
CONFIG_PROTOCOLS=yes
SRC_PATH='/home/Flipje/ffmpeg'
CONFIG_AC3_ENCODER=yes
CONFIG_MP2_ENCODER=yes
CONFIG_MP3LAME_ENCODER=yes
CONFIG_OGGVORBIS_ENCODER=yes
CONFIG_OGGVORBIS_DECODER=yes
CONFIG_OGGTHEORA_ENCODER=yes
CONFIG_OGGTHEORA_DECODER=yes
CONFIG_FAAC_ENCODER=yes
CONFIG_XVID_ENCODER=yes
CONFIG_MPEG1VIDEO_ENCODER=yes
CONFIG_H264_ENCODER=yes
CONFIG_MPEG2VIDEO_ENCODER=yes
CONFIG_H261_ENCODER=yes
CONFIG_H263_ENCODER=yes
CONFIG_H263P_ENCODER=yes
CONFIG_FLV_ENCODER=yes
CONFIG_RV10_ENCODER=yes
CONFIG_RV20_ENCODER=yes
CONFIG_MPEG4_ENCODER=yes
CONFIG_MSMPEG4V1_ENCODER=yes
CONFIG_MSMPEG4V2_ENCODER=yes
CONFIG_MSMPEG4V3_ENCODER=yes
CONFIG_WMV1_ENCODER=yes
CONFIG_WMV2_ENCODER=yes
CONFIG_SVQ1_ENCODER=yes
CONFIG_MJPEG_ENCODER=yes
CONFIG_LJPEG_ENCODER=yes
CONFIG_JPEGLS_ENCODER=yes
CONFIG_PNG_ENCODER=yes
CONFIG_PPM_ENCODER=yes
CONFIG_PGM_ENCODER=yes
CONFIG_PGMYUV_ENCODER=yes
CONFIG_PBM_ENCODER=yes
CONFIG_PAM_ENCODER=yes
CONFIG_HUFFYUV_ENCODER=yes
CONFIG_FFVHUFF_ENCODER=yes
CONFIG_ASV1_ENCODER=yes
CONFIG_ASV2_ENCODER=yes
CONFIG_FFV1_ENCODER=yes
CONFIG_SNOW_ENCODER=yes
CONFIG_ZLIB_ENCODER=yes
CONFIG_DVVIDEO_ENCODER=yes
CONFIG_SONIC_ENCODER=yes
CONFIG_SONIC_LS_ENCODER=yes
CONFIG_X264_ENCODER=yes
CONFIG_LIBGSM_ENCODER=yes
CONFIG_RAWVIDEO_ENCODER=yes
CONFIG_H263_DECODER=yes
CONFIG_H261_DECODER=yes
CONFIG_MPEG4_DECODER=yes
CONFIG_MSMPEG4V1_DECODER=yes
CONFIG_MSMPEG4V2_DECODER=yes
CONFIG_MSMPEG4V3_DECODER=yes
CONFIG_WMV1_DECODER=yes
CONFIG_WMV2_DECODER=yes
CONFIG_VC9_DECODER=yes
CONFIG_WMV3_DECODER=yes
CONFIG_H263I_DECODER=yes
CONFIG_FLV_DECODER=yes
CONFIG_RV10_DECODER=yes
CONFIG_RV20_DECODER=yes
CONFIG_SVQ1_DECODER=yes
CONFIG_SVQ3_DECODER=yes
CONFIG_WMAV1_DECODER=yes
CONFIG_WMAV2_DECODER=yes
CONFIG_INDEO2_DECODER=yes
CONFIG_INDEO3_DECODER=yes
CONFIG_TSCC_DECODER=yes
CONFIG_CSCD_DECODER=yes
CONFIG_ULTI_DECODER=yes
CONFIG_QDRAW_DECODER=yes
CONFIG_XL_DECODER=yes
CONFIG_QPEG_DECODER=yes
CONFIG_LOCO_DECODER=yes
CONFIG_WNV1_DECODER=yes
CONFIG_AASC_DECODER=yes
CONFIG_FRAPS_DECODER=yes
CONFIG_AAC_DECODER=yes
CONFIG_MPEG4AAC_DECODER=yes
CONFIG_MPEG1VIDEO_DECODER=yes
CONFIG_MPEG2VIDEO_DECODER=yes
CONFIG_MPEGVIDEO_DECODER=yes
CONFIG_MPEG_XVMC_DECODER=yes
CONFIG_DVVIDEO_DECODER=yes
CONFIG_MJPEG_DECODER=yes
CONFIG_MJPEGB_DECODER=yes
CONFIG_SP5X_DECODER=yes
CONFIG_PNG_DECODER=yes
CONFIG_MP2_DECODER=yes
CONFIG_MP3_DECODER=yes
CONFIG_MP3ADU_DECODER=yes
CONFIG_MP3ON4_DECODER=yes
CONFIG_MACE3_DECODER=yes
CONFIG_MACE6_DECODER=yes
CONFIG_HUFFYUV_DECODER=yes
CONFIG_FFVHUFF_DECODER=yes
CONFIG_FFV1_DECODER=yes
CONFIG_SNOW_DECODER=yes
CONFIG_CYUV_DECODER=yes
CONFIG_H264_DECODER=yes
CONFIG_VP3_DECODER=yes
CONFIG_THEORA_DECODER=yes
CONFIG_ASV1_DECODER=yes
CONFIG_ASV2_DECODER=yes
CONFIG_VCR1_DECODER=yes
CONFIG_CLJR_DECODER=yes
CONFIG_FOURXM_DECODER=yes
CONFIG_MDEC_DECODER=yes
CONFIG_ROQ_DECODER=yes
CONFIG_INTERPLAY_VIDEO_DECODER=yes
CONFIG_XAN_WC3_DECODER=yes
CONFIG_RPZA_DECODER=yes
CONFIG_CINEPAK_DECODER=yes
CONFIG_MSRLE_DECODER=yes
CONFIG_MSVIDEO1_DECODER=yes
CONFIG_VQA_DECODER=yes
CONFIG_IDCIN_DECODER=yes
CONFIG_EIGHTBPS_DECODER=yes
CONFIG_SMC_DECODER=yes
CONFIG_FLIC_DECODER=yes
CONFIG_TRUEMOTION1_DECODER=yes
CONFIG_TRUEMOTION2_DECODER=yes
CONFIG_VMDVIDEO_DECODER=yes
CONFIG_VMDAUDIO_DECODER=yes
CONFIG_MSZH_DECODER=yes
CONFIG_ZLIB_DECODER=yes
CONFIG_SONIC_DECODER=yes
CONFIG_AC3_DECODER=yes
CONFIG_DTS_DECODER=yes
CONFIG_RA_144_DECODER=yes
CONFIG_RA_288_DECODER=yes
CONFIG_ROQ_DPCM_DECODER=yes
CONFIG_INTERPLAY_DPCM_DECODER=yes
CONFIG_XAN_DPCM_DECODER=yes
CONFIG_SOL_DPCM_DECODER=yes
CONFIG_QTRLE_DECODER=yes
CONFIG_FLAC_DECODER=yes
CONFIG_SHORTEN_DECODER=yes
CONFIG_ALAC_DECODER=yes
CONFIG_WS_SND1_DECODER=yes
CONFIG_VORBIS_DECODER=yes
CONFIG_LIBGSM_DECODER=yes
CONFIG_QDM2_DECODER=yes
CONFIG_COOK_DECODER=yes
CONFIG_TRUESPEECH_DECODER=yes
CONFIG_RAWVIDEO_DECODER=yes
CONFIG_AMR_NB_DECODER=yes
CONFIG_AMR_NB_ENCODER=yes
CONFIG_AMR_WB_DECODER=yes
CONFIG_AMR_WB_ENCODER=yes
CONFIG_BMP_DECODER=yes
CONFIG_DVDSUB_DECODER=yes
CONFIG_DVDSUB_ENCODER=yes
CONFIG_DVBSUB_DECODER=yes
CONFIG_DVBSUB_ENCODER=yes
----------------------------------------------------------
Also, the 'offending' line in my libavutil\Makefile (lne 36) contains:
$(LIB): $(OBJS)
rm -f $@
$(AR) rc $@ $(OBJS)
$(RANLIB) $@
which to me appears normal (but then again, I know very little about
makefiles).
Hope this helps you help me! :-)
Regards,
Philippe
----- Original Message -----
From: "Diego Biurrun" <diego at biurrun.de>
To: "FFMpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Friday, February 03, 2006 2:18 AM
Subject: Re: [Ffmpeg-devel] Bug in libavutil Makefile (or maybe justmy
stupidity? Be gentle...)
> On Thu, Feb 02, 2006 at 05:55:17PM +0100, Philippe Dirkse wrote:
>>
>> I just checked out the most recent cvs version of ffmpeg and am trying
>> to build the windows dll versions as described in the documentation.
>> However, I noticed this documentation to be somewhat dated because
>> if I do a: ./configure --enable-shared --enable-memalign-hack
>> --enable-mingw32
>>
>> as described I get the following response:
>>
>> You can only build one library type at once on MinGW... Specify
>> --disable-static --enable-shared to only build the shared
>> libraries...(bla bla...)
>
> Documentation fixed, thanks for the hint.
>
>> 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?
>
> Diego
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list