LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2005, 01:42 PM   #1
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, españa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
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
 
Old 11-05-2005, 12:38 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 11-06-2005, 07:05 PM   #3
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, españa
Distribution: Slack, Gentoo, Custom
Posts: 162

Original Poster
Rep: Reputation: 30
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.
 
Old 11-08-2005, 12:16 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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...

Last edited by Simon Bridge; 11-08-2005 at 12:23 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile in kernel or module? maginotjr Slackware 4 06-30-2005 11:54 AM
can't Compile a module under Kernel 2.4.20-8 srsairam Linux - Software 3 11-09-2004 12:45 AM
startx after kernel compile, tcp/ip prob? cadj Linux - Software 2 09-12-2004 12:44 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
RH kernel compile prob enine Red Hat 2 11-19-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration