Gentoo Archives: gentoo-user

From: Chris Lieb <chris.lieb@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Unable to build sys-kernel/hardened-sources-2.6.25-r9
Date: Mon, 17 Nov 2008 23:02:19
Message-Id: 4921F7EE.6040604@gmail.com
1 I am attempting to switch a VM over to the hardened profile and the
2 hardened kernel. I have rebuilt almost all of the packages on my
3 computer after switching to th hardened profile, save for a few kernel
4 modules. I have emerged hardened-sources-2.6.25-r9 and am trying to
5 build it. I tried copying the .config that I had used with
6 gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
7 /usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
8 followed by a `make && make modules_install`, but received an error
9 almost right out of the gate. The error concerns some part of the frame
10 buffer driver. Here is the output I get from make:
11
12 CHK include/linux/version.h
13 CHK include/linux/utsrelease.h
14 CALL scripts/checksyscalls.sh
15 CHK include/linux/compile.h
16 dnsdomainname: Host name lookup failure
17 CC drivers/video/uvesafb.o
18 drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
19 drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
20 this function)
21 drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
22 reported only once
23 drivers/video/uvesafb.c:593: error: for each function it appears in.)
24 make[2]: *** [drivers/video/uvesafb.o] Error 1
25 make[1]: *** [drivers/video] Error 2
26 make: *** [drivers] Error 2
27 INSTALL drivers/crypto/geode-aes.ko
28 INSTALL drivers/scsi/scsi_wait_scan.ko
29 INSTALL drivers/usb/core/usbcore.ko
30 INSTALL drivers/usb/host/ehci-hcd.ko
31 INSTALL drivers/usb/host/uhci-hcd.ko
32 INSTALL drivers/usb/storage/usb-storage.ko
33 DEPMOD 2.6.25-hardened-r9
34
35 The only way I can get rid of the error is to disable frame buffer
36 entirely (Device drivers -> Graphics support -> Support for frame buffer
37 devices), which is not optimal.
38
39 Does anyone know what is causing this?
40
41 Thanks,
42 Chris
43
44 Attached: `emerge --info` and .config being used

Attachments

File name MIME type
emerge-info.txt text/plain
config.txt text/plain

Replies

Subject Author
[gentoo-user] Re: Unable to build sys-kernel/hardened-sources-2.6.25-r9 Chris Lieb <chris.lieb@×××××.com>
Re: [gentoo-user] Unable to build sys-kernel/hardened-sources-2.6.25-r9 Sergey Ovcharenko <velegrin@×××××××××.ru>