[FFmpeg-devel] [PATCH] WinCE does not support _lseeki64

Ramiro Polla ramiro.polla
Mon Jul 13 19:15:53 CEST 2009

On Mon, Jul 13, 2009 at 2:09 PM, ?smail D?nmez<ismail at namtrac.org> wrote:
> On Mon, Jul 13, 2009 at 8:07 PM, Ramiro Polla<ramiro.polla at gmail.com> wrote:
>> On Mon, Jul 13, 2009 at 1:58 PM, ?smail D?nmez<ismail at namtrac.org> wrote:
>>> Attached patch fixes compilation on WinCE. Of course lots of features
>>> are disabled but thats expected. Please apply.
>> Is this the only change necessary to properly compile on wince?
>> There's someone who started a fork of FFmpeg for windows CE [0], but I
>> haven't diffed his source code to FFmpeg vanilla yet, and so far he
>> has ignored my requests to explain what changes he did to the source
>> code. I haven't tested and don't intend to but it seems promising.
> Exact command line is :
> ./configure --enable-cross-compile --arch=generic --disable-debug
> --disable-static --enable-shared --disable-devices --disable-ffmpeg
> --disable-ffserver --disable-network --target-os=mingw32
> --disable-demuxer=mov --enable-memalign-hack

No --cross-prefix? What toolchain are you using?

> I just did a small configure hackery to comment out lib.exe invocation

That command failing shouldn't impact on the rest of the build process
(it starts with '-'). And besides I think it can also be used for
people who want to use libav* on WinCE with MSVC.

> on WinCE. But thats a hack not a patch. Other than that it compiles
> fine. Running on WinCE is another story. No success yet.

Hmmm, then I'd rather wait for your success before applying patches =)

Ramiro Polla

More information about the ffmpeg-devel mailing list