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_MP EG
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_mp eg.c to fame_decoder_co re.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_MP EG4_CORE(profil e)->FAME_OVERLOADE D(init)(profile ,context,params ,buffer,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_CONSTRUCTO R(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"
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_MP EG
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_mp eg.c to fame_decoder_co re.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_MP EG4_CORE(profil e)->FAME_OVERLOADE D(init)(profile ,context,params ,buffer,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_CONSTRUCTO R(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"
Comment