I'm getting an error when I 'require' a module I have built.

Is this a 32/64bit issue?  If so how do I best correct for future node 
compatibility?

node 0.6.13 on Mac OS X 10.7.3

I'm still using node-waf to manually compile modules -- is that the problem?
Here's the wscript:
srcdir = '.'
blddir = 'build'
VERSION = '1.0.0'
APPNAME = 'XYZ-ABC-utils'

def set_options(opt):
    opt.tool_options('compiler_cxx')

def configure(conf):
    conf.check_tool('compiler_cxx')
    conf.check_tool('node_addon')

def build(bld):
    obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
    obj.source = 'node-ABC-support.cc', 'ABC1-support.cc', 
'ABC2-support.cc',  'ABC3-support.cc'
    obj.libpath = [ bld.path.abspath() ]
    obj.lib = 'GHJ.o'
    bld.env.append_value('LINKFLAGS', '-lcrypto -lssl -lz'.split())
    obj.target = 'XYZ-ABC-utils'

Even if I add this line to the script I still get the same errors:

    obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE"]

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