From: Michael Schwartz <myk...@gmail.com>
Date: Fri, 28 Sep 2012 07:00:43 -0700
Local: Fri, Sep 28 2012 10:00 am
Subject: Re: [v8-users] [Beginner question] How to link a plugin
I meant no offense. I just don't see any command line examples in it that would help with the problem at hand (his plugin not finding symbols in main with statically linked v8 library).
I also see no discussion of the loaded .so making calls to functions defined in the main program.
Peace
On Sep 28, 2012, at 6:44 AM, Stephan Beal <sgb...@googlemail.com> wrote:
> On Fri, Sep 28, 2012 at 3:39 PM, Michael Schwartz <myk...@gmail.com> wrote:
> I didn't see anything useful at the link. > It explains, for example, why static libs are sometimes problematic in conjunction with C++ templates and plugins (because unreferenced symbols do not get linked in to the client).
> The issue is you have a .so that's getting loaded via dlopen(). That .so needs to call functions in the v8 library that is statically linked into the main program.
> For example. And if those do not get referenced from client code then they don't (or might not) get linked in.
> -- > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||