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

armbian 安装报错 #10

Open
sparkleef opened this issue Dec 5, 2022 · 2 comments
Open

armbian 安装报错 #10

sparkleef opened this issue Dec 5, 2022 · 2 comments

Comments

@sparkleef
Copy link

armbian 安装报错,小白看不懂,是不是要安装什么东西先,谢谢大大

Device Information | 设备信息

SOC: [S905l3a]
Model [cm311-1a]
Armbian Version | 系统版本

Kernel Version: [5.15.80]
Release: [bullseye]

root@armbian:~/rtl8192fu# make -j$(nproc)
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.15.80-flippy-79+o/build M=/root/rtl8192fu modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.80-flippy-79+o'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: Ubuntu clang version 14.0.0-1ubuntu1
You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110
CC [M] /root/rtl8192fu/core/rtw_cmd.o
CC [M] /root/rtl8192fu/core/rtw_security.o
CC [M] /root/rtl8192fu/core/rtw_debug.o
CC [M] /root/rtl8192fu/core/rtw_io.o
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_cmd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_security.o] Error 1
gcc: error: unrecognized command-line option ‘-mno-global-merge’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_debug.o] Error 1
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[2]: *** [scripts/Makefile.build:289: /root/rtl8192fu/core/rtw_io.o] Error 1
make[1]: *** [Makefile:1902: /root/rtl8192fu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.80-flippy-79+o'
make: *** [Makefile:2332: modules] Error 2

@sparkleef
Copy link
Author

不知道是不是编译器版本问题,开始前也执行了下面的命令
root@armbian:~/rtl8192fu# sudo apt install make gcc bc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bc is already the newest version (1.07.1-2+b2).
gcc is already the newest version (4:10.2.1-1).
make is already the newest version (4.3-4.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

@tensor-tech
Copy link

不知道是不是编译器版本问题,开始前也执行了下面的命令 root@armbian:~/rtl8192fu# sudo apt install make gcc bc Reading package lists... Done Building dependency tree... Done Reading state information... Done bc is already the newest version (1.07.1-2+b2). gcc is already the newest version (4:10.2.1-1). make is already the newest version (4.3-4.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

需要升级 gcc版本,自己手动升级

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