Hi Ben, I removed the static from all the places from the above code, and i still get the same error. Also do you mean NODE_SET_METHOD, since i am using NODE_MODULE to call init function.
Pavi On Wednesday, August 29, 2012 4:18:28 PM UTC-7, Ben Noordhuis wrote: > > On Thu, Aug 30, 2012 at 1:08 AM, Pavi <[email protected] <javascript:>> > wrote: > > extern "C" { > > static void init (Handle<Object> target) > > init must be non-static or it won't be visible to dlsym(). But > preferably use the NODE_MODULE macro. > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
