Open manosnoam opened 6 years ago
Happened on RHEL 7.5:
../deps/v8/src/api.h:129:3: note: in expansion of macro ‘STATIC_ASSERT’ STATIC_ASSERT(sizeof(T) == sizeof(v8::internal::Address)); ^ rm -f /home/nmanos/Tether/node/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a && ar crsT /home/nmanos/Tether/node/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a /home/nmanos/Tether/node/out/Release/obj.target/v8_nosnapshot/gen/libraries.o /home/nmanos/Tether/node/out/Release/obj.target/v8_nosnapshot/gen/experimental-libraries.o /home/nmanos/Tether/node/out/Release/obj.target/v8_nosnapshot/deps/v8/src/snapshot-empty.o touch /home/nmanos/Tether/node/out/Release/obj.target/deps/v8/tools/gyp/v8.stamp cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/ioapi.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/ioapi.o ../deps/zlib/contrib/minizip/ioapi.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o ../deps/zlib/contrib/minizip/unzip.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/zip.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/zip.o ../deps/zlib/contrib/minizip/zip.c ../deps/zlib/contrib/minizip/zip.c:196:12: warning: ‘free_linkedlist’ defined but not used [-Wunused-function] local void free_linkedlist(ll) ^ cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/adler32.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/adler32.o ../deps/zlib/adler32.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/compress.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/compress.o ../deps/zlib/compress.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/crc32.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/crc32.o ../deps/zlib/crc32.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/deflate.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/deflate.o ../deps/zlib/deflate.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/gzio.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/gzio.o ../deps/zlib/gzio.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/infback.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/infback.o ../deps/zlib/infback.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inffast.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inffast.o ../deps/zlib/inffast.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inflate.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inflate.o ../deps/zlib/inflate.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o ../deps/zlib/inftrees.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/trees.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/trees.o ../deps/zlib/trees.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/uncompr.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/uncompr.o ../deps/zlib/uncompr.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/zutil.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/zutil.o ../deps/zlib/zutil.c rm -f /home/nmanos/Tether/node/out/Release/obj.target/deps/zlib/libchrome_zlib.a && ar crsT /home/nmanos/Tether/node/out/Release/obj.target/deps/zlib/libchrome_zlib.a /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/ioapi.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/zip.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/adler32.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/compress.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/crc32.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/deflate.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/gzio.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/infback.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inffast.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inflate.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/trees.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/uncompr.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/zutil.o LD_LIBRARY_PATH=/home/nmanos/Tether/node/out/Release/lib.host:/home/nmanos/Tether/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../.; mkdir -p /home/nmanos/Tether/node/out/Release/obj/gen; python tools/js2c.py "/home/nmanos/Tether/node/out/Release/obj/gen/node_natives.h" src/node.js lib/_debugger.js lib/_linklist.js lib/assert.js lib/buffer.js lib/buffer_ieee754.js lib/child_process.js lib/console.js lib/constants.js lib/crypto.js lib/cluster.js lib/dgram.js lib/dns.js lib/domain.js lib/events.js lib/freelist.js lib/fs.js lib/http.js lib/https.js lib/module.js lib/net.js lib/os.js lib/path.js lib/punycode.js lib/querystring.js lib/readline.js lib/repl.js lib/stream.js lib/string_decoder.js lib/sys.js lib/timers.js lib/tls.js lib/tty.js lib/url.js lib/util.js lib/vm.js lib/zlib.js ./config.gypi src/macros.py touch /home/nmanos/Tether/node/out/Release/obj.host/node_js2c.stamp g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/fs_event_wrap.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/fs_event_wrap.o ../src/fs_event_wrap.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/cares_wrap.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/cares_wrap.o ../src/cares_wrap.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/handle_wrap.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/handle_wrap.o ../src/handle_wrap.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node.o ../src/node.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_buffer.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_buffer.o ../src/node_buffer.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_constants.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_constants.o ../src/node_constants.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_extensions.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_extensions.o ../src/node_extensions.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_file.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_file.o ../src/node_file.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_http_parser.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_http_parser.o ../src/node_http_parser.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_javascript.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_javascript.o ../src/node_javascript.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_main.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_main.o ../src/node_main.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o ../src/node_os.cc ../src/node_os.cc:252:21: fatal error: stropts.h: No such file or directory
^
compilation terminated. make[1]: [/home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o] Error 1 make[1]: Leaving directory `/home/nmanos/Tether/node/out' make: [node] Error 2 [nmanos@nmanos node]$ ../src/node_os.cc:252:21: fatal error: stropts.h: No such file or directory bash: ../src/node_os.cc:252:21:: No such file or directory [nmanos@nmanos node]$ ../src/node_os.cc:252:21: fatal error: stropts.h: No such file or directory^C [nmanos@nmanos node]$ sudo touch /usr/include/stropts.h [sudo] password for nmanos: [nmanos@nmanos node]$ CXXFLAGS=-fpermissive make make -C out BUILDTYPE=Release V=1 make[1]: Entering directory /home/nmanos/Tether/node/out' g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-D__POSIX__' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o ../src/node_os.cc ../src/node_os.cc: In function ‘v8::Handle<v8::Value> node::SetupTun(const v8::Arguments&)’: ../src/node_os.cc:267:55: error: ‘ioctl’ was not declared in this scope if ((err = ioctl(fd, TUNSETIFF, (void *)&ifr)) < 0) { ^ make[1]: *** [/home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o] Error 1 make[1]: Leaving directory/home/nmanos/Tether/node/out' make: *** [node] Error 2 [nmanos@nmanos node]$
/home/nmanos/Tether/node/out' g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-D__POSIX__' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o ../src/node_os.cc ../src/node_os.cc: In function ‘v8::Handle<v8::Value> node::SetupTun(const v8::Arguments&)’: ../src/node_os.cc:267:55: error: ‘ioctl’ was not declared in this scope if ((err = ioctl(fd, TUNSETIFF, (void *)&ifr)) < 0) { ^ make[1]: *** [/home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o] Error 1 make[1]: Leaving directory
Ran into the same issue got past it by replacing
with
in ./node/src/node_os.cc But I haven't gotten the whole program to work yet so no guarantees.
Happened on RHEL 7.5:
../deps/v8/src/api.h:129:3: note: in expansion of macro ‘STATIC_ASSERT’ STATIC_ASSERT(sizeof(T) == sizeof(v8::internal::Address)); ^ rm -f /home/nmanos/Tether/node/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a && ar crsT /home/nmanos/Tether/node/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a /home/nmanos/Tether/node/out/Release/obj.target/v8_nosnapshot/gen/libraries.o /home/nmanos/Tether/node/out/Release/obj.target/v8_nosnapshot/gen/experimental-libraries.o /home/nmanos/Tether/node/out/Release/obj.target/v8_nosnapshot/deps/v8/src/snapshot-empty.o touch /home/nmanos/Tether/node/out/Release/obj.target/deps/v8/tools/gyp/v8.stamp cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/ioapi.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/ioapi.o ../deps/zlib/contrib/minizip/ioapi.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o ../deps/zlib/contrib/minizip/unzip.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/zip.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/zip.o ../deps/zlib/contrib/minizip/zip.c ../deps/zlib/contrib/minizip/zip.c:196:12: warning: ‘free_linkedlist’ defined but not used [-Wunused-function] local void free_linkedlist(ll) ^ cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/adler32.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/adler32.o ../deps/zlib/adler32.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/compress.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/compress.o ../deps/zlib/compress.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/crc32.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/crc32.o ../deps/zlib/crc32.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/deflate.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/deflate.o ../deps/zlib/deflate.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/gzio.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/gzio.o ../deps/zlib/gzio.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/infback.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/infback.o ../deps/zlib/infback.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inffast.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inffast.o ../deps/zlib/inffast.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inflate.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inflate.o ../deps/zlib/inflate.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o ../deps/zlib/inftrees.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/trees.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/trees.o ../deps/zlib/trees.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/uncompr.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/uncompr.o ../deps/zlib/uncompr.c cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../deps/zlib -I../deps/zlib/contrib/minizip -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/zutil.o.d.raw -c -o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/zutil.o ../deps/zlib/zutil.c rm -f /home/nmanos/Tether/node/out/Release/obj.target/deps/zlib/libchrome_zlib.a && ar crsT /home/nmanos/Tether/node/out/Release/obj.target/deps/zlib/libchrome_zlib.a /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/ioapi.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/unzip.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/contrib/minizip/zip.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/adler32.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/compress.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/crc32.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/deflate.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/gzio.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/infback.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inffast.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inflate.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/trees.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/uncompr.o /home/nmanos/Tether/node/out/Release/obj.target/zlib/deps/zlib/zutil.o LD_LIBRARY_PATH=/home/nmanos/Tether/node/out/Release/lib.host:/home/nmanos/Tether/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../.; mkdir -p /home/nmanos/Tether/node/out/Release/obj/gen; python tools/js2c.py "/home/nmanos/Tether/node/out/Release/obj/gen/node_natives.h" src/node.js lib/_debugger.js lib/_linklist.js lib/assert.js lib/buffer.js lib/buffer_ieee754.js lib/child_process.js lib/console.js lib/constants.js lib/crypto.js lib/cluster.js lib/dgram.js lib/dns.js lib/domain.js lib/events.js lib/freelist.js lib/fs.js lib/http.js lib/https.js lib/module.js lib/net.js lib/os.js lib/path.js lib/punycode.js lib/querystring.js lib/readline.js lib/repl.js lib/stream.js lib/string_decoder.js lib/sys.js lib/timers.js lib/tls.js lib/tty.js lib/url.js lib/util.js lib/vm.js lib/zlib.js ./config.gypi src/macros.py touch /home/nmanos/Tether/node/out/Release/obj.host/node_js2c.stamp g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/fs_event_wrap.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/fs_event_wrap.o ../src/fs_event_wrap.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/cares_wrap.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/cares_wrap.o ../src/cares_wrap.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/handle_wrap.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/handle_wrap.o ../src/handle_wrap.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node.o ../src/node.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_buffer.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_buffer.o ../src/node_buffer.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_constants.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_constants.o ../src/node_constants.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_extensions.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_extensions.o ../src/node_extensions.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_file.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_file.o ../src/node_file.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_http_parser.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_http_parser.o ../src/node_http_parser.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_javascript.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_javascript.o ../src/node_javascript.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_main.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_main.o ../src/node_main.cc g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-DPOSIX' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o ../src/node_os.cc ../src/node_os.cc:252:21: fatal error: stropts.h: No such file or directory
include
compilation terminated. make[1]: [/home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o] Error 1 make[1]: Leaving directory `/home/nmanos/Tether/node/out' make: [node] Error 2 [nmanos@nmanos node]$ ../src/node_os.cc:252:21: fatal error: stropts.h: No such file or directory bash: ../src/node_os.cc:252:21:: No such file or directory [nmanos@nmanos node]$ ../src/node_os.cc:252:21: fatal error: stropts.h: No such file or directory^C [nmanos@nmanos node]$ sudo touch /usr/include/stropts.h [sudo] password for nmanos: [nmanos@nmanos node]$ CXXFLAGS=-fpermissive make make -C out BUILDTYPE=Release V=1 make[1]: Entering directory
/home/nmanos/Tether/node/out' g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="x64"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=1' '-D__POSIX__' -I../src -I../deps/uv/src/ares -I/home/nmanos/Tether/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/openssl/openssl/include -I../deps/openssl/config/k8 -I../deps/v8/include -I../deps/zlib -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/nmanos/Tether/node/out/Release/.deps//home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o.d.raw -fpermissive -c -o /home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o ../src/node_os.cc ../src/node_os.cc: In function ‘v8::Handle<v8::Value> node::SetupTun(const v8::Arguments&)’: ../src/node_os.cc:267:55: error: ‘ioctl’ was not declared in this scope if ((err = ioctl(fd, TUNSETIFF, (void *)&ifr)) < 0) { ^ make[1]: *** [/home/nmanos/Tether/node/out/Release/obj.target/node/src/node_os.o] Error 1 make[1]: Leaving directory
/home/nmanos/Tether/node/out' make: *** [node] Error 2 [nmanos@nmanos node]$