View previous topic :: View next topic |
Author |
Message |
karomann n00b
Joined: 20 Dec 2013 Posts: 8
|
Posted: Sat Feb 15, 2014 5:54 pm Post subject: genkernel fails for gentoo-sources 3.13.3 |
|
|
Hi,
I have been trying to compile gentoo-sources-3.13.3 with genkernel, but it fails with message (in /var/log/genkernel.log):
Code: | CC drivers/video/console/bitblit.o
drivers/video/console/fbcon.c: In function ‘fbcon_clear_margins’:
drivers/video/console/fbcon.c:1319:20: warning: unused variable ‘ops’ [-Wunused-variable]
LD drivers/video/omap2/displays-new/built-in.o
LD drivers/video/omap2/built-in.o
CC drivers/watchdog/watchdog_core.o
CC drivers/watchdog/watchdog_dev.o
LD drivers/watchdog/watchdog.o
LD drivers/watchdog/built-in.o
CC drivers/video/console/softcursor.o
CC drivers/video/cfbfillrect.o
LD drivers/video/console/built-in.o
CC drivers/video/cfbcopyarea.o
CC drivers/video/cfbimgblt.o
CC drivers/video/output.o
LD drivers/video/fb.o
LD drivers/video/built-in.o
LD drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.4.45.1^[[0m
* Running with options: --kernel-config=/usr/src/linux/.config all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
* ERROR: Failed to compile the "bzImage" target...
*
* -- Grepping log... --
*
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
|
How can I check what really went wrong (and hopefully correct it)?
in /var/log/messages I see only some openswan- and thermald-related stuff and dmesg apart from some wifi stuff gives me:
Code: | [48570.153360] EXT4-fs (dm-0): re-mounted. Opts: commit=0
[52192.951176] hrtimer: interrupt took 2005468 ns
|
|
|
Back to top |
|
|
lefsha Veteran
Joined: 30 Aug 2004 Posts: 1234 Location: Burgas, Bulgaria
|
Posted: Mon Feb 17, 2014 12:54 pm Post subject: |
|
|
This will not answer your question, just because I do not know why it fails.
May be incompatible options or compiler flags.
But you can try following:
Code: | #!/bin/sh
env-update && source /etc/profile
emerge -auvNDt --with-bdeps=y --keep-going world
revdep-rebuild
rm /var/cache/revdep-rebuild/*.rr |
before compiling new kernel.
I am personally do not use genkernel, because I don't understand it's purpose.
In my case the script
Code: |
#!/bin/bash
#make localmodconfig
#make distclean
#make clean
cd linux
make menuconfig
make
make install
make INSTALL_MOD_STRIP=1 modules_install
cd ..
|
located in /usr/src does all work.
you just need copy you .config from previous version
and run that script. otherwise uncomment 3 lines in the beginning.
Well, I am also not using initrd, because of no need. But you can just add one more line to update initrd. _________________ Lefsha |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|