2.5.74 and rivafb did not compile for me

From: John Palmisano (johnpaul_at_jnp.kom)
Date: 07/06/03


Date: 6 Jul 2003 06:31:37 GMT

CPU: Intel Celeron P4 ... Video: [ brand x ] nVidia Vanta

I've had a working linux 2.5 for some time. I also have some framebuffer
programs that would run under 2.5 but would not compile under it.
I had to compile them linux 2.4.

When I tried 2.5.74, the kernel would not compile.
I was using CONFIG_FB, CONFIG_FB_RIVA, CONFIG_VGA_CONSOLE, CONFIG_DUMMY_CONSOLE,
CONFIG_FRAMEBUFFER_CONSOLE, CONFIG_PCI_CONSOLE and drivers/video/riva/fbdev.c
failed to compile.

I found jsimons fbdev.diff.gz and applied it.
My framebuffer apps now compiled, but riva/fbdev.c still failed.
Though I tried, I was unable to repair it myself, with or without jsimons patch.

The following hack finally gave me a working 2.5.74 kernel:

(1) from fbdev.diff.gz I manually applied ONLY the patch for include/linux/fb.h
    EXCEPT for the extern move_buf_aligned(...) and
    extern move_buf_unaligned(...).
    This latter was the part I could not determine after mucho testing.

(2) Optional: I did my own patch to riva/fbdev.c just to change the default
    resolution to 1280x1024 instead of 640x480.



Relevant Pages

  • RE: Can someone please help I have been stuck for days.
    ... I am 100% positive I am now running FC3. ... I followed your instructions by downloading ... the patch and the instructions for installing it. ... go into that file and chmod +x compile and run it. ...
    (Fedora)
  • Re: 2.6.25.X-rtX compile errors on ARM due to cmpxchg() problems.
    ... A while ago I already mentioned that 2.6.25 did not compile on ARM. ... Looking at the generic implementation I believe that this code should ... Revert the patch named arm-cmpxchg.patch in the preempt-rt patchset ...
    (Linux-Kernel)
  • Re: Updates vs. patches
    ... > security updates with something like apt, ... A patch assumes you've compiled and installed a program from source code. ... program), compile and install again. ...
    (comp.os.linux.security)
  • Re: [git pull] PCI pull request for 2.6.27
    ... I'm open to suggestions here about a couple of caveats with this pull: ... That said, when I inevitably fail, just humor me, and send me a patch to ... that it didn't even compile wasn't really my fault. ... think I put it in the right place, somebody needs to double-check it. ...
    (Linux-Kernel)
  • Re: keep in sync with -mm tree?
    ... It also allows comments like "EDAC is known to not compile ... I'll take a look at uploading a nightly rollup as well. ... > apply's then a part of the patch which was entirely rejected, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)