[FFmpeg-devel] [PATCH] Symbian OS won't load binaries which have a function pointer assigned directly using a library routine

Måns Rullgård mans
Mon Jan 24 18:07:21 CET 2011


Pankaj yadav <pankajdnapster at gmail.com> writes:

> This is a known limitation of Symbian OS.Code compiles perfectly and
> executables are built but when we run the application it simply fails to
> load saying "Feature not supported".There is no way to debug as the
> application is never started.
>
> comment #10 in
> http://discussion.forum.nokia.com/forum/showthread.php?100429-Menu-Feature-not-supported
> comment #12 in
> http://discussion.forum.nokia.com/forum/showthread.php?93263-Problems-with-porting-Openssl-on-to-symbian
>
> confirm the issue and show the workaround needed. I confirm the issue as i
> have actually tested this on real devices.
>
> As millions of devices are already running this limited version of Symbian
> OS rectifying symbian is a "no-go" and nor is Symbian opensource now.It
> happens with any dynamic link library so having a crazy libc is out of
> question.

This can be worked around in your build environment.  Put the wrapper
functions in a static lib, say libmstatic.a, and create a math.h
header like this:

#include_next <math.h>
#define sin staticsin
/* ... */

Place this header in /some/dir and configure ffmpeg with
--extra-cflags=-I/some/dir --extra-libs=-lmstatic

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



More information about the ffmpeg-devel mailing list