LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel module compile prob (https://www.linuxquestions.org/questions/linux-general-1/kernel-module-compile-prob-379662/)

darkRoom 11-03-2005 01:42 PM

kernel module compile prob
 
hi
I recently bought the asus k8v-mx motherboard, it has onboard graphics (VIA UniChrome Pro K8M800). I went to their site and (pleasantly surprised) got their non distribution specific driver.

Basically you need to compile the fbcon module, and then compile their viafb module. compiling the first module was no problem, but the make stage of viafb throws up a load of errors, the most important are:

*** Warning: "soft_cursor" [/usr/src/linux-2.6.13.4/Linux-FBDev-kernel-src_20050726/viafb.ko] undefined!
*** Warning: "cfb_fillrect" [/usr/src/linux-2.6.13.4/Linux-FBDev-kernel-src_20050726/viafb.ko] undefined!
*** Warning: "cfb_imageblit" [/usr/src/linux-2.6.13.4/Linux-FBDev-kernel-src_20050726/viafb.ko] undefined!
*** Warning: "cfb_copyarea" [/usr/src/linux-2.6.13.4/Linux-FBDev-kernel-src_20050726/viafb.ko] undefined!

I am using 64bit processor, my 2.6.13.4 kernel is compiled to reflect this.

Any idea what i can do to get this module to compile ?

I seen that cfb_copyarea is specified i think in the vesa driver of the graphics section, i compiled that in but no luck ;)

Simon Bridge 11-05-2005 12:38 AM

Looks like you're missing a library.

softcurser, fillrect, imageblit, and so on ... sounds like it's a graphics library. You'll have to scour the documentation for details. In general, you have to edit the makefile to suite your particular setup. (The configure script is supposed to do this for you, but it can only guess what is right and won't always get it.) There should be comments through the makefile - particularily the toplevel makefile - telling you all about this.

darkRoom 11-06-2005 07:05 PM

hi
thanks for the advice, I recompiled with the S3 module (graphics drivers, S3 support) and the viafb module now seems to build. Video playback is still a bit choppy but i've yet to tweek it.

Simon Bridge 11-08-2005 12:16 AM

Tweaking often required :) Let us know what tweaks gave the best results. You should also add that card into the HCL.

Playing media streams can depend on things besides your graphics driver. You know to test with avi or mpeg files instead of trying to play a DVD?

aside:
Q: por qué estás buscando una lágrima en la arena ?
A: mejore que mirando en el océano...


All times are GMT -5. The time now is 02:55 AM.