[Ffmpeg-devel] Re: [RFC] ffmpeg-windows mailinglist?

Víctor Paesa wzrlpy
Thu Aug 3 19:51:16 CEST 2006


Hi,

> On Thu, Aug 03, 2006 at 07:36:12PM +0200, V?ctor Paesa wrote:
>> > On Thu, Aug 03, 2006 at 07:07:45PM +0200, V?ctor Paesa wrote:
>> >>
>> >> And now I got
>> >>
>> >> make[1]: Entering directory
>> >> `/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil'
>> >> install -d "C:\Program Files/FFmpeg/lib"
>> >> install -s -m 755 avutil.dll \
>> >> "C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll"
>> >> ln -sf avutil-49.0.0.dll \
>> >>        "C:\Program Files/FFmpeg/lib/avutil-49.dll"
>> >> ln: creating symbolic link `C:\\Program
>> Files/FFmpeg/lib/avutil-49.dll'
>> >> to
>> >> `avutil-49.0.0.dll': No such file or directory
>> >> make[1]: *** [install-lib-shared] Error 1
>> >> make[1]: Leaving directory
>> >> `/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil'
>> >> make: *** [install-libs] Error 2
>> >>
>> >> because avutil-49.0.0.dll is not created in MinGW.
>> >
>> > Huh?
>> >
>> >   install -s -m 755 avutil.dll \
>> >   "C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll"
>> >
>> > So avutil-49.0.0.dll is created in the line above ...
>>
>> Yes, that line creates successfully a avutil-49.0.0.dll at
>> "C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll",
>> but current directory in make is
>> /home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil,
>> and no avutil-49.0.0.dll is there, so the "ln" fails
>
> So where is the problem?  The command
>
>   ln -sf avutil-49.0.0.dll "C:\Program Files/FFmpeg/lib/avutil-49.dll"
>
> creates a link pointing to avutil-49.0.0.dll with the name
> "C:\Program Files/FFmpeg/lib/avutil-49.dll" and
> "C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll" was created by the
> install command ...

The problem is that "ln" is emulated in MinGW by "cp", so you're
really attempting

cp -f \
/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil/avutil-49.0.0.dll \
"C:\Program Files/FFmpeg/lib/avutil-49.dll"

and that fails, because there is no
/home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil/avutil-49.0.0.dll

Regards,
V?ctor Paesa




More information about the ffmpeg-devel mailing list