wlly-lzh
deepin
2025-12-26 15:43 沙发
Reply Like 0 View the author
沙发
用龙架构电脑为主力电脑了,不能追新了
我安装了你的内核,为什么我的lightdm崩溃了,我应该怎么办
网上教程说让我重新安装lightdm,我应该怎么安装?
我安装了你的内核,为什么我的lightdm崩溃了,我应该怎么办
不至于吧,我的就是lightdm,没崩溃呀。
你现在能进tty是吧,直接装个sddm试试看呢:sudo apt install sddm
请问大佬我在 deepin 25 下安装内核编译失败如何解决,查看日志应该是 gcc 版本的问题:
➜ devops sudo tail -n 150 /var/lib/dkms/deepin-anything/0.0/build/make.log
DKMS (dkms-3.2.0) make.log for deepin-anything/0.0 for kernel 6.18.2-zen-dppve+ (x86_64)
2026年 01月 15日 星期四 19:05:29 CST
Building module(s)
# command: make -j20 KERNELRELEASE=6.18.2-zen-dppve+ -C /lib/modules/6.18.2-zen-dppve+/build KBUILD_EXTMOD=/var/lib/dkms/deepin-anything/0.0/build modules
make: 进入目录“/usr/src/linux-headers-6.18.2-zen-dppve+”
make[1]: 进入目录“/var/lib/dkms/deepin-anything/0.0/build”
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 14.2.0-19) 14.2.0
You are using: gcc (Deepin 12.3.0-17deepin15) 12.3.0
CC [M] arg_extractor.o
CC [M] event_merge.o
CC [M] event.o
CC [M] module.o
CC [M] vfs_kretprobes.o
CC [M] vfs_fsnotify.o
CC [M] vfs_genl.o
CC [M] vfs_sysfs.o
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
CC [M] vfs_trace_process.o
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:arg_extractor.o] 错误 1
make[3]: *** 正在等待未完成的任务....
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:event_merge.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:event.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_fsnotify.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_kretprobes.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:module.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_genl.o] 错误 1
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_sysfs.o] 错误 1
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/scripts/Makefile.build:287:vfs_trace_process.o] 错误 1
make[2]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/Makefile:2008:.] 错误 2
make[1]: *** [/usr/src/linux-headers-6.18.2-zen-dppve+/Makefile:248:__sub-make] 错误 2
make[1]: 离开目录“/var/lib/dkms/deepin-anything/0.0/build”
make: *** [Makefile:248:__sub-make] 错误 2
make: 离开目录“/usr/src/linux-headers-6.18.2-zen-dppve+”
# exit code: 2
# elapsed time: 00:00:01
---------------------------------------------------------------
Popular Events
More
更新内容
风险提示
已知问题
linux-firmware:https://community-packages.deepin.com/deepin/beige/pool/main/l/linux-firmware/。下载地址