[FFmpeg-devel] [PATCH] Non-recursive makefiles

Dennis Volodomanov dennis.volodomanov
Fri Mar 28 03:45:27 CET 2008


I'm trying to build ffmpeg using the latest version that I just got out
on MinGW and I'm getting the following errors:

dennisv at ZEUS ~/ffmpeg-svn
$ make install
"/home/dennisv/ffmpeg-svn"/version.sh "/home/dennisv/ffmpeg-svn"
/home/dennisv/ffmpeg-svn/version.sh: line 11: git: command not found
gcc -shared -Wl,--output-def,-.def -Wl,--enable-runtime-pseudo-reloc
-Wl,--enable-auto-image-base -L"/home/dennisv/ffmpeg-svn"/libavdevice
-L"/home/dennisv/ffmpeg-svn"/libavformat
-L"/home/dennisv/ffmpeg-svn"/libavcodec
-L"/home/dennisv/ffmpeg-svn"/libavutil -g  -Wl,--warn-common
-Wl,-rpath-link,"/home/dennisv/ffmpeg-svn"/libavcodec
-Wl,-rpath-link,"/home/dennisv/ffmpeg-svn"/libavformat
-Wl,-rpath-link,"/home/dennisv/ffmpeg-svn"/libavutil -Wl,-Bsymbolic -o
-.dll  -lavdevice -lavformat -lavcodec -lavutil  -lm -lws2_32 -lvfw32 
lib /machine:i386 /def:-.def
Microsoft (R) Library Manager Version 7.10.6030
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library -.lib and object -.exp
ln -sf -.dll .dll
ln: invalid option -- .
Try `ln --help' for more information.
make: *** [.dll] Error 1

dennisv at ZEUS ~/ffmpeg-svn
$ make distclean
"/home/dennisv/ffmpeg-svn"/version.sh "/home/dennisv/ffmpeg-svn"
/home/dennisv/ffmpeg-svn/version.sh: line 11: git: command not found
rm -f *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \
      *.def *.dll.a *.exp *.ho *.map 
rm: invalid option -- .
Try `rm --help' for more information.
make: *** [clean] Error 1



Could they be related to the latest changes? I was able to build fine a
few days ago.

Thanks,

   Dennis


-----Original Message-----
From: M?ns Rullg?rd [mailto:mans at mansr.com] 
Sent: Friday, March 28, 2008 1:02 PM
To: ffmpeg-devel at mplayerhq.hu
Subject: [FFmpeg-devel] [PATCH] Non-recursive makefiles

This splendid patch makes the makefiles non-recursive, which is good in
a number of ways.  Through some clever tricks, it is still possible to
invoke make in a subdirectory to build only that library.

Please test.  If you're too lazy to help me test it, at least comment.

--
M?ns Rullg?rd
mans at mansr.com





More information about the ffmpeg-devel mailing list