[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building kernel with framebuffer support (was: Re: GCC for kernel compilation)



I know I'm getting off topic but I don't know a better place to ask and
this subject might be interesting of other developers as well.

> On Fri, 8 Aug 2003 04:14, Otto Wyss wrote:
> > I just upgraded to the current Sarge and also got GCC 3.3. It seems this
> > version can't compile all the drivers in kernel 2.4.21. Which version
> 
> Which drivers and what errors do you get?  If you tell us the errors then we
> can get them fixed.

I get lots of warning (i.e. variable fb isn't used in aty182 driver). I
don't get these warnings when I use CC=gcc-2.95. It's a little bit
difficult to trace warnings and errors during a kernel compilation. I'd
be good if warnings and error where duplicated into a log file.

I'm trying to build a kernel with framebuffer support for the Matrox
G400 card but I always get "open /dev/fb0: No such device" when I use
fbset. A week ago I added a new 123GB harddisk to my system, installed a
new Debian 3.0r1 and upgraded to the current Sarge. But since then I
can't use framebuffer anymore while with the old system I used it for
about 2 years. For building I use the same settings (make menuconfig) as
before, so it should work unless there are any hidden settings in
2.4.21.

The command:

ls -la /dev/fb0
crw--w---- 1 root video 29,0 Mar 14 2002 /dev/fb0

seems to be correct as much as I know. I've tried to config each setting
new, I also installed the kernel-image-2.4.21-3-k6 but nothing helps.
What can I do to fix this situation?

O. Wyss

-- 
See "http://wxguide.sourceforge.net/"; for ideas how to design your app.



Reply to: