On Friday, April 25, 2014 11:29:51 AM UTC+2, Pawel Por wrote:
>
> Hi
>
> When launching my addon under linux I got the following error message:
> Error: Symbol myaddon_module not found
>
> I can see this symbol in myaddon.node file:
> 00000000007eed40 d myaddon_module
>
> I have the following line in my source code:
> NODE_MODULE(myaddon, myInit)
>
> My app.js is as follows:
> require('/home/pp/myaddon');
>
> Please tell what may be wrong. I'm confused.
>
> thanks for help
>I can see that myaddod_module in myaddon.o file is hidden: 275: 00000000 20 OBJECT GLOBAL HIDDEN 16 myaddon_module As a result the symbol myaddon_module in myaddon.node file is local: 31403: 00000000007f2b20 40 OBJECT LOCAL DEFAULT 26 myaddon_module I think this is a reason of my problem. I tried various compilation/linking options (-rdynamic etc.) but with no success. Do you have any ideas what may be wrong. -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
