赛昉科技
直播中

杨丽

7年用户 1343经验值
私信 关注
[问答]

debian69驱动安装失败怎么解决?

root@starfive:/home/tools/toolset/20220622/v5.15.1# make
make -C /lib/modules/5.15.0-starfive/build M=/home/tools/toolset/20220622/v5.15.1 clean
make[1]: Entering directory ‘/usr/src/linux-headers-5.15.0-starfive’
make[1]: Leaving directory ‘/usr/src/linux-headers-5.15.0-starfive’
make -C /lib/modules/5.15.0-starfive/build M=/home/tools/toolset/20220622/v5.15.1 modules
make[1]: Entering directory ‘/usr/src/linux-headers-5.15.0-starfive’
make[2]: Nothing to be done for ‘include/generated/vdso-offsets.h’.
warning: the compiler differs from the one used to build the kernel
The kernel was built by: riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0
You are using:           gcc (Debian 11.3.0-3) 11.3.0
CC [M]  /home/tools/toolset/20220622/v5.15.1/./drivers/usb/serial/option.o
/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[2]: *** [scripts/Makefile.build:277: /home/tools/toolset/20220622/v5.15.1/./drivers/usb/serial/option.o] Error 126
make[2]: *** Deleting file ‘/home/tools/toolset/20220622/v5.15.1/./drivers/usb/serial/option.o’
make[1]: *** [Makefile:1868: /home/tools/toolset/20220622/v5.15.1] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-5.15.0-starfive’
make: *** [Makefile:9: modules] Error 2
            
           

更多回帖

发帖
×
20
完善资料,
赚取积分