[FFmpeg-devel] cross_prefix added to ln

Matthias Schneider ma30002000
Sun Sep 16 13:11:26 CEST 2007


Hi all,
trying to cross-compile ffmpeg with the following configure options:
./configure --cross-prefix=i586-mingw32msvc- --enable-shared --enable-memalign-hack
--cross-compile --target-os=mingw32 --enable-w32threads --arch=i686 ...

I run into the following error:

i586-mingw32msvc-ln -sf avutil-49.dll avutil.dll
make[2]: i586-mingw32msvc-ln: Command not found
make[2]: *** [avutil.dll] Error 127
make[2]: Leaving directory `/usr/src/ekigacvs/win32/ffmpeg/libavutil'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/usr/src/ekigacvs/win32/ffmpeg'
make: *** [/usr/src/ekigacvs/win32/bin/avcodec.dll] Error 2

Having a look at configure I noticed the following lines
1220-ar="${cross_prefix}${ar}"
1221-ranlib="${cross_prefix}${ranlib}"
1222-strip="${cross_prefix}${strip}"
1223:ln_s="${cross_prefix}${ln_s}"

Now I would like to ask whether it makes sense to add a cross_prefix in front of a simple ln or if
it is possible to simply remove this line like being done in the enclosed patch

Thanks in advance,
Matthias


      Wissenswertes f?r Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever


      Wissenswertes f?r Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.patch
Type: text/x-patch
Size: 375 bytes
Desc: 3390903605-ffmpeg.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070916/1b8bafb6/attachment.bin>



More information about the ffmpeg-devel mailing list