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.jsmodule.js:480process.dlopen(filename, module.exports);^Error: /home/root/Release-2/build/Release/lib.target/hu.node: undefined symbol: initat 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 Wednesday, August 29, 2012 at 11:51, Pavi wrote:
Hi,I shifted to gyp, and wrote binding.gyp, but still when i copy over the *.node file to Hardware which is successfully created in my ubuntu cause me the following error,[11893.676924] Alignment trap: not handling instruction e1923f9f at [<ffff0fc4>][11893.686520] Unhandled fault: alignment exception (0x011) at 0x0001ba4dIllegal instructionPlease 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']}}]}
Pavi
On Tuesday, August 28, 2012 3:40:24 PM UTC-7, mscdex wrote:
--
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 nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en