Skip to content

Unable to buildΒ #6

@nilzen

Description

@nilzen

I'm unable to build using node v0.10.3, not sure if I'm missing something or if it isn't compatible with my node version...?

npm http GET https://registry.npmjs.org/telldus-core-js
npm http 304 https://registry.npmjs.org/telldus-core-js

telldus-core-js@0.0.6 install /***/node_modules/telldus-core-js
node-gyp configure build

CXX(target) Release/obj.target/telldus-core-js/telldus.o
../telldus.cc:1:9: warning: 'BUILDING_NODE_EXTENSION' macro redefined

define BUILDING_NODE_EXTENSION

    ^

:4:9: note: previous definition is here

define BUILDING_NODE_EXTENSION 1

    ^

../telldus.cc:205:34: error: unknown type name 'eio_req'
int DeviceEventCallbackAfter(eio_req req) {
^
../telldus.cc:225:17: error: use of undeclared identifier 'EIO_PRI_DEFAULT'
eio_nop(EIO_PRI_DEFAULT, DeviceEventCallbackAfter, batton);
^
../telldus.cc:239:34: error: unknown type name 'eio_req'
int SensorEventCallbackAfter(eio_req *req) {
^
../telldus.cc:271:17: error: use of undeclared identifier 'EIO_PRI_DEFAULT'
eio_nop(EIO_PRI_DEFAULT, SensorEventCallbackAfter, batton);
^
../telldus.cc:285:35: error: unknown type name 'eio_req'
int RawDataEventCallbackAfter(eio_req *req) {
^
../telldus.cc:306:17: error: use of undeclared identifier 'EIO_PRI_DEFAULT'
eio_nop(EIO_PRI_DEFAULT, RawDataEventCallbackAfter, batton);
^
1 warning and 6 errors generated.
make: *
* [Release/obj.target/telldus-core-js/telldus.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions