Kernel compile udev/klibc problem after updating gentoo

Under construction

localhost / # genkernel all   
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* Linux Kernel 2.6.12-gentoo-r10 for x86...
* udev: >> Compiling...
COMMAND: make j1  EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/28216.29059.15041.1768/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* ERROR: Failed to compile the "EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/28216.29059.15041.1768/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" target...
localhost src # equery list udev [ Searching for package 'udev' in all categories among: ] * installed packages [I--] [ ] sys-fs/udev-087 (0) localhost / # nedit /etc/genkernel.conf & UDEV_VER="077" => 0.87
localhost / # genkernel all
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* Linux Kernel 2.6.12-gentoo-r10 for x86...
* ERROR: Could not find udev tarball: /usr/share/genkernel/pkg/udev-087.tar.bz2
localhost / # cp /usr/portage/distfiles/udev-087.tar.bz2 /usr/share/genkernel/pkg/
localhost / # genkernel all   
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* Linux Kernel 2.6.12-gentoo-r10 for x86...
* udev: >> Compiling...
COMMAND: make j1  EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/27071.28896.17335.18336/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* ERROR: Failed to compile the "EXTRAS="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware" USE_KLIBC=true KLCC=/var/tmp/genkernel/27071.28896.17335.18336/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" target...
localhost steph # cd /usr/src/ localhost src # ln -sfn linux-2.6.15-gentoo-r1 linux
localhost / # genkernel all   
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* Linux Kernel 2.6.15-gentoo-r1 for x86...
* klibc: >> Compiling... * ERROR: Could not find udev tarball: /usr/share/genkernel/pkg/udev-087.tar.bz2 localhost / # nedit /etc/genkernel.conf & UDEV_VER="087" => 0.77 rm /usr/share/genkernel/pkg/udev-087.tar.bz2
localhost src # emerge -s klibc
Searching...   
[ Results for search key : klibc ]
[ Applications found : 1 ]
 
*  dev-libs/klibc [ Masked ]
      Latest version available: 1.2.1-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 1,323 kB
      Homepage:    http://www.zytor.com/mailman/listinfo/klibc
      Description: A minimal libc subset for use with initramfs.
      License:     || ( GPL-2 LGPL-2 )
localhost src # emerge -av klibc

These are the packages that I would merge, in order:

Calculating dependencies   
!!! All ebuilds that could satisfy "klibc" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/klibc-1.2.1-r1 (masked by: ~x86 keyword)
- dev-libs/klibc-1.1.16 (masked by: ~x86 keyword)
- dev-libs/klibc-1.1.1 (masked by: ~x86 keyword)
- dev-libs/klibc-1.1 (masked by: ~x86 keyword)
- dev-libs/klibc-1.2.1 (masked by: ~x86 keyword)
- dev-libs/klibc-1.0.14-r1 (masked by: ~x86 keyword)
- dev-libs/klibc-1.1.16-r1 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
nedit /etc/portage/package.keywords dev-libs/klibc ~x86 emerge -pvt gentoo-sources genkernel klibc udev
localhost src # emerge -pvt gentoo-sources genkernel klibc udev

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild   R   ] sys-fs/udev-087  (-selinux) 0 kB 
[ebuild  N    ] dev-libs/klibc-1.2.1-r1  (-n32) 0 kB 
[ebuild   R   ] sys-kernel/genkernel-3.3.11d  -ibm 0 kB 
[ebuild   R   ] sys-kernel/gentoo-sources-2.6.15-r1  -build -doc -symlink (-ultra1) 0 kB 

Total size of downloads: 0 kB
localhost src # emerge -av klibc     

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/klibc-1.2.1-r1  (-n32) 0 kB 

