Skip to content

Build for Android Failed #3490

Closed
Closed
@canewsin

Description

@canewsin

Error Log

= note: /home/pramukesh/RustPython/target/aarch64-linux-android/release/deps/librustpython_stdlib-5199a75e787dd8ca.rlib(rustpython_stdlib-5199a75e787dd8ca.rustpython_stdlib.3a992c79-cgu.3.rcgu.o): In function rustpython_vm::function::IntoPyNativeFunc::into_func::_$u7b$$u7b$closure$u7d$$u7d$::h52115ebfb708e746': rustpython_stdlib.3a992c79-cgu.3:(.text._ZN13rustpython_vm8function16IntoPyNativeFunc9into_func28_$u7b$$u7b$closure$u7d$$u7d$17h52115ebfb708e746E+0x58): undefined reference to sethostname'
/home/pramukesh/RustPython/target/aarch64-linux-android/release/deps/librustpython_vm-b669f5e5086379a6.rlib(rustpython_vm-b669f5e5086379a6.rustpython_vm.8ab1d6e2-cgu.4.rcgu.o): In function rustpython_vm::function::IntoPyNativeFunc::into_func::_$u7b$$u7b$closure$u7d$$u7d$::hd8f167bab3c7e371': rustpython_vm.8ab1d6e2-cgu.4:(.text._ZN13rustpython_vm8function16IntoPyNativeFunc9into_func28_$u7b$$u7b$closure$u7d$$u7d$17hd8f167bab3c7e371E+0x48): undefined reference to openpty'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

= help: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile rustpython due to previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions