Ravi,

Thanks for your replay. Related to external access subject: if I need
to create dynamically (during  execution) a node (such as a parser
node) I need to have access to iPlayerNodeRegistry->CreateNode(..). I
noticed that the access to the iPlayerNodeRegistry is given only to
DownloadManagerNode via  iSourceNodeRegInitIF->SetPlayerNodeRegistry
(..). How could I have access to the iPlayerNodeRegistry from a  node
that is not a DownloadManagerNode?
One cumbersome way to solve this issue would be to create my own
registry  and all the necessary functions to populate it with nodes
and recognizers, in other words to duplicate the implementation from
the player engine.



George









On Dec 15 2009, 10:53 pm, RaviY <yend...@pv.com> wrote:
> In any given shared library, only a few symbols are visible
> externally. These symbols are marked with OSCL_IMPORT_REF/
> OSCL_EXPORT_REF. So, you should check if the function that you are
> referencing is being exported or not.
>
> -Ravi
>
> On Dec 16, 5:28 am, George C <georgec2...@gmail.com> wrote:
>
> > Ravi,
>
> > I also have  abuild related  problem.  I am trying to add a new node
> > where I use someexternalclass methods already defined in an existing
> > OpenCore  node (more exactly in ProtocolEngineNode). The compile phase
> > works fine but I got link errors: "undefined reference".    For some
> > reasons the linker is unable to find its implementation.  Do you have
> > any suggestion?
>
> > Thanks,
>
> > George
>
> > On Dec 4, 9:50 am, RaviY <yend...@pv.com> wrote:
>
> > > I agree. It is kind of confusing for folks building OpenCORE outside
> > > of Android to modify the pv_config* files. I can help you hack it up
> > > for your use.
>
> > > You can do the following things in build_config/opencore_dynamic/
> > > makefile before the line "include $(MK)/cml2_shared.mk" ...
> > > - To add a new shared library libxyz.so that comprises of two static
> > > libraries libstatic1.a and libstatic2.a.
> > > SOLIBDIRS_xyz := "/path/to/libstatic1 /path/to/libstatic2"
> > > SOLIBS_xyz := "-lstatic1 -lstatic2"
> > > E.g. When one wants to add a new dynamically loadable parser node.
>
> > > - To add a new static library libstatic3.a into an existing shared
> > > library libpqr.so.
> > > SOLIBDIRS_pqr := $(SOLIBDIRS_pqr) "/path/to/libstatic3"
> > > SOLIBS_pqr := $(SOLIBS_pqr) "-lstatic3"
> > > E.g. When one wants to add a new parser node to be linked statically
> > > with libopencore_player.so.
>
> > > Hope this helps.
> > > -Ravi
>
> > > On Dec 4, 7:41 pm, jeffb <jeffbo...@gmail.com> wrote:> Can anyone help me?
>
> > > > On Dec 2, 9:44 am, jeffb <jeffbo...@gmail.com> wrote:
>
> > > > > I have a new parser node and recognizer node. I am trying tobuild
> > > > > open core outside android. I have followed the quickstart tutorial
> > > > > which is in opencore directory. When I follow these instructions, it
> > > > > does not recognize that I have added parser node and recognizer node
> > > > > directories. I have included make files similar to the ones for MP4
> > > > > parser and recognizer nodes within these new directories.
>
> > > > > What do I need to do to make thebuildsystem recognize these new
> > > > > directories and automatically generate the necessary pv_config.h,
> > > > > rules.cml, sybols.cml, pv_config_derived.mk, pv_config_selected.mk,
> > > > > and make files within build_config/opencore_dynamic?
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to