Total size of downloads: 0 kB
localhost src # genkernel all
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* Linux Kernel 2.6.15-gentoo-r1 for x86...
genkernel all. But compiling new kernel reset config, because was looking for /etc/kernels/kernel-config-x86-2.6.15-gentoo-r1 cp /etc/kernels/kernel-config-x86-2.6.12-gentoo-r10 /etc/kernels/kernel-config-x86-2.6.15-gentoo-r1
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* Linux Kernel 2.6.15-gentoo-r1 for x86...
* kernel: >> Running mrproper...
* config: Using config from /etc/kernels/kernel-config-x86-2.6.15-gentoo-r1
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
* kernel: >> Cleaning...
*         >> Compiling 2.6.15-gentoo-r1 bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/i386/Kconfig
.config:135:warning: trying to assign nonexistent symbol HAVE_DEC_LOCK
.config:150:warning: trying to assign nonexistent symbol ACPI_BOOT
.config:151:warning: trying to assign nonexistent symbol ACPI_INTERPRETER
.config:165:warning: trying to assign nonexistent symbol ACPI_CUSTOM_DSDT_INITRD
.config:168:warning: trying to assign nonexistent symbol ACPI_BUS
.config:171:warning: trying to assign nonexistent symbol ACPI_PCI
.config:237:warning: trying to assign nonexistent symbol PCI_NAMES
.config:581:warning: trying to assign nonexistent symbol SCSI_QLOGIC_1280_1040
.config:642:warning: symbol value 'm' invalid for FUSION
.config:711:warning: trying to assign nonexistent symbol IP_TCPDIAG
.config:712:warning: trying to assign nonexistent symbol IP_TCPDIAG_IPV6
.config:778:warning: trying to assign nonexistent symbol BT_HCIUART_BCSP_TXCRC
.config:921:warning: trying to assign nonexistent symbol 2BUFF_MODE
.config:1204:warning: trying to assign nonexistent symbol GAMEPORT_VORTEX
.config:1206:warning: trying to assign nonexistent symbol GAMEPORT_CS461X
.config:1244:warning: trying to assign nonexistent symbol SERIAL_8250_MULTIPORT
.config:1364:warning: trying to assign nonexistent symbol I2C_SENSOR
.config:1497:warning: trying to assign nonexistent symbol FB_SOFT_CURSOR
.config:1679:warning: trying to assign nonexistent symbol SND_VXP440
.config:1802:warning: trying to assign nonexistent symbol USB_GENESYS
.config:1803:warning: trying to assign nonexistent symbol USB_NET1080
.config:1804:warning: trying to assign nonexistent symbol USB_PL2301
.config:1805:warning: trying to assign nonexistent symbol USB_KC2190
.config:1812:warning: trying to assign nonexistent symbol USB_ZAURUS
.config:1813:warning: trying to assign nonexistent symbol USB_CDCETHER
.config:1818:warning: trying to assign nonexistent symbol USB_AX8817X
.config:1972:warning: trying to assign nonexistent symbol DEVFS_FS
.config:1973:warning: trying to assign nonexistent symbol DEVPTS_FS_XATTR
.config:1975:warning: trying to assign nonexistent symbol TMPFS_XATTR
.config:1976:warning: trying to assign nonexistent symbol TMPFS_SECURITY
.config:2186:warning: trying to assign nonexistent symbol PC
--
  SCSI generic support (CHR_DEV_SG) [M/n/y/?] m
  SCSI media changer support (CHR_DEV_SCH) [N/m/y/?] (NEW)   *
  * Some SCSI devices (e.g. CD jukebox) support multiple LUNs
  *
  Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y
  Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
  CC      mm/filemap.o
  CC      kernel/pid.o
  CC      kernel/rcupdate.o
  CC      kernel/intermodule.o
  CC      mm/mempool.o
kernel/intermodule.c:178: warning: `inter_module_register' is deprecated (declared at kernel/intermodule.c:38)
kernel/intermodule.c:179: warning: `inter_module_unregister' is deprecated (declared at kernel/intermodule.c:78)
kernel/intermodule.c:181: warning: `inter_module_put' is deprecated (declared at kernel/intermodule.c:159)
--
  CC      kernel/power/process.o
  CC      kernel/power/console.o
  CC      mm/mincore.o
  CC      kernel/power/pm.o
  CC      mm/mlock.o
kernel/power/pm.c:259: warning: `pm_register' is deprecated (declared at kernel/power/pm.c:63)
kernel/power/pm.c:260: warning: `pm_unregister' is deprecated (declared at kernel/power/pm.c:86)
kernel/power/pm.c:261: warning: `pm_unregister_all' is deprecated (declared at kernel/power/pm.c:115)
kernel/power/pm.c:262: warning: `pm_send_all' is deprecated (declared at kernel/power/pm.c:234)
--
  CC      drivers/acpi/blacklist.o
  CC      drivers/acpi/osl.o
  CC      fs/eventpoll.o
drivers/acpi/osl.c:57:38: /usr/src/linux/dsdt_table.h: No such file or directory
drivers/acpi/osl.c: In function `acpi_os_table_override':
drivers/acpi/osl.c:256: error: `AmlCode' undeclared (first use in this function)
drivers/acpi/osl.c:256: error: (Each undeclared identifier is reported only once
drivers/acpi/osl.c:256: error: for each function it appears in.)
make[2]: *** [drivers/acpi/osl.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2
--
  LD      fs/xfs/built-in.o
  LD      fs/built-in.o
* Gentoo Linux Genkernel; Version 3.3.11d
* Running with options: all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
* 
* Please do *not* report compilation failures as genkernel bugs!
* 
Note the line: drivers/acpi/osl.c:57:38: /usr/src/linux/dsdt_table.h: No such file or directory cp /usr/src/linux-2.6.12-gentoo-r10/dsdt_table.h /usr/src/linux-2.6.15-gentoo-r1/ (could have course done cp /usr/src/linux-2.6.12-gentoo-r10/dsdt_table.h /usr/src/linux/) genkernel all * Kernel compiled successfully! NOTE: eth0 turned in to eth1. Had to edit /etc/conf.d/wireless to reference eth1 instead of eth0 to allow it to pick up my wireless network rather than simply the first available one.

Last modified: 07/05/2006 (most likely earlier as a site migration in 2006 reset some dates) Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top