View previous topic :: View next topic |
Author |
Message |
cl0q n00b

Joined: 04 Aug 2022 Posts: 43
|
Posted: Wed Sep 28, 2022 10:39 pm Post subject: Issues compiling kernel |
|
|
Trying to install gentoo on a old and low spec laptop, got to the point of compiling the kernel, up until then everything is according to wiki. Ran make && make modules_install and it errored out. I tried uploading the log with wgetpaste but it seems to be too big since its been running for 10mins now. Error looks something like this:
Code: | drm_fb_helper.c:(.text+0xABCD): undefined reference to `sys_fillrect':
ld: drivers/gpu/drm/drn_fb_helper.o: in function `drm_fbdev_fb_imageblit'
<again but with many other functions and references, all in drivers/gpu/drm i suspect (i cant read whole output)>
make: *** [Makefile:1214: vmlinux] Error 1
|
I have tried searching online, to no avail really, the only gentoo thread didnt help me.
Here is my .config: https://dpaste.com/bjfgdvq5v
If any logs are necesary i can deliver |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed Sep 28, 2022 11:10 pm Post subject: |
|
|
How did you edit the kernel config? Did you use 'make menuconfig'? Or did you edit .config with a text editor?
If you did the latter: don't do it. Use 'make menuconfig'. If you enable modules in 'make menuconfig', make sometimes enables additional options or modules, which are required to compile a driver or module. If you edit .config with a text editor, it's likely that you miss those options. And that may lead to errors like the one you reported. |
|
Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 3026 Location: Edge of marsh USA
|
Posted: Thu Sep 29, 2022 4:18 am Post subject: |
|
|
Suggestion. Install a stable version of sys-kernel/gentoo-kernel-bin in order to have a working & booting system. I further suggest version 5.10.144. Once you have a booting system, you can work on the gentoo-sources without urgency. You can also learn things from the working/running kernel to apply in configuring the source based kernel.
The output of emerge --info might also be helpful. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland |
|
Back to top |
|
 |
cl0q n00b

Joined: 04 Aug 2022 Posts: 43
|
Posted: Thu Sep 29, 2022 5:22 am Post subject: |
|
|
I edited the .config with make menuconfig.
How can i install a specific version of genkernel?
When i get home i will definitely try this. |
|
Back to top |
|
 |
|