Skip to content

`unsupported relocation' Error when Linking #1

@Luluno01

Description

@Luluno01

I cloned this repo and followed the instruction in README but got an error as shown below.

/data/data/com.termux/files/usr/bin/ld: /data/data/com.termux/files/home/src/node-android-lib/out/Release/obj.target/openssl/deps/openssl/asm/arm64-linux64-gas/sha/sha1-armv8.o: relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC
/data/data/com.termux/files/home/src/node-android-lib/out/Release/obj.target/openssl/deps/openssl/asm/arm64-linux64-gas/sha/sha1-armv8.o: In function `sha1_block_armv8':
(.text+0x1240): dangerous relocation: unsupported relocation

Previously I download the source code of Node.js v10.6.0 and tried to make it on my android device with Termux, but failed in linking with another error undefined reference to \uv__xxx', where xxx` represents some symbol I forgot. Hope this would help :P.

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