Using the Onion nodejs package -- illegal instruction
-
I've made my on build root based on the instructions in the Wiki. I can successfully compile nodejs, but I get an illegal instruction on running. I've read elsewhere this can be caused by FPU issues (lack of) -- but I note the makefile has a configure option for soft FPU.
Has anyone been able to successfully use the compiled rather than opkg version of node?
Thanks.
-m
-
@Marc-Nicholas said in Using the Onion nodejs package -- illegal instruction:
I've made my on build root based on the instructions in the Wiki.
What wiki? Are you following some Omega1 - instructions and you actually have an Omega2?
-
@WereCatf My bad, it was actually info on Github (https://github.com/OnionIoT/OpenWRT-Packages/wiki/Setting-Up-the-Cross-Compile-Environment).
Because the Onion packages don't work based on these instructions, I git clone'd their packages repo into the packages directory (works the same).
-
@Marc-Nicholas Aye, those instructions are wrong. The Omega2 uses LEDE, not OpenWRT anymore, and it's ramips, not ar9x.
-
@WereCatf I never said I was using an Omega 2
-
@Marc-Nicholas True enough.
-
So, just to clarify: OpenWRT build root (Chaos Calmer) + node v4.3.1 (from the Omega OpenWRT Packages repo) results in an illegal instruction.
Setting soft-float doesn't seem to fix the problem.