|
|
自己编译内核。
下载了kernel-source-2.6.10和bootsplash-3.1.4-2.6.10.diff,参考了http://hylinux.3322.org/showarti ... 生错误如下:
......
......
CC [M] drivers/char/agp/via-agp.o
CC [M] drivers/char/drm/gamma_drv.o
In file included from drivers/char/drm/gamma_drv.c:40:
drivers/char/drm/drm_agpsupport.h: In function `gamma_agp_uninit':
drivers/char/drm/drm_agpsupport.h:431: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:582)
In file included from drivers/char/drm/gamma_drv.c:42:
drivers/char/drm/gamma_context.h: In function `gamma_context_switch_complete':
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
In file included from drivers/char/drm/gamma_drv.c:44:
drivers/char/drm/gamma_old_dma.h: In function `gamma_clear_next_buffer':
drivers/char/drm/gamma_old_dma.h:40: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:42: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
In file included from drivers/char/drm/gamma_drv.c:46:
drivers/char/drm/drm_drv.h: In function `gamma_release':
drivers/char/drm/drm_drv.h:807: warning: implicit declaration of function `gamma_ctxbitmap_free'
In file included from drivers/char/drm/gamma_drv.c:58:
drivers/char/drm/drm_stub.h: In function `gamma_stub_putminor':
drivers/char/drm/drm_stub.h:148: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:582)
drivers/char/drm/drm_stub.h:150: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:578)
drivers/char/drm/drm_stub.h: In function `gamma_stub_register':
drivers/char/drm/drm_stub.h:206: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:577)
drivers/char/drm/drm_stub.h:216: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:578)
make[4]: *** [drivers/char/drm/gamma_drv.o] 错误 1
make[3]: *** [drivers/char/drm] 错误 2
make[2]: *** [drivers/char] 错误 2
make[1]: *** [drivers] 错误 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.10'
make: *** [stamp-build] 错误 2
──────────────────────────
另在不打bootsplash补丁时编译同样遇到这个地方的问题。我在google中查了,好象没有这个专题的内容。请有经验的大侠们指点。谢谢!
目前内核为: uname -a
Linux debian 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux
主机为:intel PIII 1.13 内存:256M(显卡共享8M)。其他参数:
# lspci
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
0000:00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)0000:00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
0000:00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
0000:00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:08.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
0000:00:08.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)
# lsmod
Module Size Used by
sis 58592 2
ds 18756 4
ipv6 264740 19
lp 11176 0
af_packet 22568 2
floppy 61200 0
parport_pc 36900 1
parport 41800 2 lp,parport_pc
irtty_sir 9152 0
sir_dev 19244 1 irtty_sir
irda 197120 2 irtty_sir,sir_dev
crc_ccitt 2144 1 irda
pcspkr 3592 0
rtc 12760 0
shpchp 101900 0
pciehp 99020 0
pci_hotplug 34640 2 shpchp,pciehp
snd_trident 47560 0
snd_ac97_codec 69988 1 snd_trident
snd_pcm 98728 1 snd_trident
snd_timer 25732 1 snd_pcm
snd_page_alloc 11752 2 snd_trident,snd_pcm
snd_util_mem 4576 1 snd_trident
snd_mpu401_uart 7968 1 snd_trident
snd_rawmidi 25124 1 snd_mpu401_uart
snd_seq_device 8200 2 snd_trident,snd_rawmidi
snd 57156 8 snd_trident,snd_ac97_codec,snd_pcm,snd_timer,snd_util_mem,snd_mpu401_uart,snd_rawmidi,snd_seq_device
sis_agp 8196 1
usbhid 32224 0
at76c503_rfmd 42468 0
at76c503 96032 1 at76c503_rfmd
at76_usbdfu 5636 1 at76c503
ohci_hcd 21764 0
usbcore 119012 7 usbhid,at76c503_rfmd,at76c503,at76_usbdfu,ohci_hcd
trident 40656 1
soundcore 10336 3 snd,trident
gameport 4704 2 snd_trident,trident
ac97_codec 18956 1 trident
yenta_socket 21728 0
pcmcia_core 70868 2 ds,yenta_socket
agpgart 34664 2 sis_agp
nls_utf8 2048 1
nls_cp437 5696 1
vfat 14656 1
fat 46784 1 vfat
tsdev 7392 0
mousedev 10476 1
dm_mod 59804 0
joydev 9984 0
evdev 9600 1
capability 4520 0
commoncap 7232 1 capability
psmouse 20360 0
ide_cd 42656 0
cdrom 40732 1 ide_cd
ext3 127240 1
jbd 62616 1 ext3
mbcache 9348 1 ext3
ide_generic 1408 0
sis5513 17000 1
ide_disk 19296 4
ide_core 139940 4 ide_cd,ide_generic,sis5513,ide_disk
unix 28756 315
fbcon 32100 71
font 8320 1 fbcon
vesafb 6656 1
cfbcopyarea 3872 1 vesafb
cfbimgblt 3040 1 vesafb
cfbfillrect 3776 1 vesafb |
|