Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to compile Nw.js 0.27.x #31

Closed
guddu313 opened this issue Jan 25, 2019 · 1 comment
Closed

Trying to compile Nw.js 0.27.x #31

guddu313 opened this issue Jan 25, 2019 · 1 comment

Comments

@guddu313
Copy link

I am able to build nwjs but when i am building node then i am getting below error.

ninja: Entering directory `out_gn_arm/Release'
[1/1] SOLINK lib/libnode.so
FAILED: lib/libnode.so lib/libnode.so.TOC
if [ ! -e lib/libnode.so -o ! -e lib/libnode.so.TOC ]; then ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -B/home/mgp/Pravin/Nw-js/nwjs/src/third_party/binutils/Linux_x64/Release/bin -L../nw/lib/ -lnw ../nw/obj/buildtools/third_party/libc++/libc++/.o ../nw/obj/buildtools/third_party/libc++abi/libc++abi/.o ../nw/obj/buildtools/third_party/libunwind/libunwind/.o -pthread -target arm-linux-gnueabihf --sysroot=/home/mgp/Pravin/Nw-js/nwjs/src/build/linux/debian_jessie_arm-sysroot -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-as-needed -lpthread -Wl,--as-needed -o lib/libnode.so -Wl,-soname=libnode.so @lib/libnode.so.rsp && { readelf -d lib/libnode.so | grep SONAME ; nm -gD -f p lib/libnode.so | cut -f1-2 -d' '; } > lib/libnode.so.TOC; else ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -B/home/mgp/Pravin/Nw-js/nwjs/src/third_party/binutils/Linux_x64/Release/bin -L../nw/lib/ -lnw ../nw/obj/buildtools/third_party/libc++/libc++/.o ../nw/obj/buildtools/third_party/libc++abi/libc++abi/.o ../nw/obj/buildtools/third_party/libunwind/libunwind/.o -pthread -target arm-linux-gnueabihf --sysroot=/home/mgp/Pravin/Nw-js/nwjs/src/build/linux/debian_jessie_arm-sysroot -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-as-needed -lpthread -Wl,--as-needed -o lib/libnode.so -Wl,-soname=libnode.so @lib/libnode.so.rsp && { readelf -d lib/libnode.so | grep SONAME ; nm -gD -f p lib/libnode.so | cut -f1-2 -d' '; } > lib/libnode.so.tmp && if ! cmp -s lib/libnode.so.tmp lib/libnode.so.TOC; then mv lib/libnode.so.tmp lib/libnode.so.TOC ; fi; fi
clang: error: no such file or directory: '../nw/obj/buildtools/third_party/libunwind/libunwind/*.o'
ninja: build stopped: subcommand failed.

Actually on this path "'../nw/obj/buildtools/third_party/libunwind/libunwind/*.o" there is no libunwind.
gn also not generating ninja file for libunwind.

Can anyone help me regarding this?
Any help would be appreciable.

Regads,
Guddu

@guddu313 guddu313 changed the title Trying to compile Nw.js 0.27.6 Trying to compile Nw.js 0.27.x Jan 25, 2019
@LeonardLaszlo
Copy link
Owner

Hi there, for older builds you can take a look at this https://gist.github.com/llamasoft/33af03b73945a84d7624460d67b922ab

Otherwise for newer builds check the Release tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants