Chris Lieb пишет:
I am attempting to switch a VM over to the hardened profile and the
hardened kernel. I have rebuilt almost all of the packages on my
computer after switching to th hardened profile, save for a few kernel
modules. I have emerged hardened-sources-2.6.25-r9 and am trying to
build it. I tried copying the .config that I had used with
gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
/usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
followed by a `make && make modules_install`, but received an error
almost right out of the gate. The error concerns some part of the frame
buffer driver. Here is the output I get from make:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
CC drivers/video/uvesafb.o
drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
this function)
drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
reported only once
drivers/video/uvesafb.c:593: error: for each function it appears in.)
make[2]: *** [drivers/video/uvesafb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
INSTALL drivers/crypto/geode-aes.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/usb/core/usbcore.ko
INSTALL drivers/usb/host/ehci-hcd.ko
INSTALL drivers/usb/host/uhci-hcd.ko
INSTALL drivers/usb/storage/usb-storage.ko
DEPMOD 2.6.25-hardened-r9
The only way I can get rid of the error is to disable frame buffer
entirely (Device drivers -> Graphics support -> Support for frame buffer
devices), which is not optimal.
Does anyone know what is causing this?
Thanks,
Chris
Attached: `emerge --info` and .config being used
Did you emerge sys-apps/v86d before compiling your kernel?
I'm not sure if this is the case but when i build a tuxonice-2.6.26
kernel the uvesafb driver won't compile without it.