Some times for the same i get the below error, when created the *.node 
using gyp in the Ubuntu platform and copied in to the Target.

root@bosch-nemid:~/Release-2/build/Release/lib.target# node ARM.js

module.js:480
  process.dlopen(filename, module.exports);
          ^
Error: /home/root/Release-2/build/Release/lib.target/hu.node: undefined 
symbol: init
    at Object.Module._extensions..node (module.js:480:11)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> 
(/home/root/Release-2/build/Release/lib.target/ARM.js:1:78)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)


Please find below my binding.gyp code,
{
  'targets' : [
    {
      'target_name': 'hu',
      'type': 'shared_library',
      'sourcess': [ 'NJSAQ.cc' ],
      'include_dirs': ['/home/pavincoll/Desktop/ARMRFS3/usr/include', 
'/home/pavincoll/Desktop/ARMRFS3/usr/include/alsa', 
'/home/pavincoll/Desktop/ARMRFS3/usr/include/curl', 
'/opt/tooling/mvista/MV_20110822/symphony-ivi-2.6.34/tools/tools/arm-gnueabi/arm-montavista-linux-gnueabi/target-toolchain/arm-montavista-linux-gnueabi/libc/usr/bin'
 
, '/home/pavincoll/Desktop/ARMRFS3/usr/lib', 
'/home/pavincoll/workspace/aqstub/src'],
      'link_settings': {
        'libraries': ['/usr/local/lib/libaqARM.so', 
'/usr/local/lib/libsqARM_1.so', '/usr/local/lib/libspARM.so']
       }
    }
  ]
}




On Tuesday, August 28, 2012 3:40:24 PM UTC-7, mscdex wrote:
>
> On Aug 28, 6:34 pm, Pavi <[email protected]> wrote: 
> > Please find below the code of wscript: 
>
> First thing you should do is switch to gyp. 
>

-- 
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

Reply via email to