[Openchrome-users] Request for compiling k8m890(device 3230) in OpenSuse 10.2
Benno Schulenberg
bensberg
Sun Feb 11 03:47:32 PST 2007
Antony FM wrote:
> then i followed the instructions from
> http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=K8M890
> after i apply the patch k8m890ce-kernel-drm.patch
Okay.
How did you install the kernel source in /usr/src/linux? What
kernel version are you using (uname -r)? What distro are you on?
> afm:/usr/src/linux # make drivers/char/drm/drm.ko
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CC [M] drivers/char/drm/i810_drv.o
> CC [M] drivers/char/drm/i830_drv.o
> CC [M] drivers/char/drm/i915_drv.o
> CC [M] drivers/char/drm/mga_drv.o
> CC [M] drivers/char/drm/r128_drv.o
> CC [M] drivers/char/drm/radeon_drv.o
> CC [M] drivers/char/drm/savage_drv.o
> CC [M] drivers/char/drm/sis_drv.o
> CC [M] drivers/char/drm/tdfx_drv.o
> CC [M] drivers/char/drm/via_drv.o
> LD [M] drivers/char/drm/drm.o
> /bin/sh: .tmp_versions/drm.mod: No such file or directory
The instructions seem to assume that the kernel sources are already
configured. Run a 'make menuconfig' in /usr/src/linux and make the
appropriate selections: Device Drivers > Character Devices > M for
Direct Rendering Manager, and M for VIA unichrome video cards.
Then run the commands again. If it still doesn't work, run a 'make'
first in /usr/src/linux.
Here it works fine:
# make drivers/char/drm/drm.ko
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC [M] drivers/char/drm/drm_auth.o
CC [M] drivers/char/drm/drm_bufs.o
CC [M] drivers/char/drm/drm_context.o
CC [M] drivers/char/drm/drm_dma.o
CC [M] drivers/char/drm/drm_drawable.o
CC [M] drivers/char/drm/drm_drv.o
CC [M] drivers/char/drm/drm_fops.o
CC [M] drivers/char/drm/drm_ioctl.o
CC [M] drivers/char/drm/drm_irq.o
CC [M] drivers/char/drm/drm_lock.o
CC [M] drivers/char/drm/drm_memory.o
CC [M] drivers/char/drm/drm_proc.o
CC [M] drivers/char/drm/drm_stub.o
drivers/char/drm/drm_stub.c: In function `drm_get_dev':
drivers/char/drm/drm_stub.c:212: warning: ignoring return value of
`pci_enable_device', declared with attribute warn_unused_result
CC [M] drivers/char/drm/drm_vm.o
CC [M] drivers/char/drm/drm_agpsupport.o
CC [M] drivers/char/drm/drm_scatter.o
CC [M] drivers/char/drm/ati_pcigart.o
CC [M] drivers/char/drm/drm_pci.o
CC [M] drivers/char/drm/drm_sysfs.o
CC [M] drivers/char/drm/drm_hashtab.o
CC [M] drivers/char/drm/drm_sman.o
CC [M] drivers/char/drm/drm_mm.o
CC [M] drivers/char/drm/via_irq.o
CC [M] drivers/char/drm/via_drv.o
CC [M] drivers/char/drm/via_map.o
CC [M] drivers/char/drm/via_mm.o
CC [M] drivers/char/drm/via_dma.o
CC [M] drivers/char/drm/via_verifier.o
CC [M] drivers/char/drm/via_video.o
CC [M] drivers/char/drm/via_dmablit.o
LD [M] drivers/char/drm/drm.o
MODPOST 46 modules
CC drivers/char/drm/drm.mod.o
LD [M] drivers/char/drm/drm.ko
# make drivers/char/drm/via.ko
CHK include/linux/version.h
CHK include/linux/utsrelease.h
LD [M] drivers/char/drm/via.o
MODPOST 47 modules
CC drivers/char/drm/via.mod.o
LD [M] drivers/char/drm/via.ko
Benno
More information about the Openchrome-users
mailing list