-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
BugBuildLibrary building on various platformsLibrary building on various platformsNeeds InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue
Description
Problem Description
I have followed the guidance of README.md -> Installation from sources , download the source code of master and excute the install commands. However, I got some errors when running this command
python setup.py install
It looks like that the installation script called gcc and got some problems, here's the error report:
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.9.2=Python-3.9.2'
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.9.2=Python-3.9.2'
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.9.2=Python-3.9.2'
error: command '/usr/bin/gcc' failed with exit code 1
How can I solve this problem? Should I change the different gcc version or else?
Device Information
Platform: Raspberry Pi 4B
CPU: BCM2711 ARM Cortex-A71 64bit
OS: OpenWrt( a linux distribution )
gcc: gcc (OpenWrt GCC 7.4.0) 7.4.0
g++: g++ (OpenWrt GCC 7.4.0) 7.4.0
Python: 3.9.2
Metadata
Metadata
Assignees
Labels
BugBuildLibrary building on various platformsLibrary building on various platformsNeeds InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue