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