Hey,
I'm just wondering if anyone ever ran into this error while changing someone
elses code:
error while loading shared libraries: libfame.so.1: undefined symbol:
FAME_DECODER_MPEG
To put this in context, I have the source code for an mpeg4 encoder. I have
been trying to add functionality for a new profile. this has made it necessary
to copy a lot of code before changing it. Before getting this error I copied
fame_decoder_mpeg.c to fame_decoder_core.c and updated everything so it was
appears in the exact same way as the original class (the c file is really a
c++ class, created using structs).
Anyway, the error is being thrown at the following line, where my core profile
is being initialised:
FAME_PROFILE_MPEG4_CORE(profile)->FAME_OVERLOADED(init)(profile,context,params,buff er,size);
FAME_OVERLOADED is defined in fame.h:
/* object management */
#define FAME_EXTENDS(t) t super
#define FAME_NEW(t) t ## _constructor((t *) malloc(sizeof(t)))
#define FAME_CONSTRUCTOR(t) t * t ## _constructor(t *this)
#define FAME_DELETE(x) free(x)
#define FAME_OVERLOADED(x) super_ ## x
I don't really understand the above code though (a pointer(sry) to a tutorial
would
be great!).
Any help is greatly apreciated,
Cheers,
Brendan
--
"Anyone who abandons what is done for what aught to be done
learns his ruin rather than his preservation"
http://www.redbrick.dcu.ie/~keno/guestbook.jsp