Results 1 to 2 of 2

Thread: Kernel Compile Problem with joystick

  1. #1

    Kernel Compile Problem with joystick

    I am still trying to read from a joystick port in C++, SuSE 8.0, kernel 2.4.18. The programme finally did it and I made a good backup save of it.
    Two weeks later I opened the programme again and ...
    it didn't work anymore. It gave a No such device error???

    I searched the web, posted some dutch forums. There came out I had to configure the joystick in the kernel. I figured out how to do that. Then I had to compile the kernel, but when I make the modules it gives an error about a headerfile. in sysconfig.c the headerfile linux/compile.h is included. But it doesn't exist!!!!

    This is all after a fresh installation of my Linux. Does anyone know what's the problem and how I should solve it?



  2. #2
    redhead's Avatar
    Join Date
    Jun 2001
    Copenhagen, Denmark

    Re:Kernel Compile Problem with joystick

    Have you tried copying the .config file from your kernel source tree (usualy located in /usr/src/linux) to a safe place, then entering the kernel source tree, and run:

    > make mrproper

    Then copy the .config file back, and run then normal:

    > make dep clean bzImage modules modules_install

    Any files needed to be included, should be provided with the kernel source, so it's odd, that it's looking for a header file thats not there.. The problem might be located in the include links within the include dir in the kernel source tree.

Similar Threads

  1. kernel compile error
    By Compunuts in forum Linux - General Topics
    Replies: 4
    Last Post: 12-24-2003, 03:49 AM
  2. Kernel Compile
    By vwgtiturbo in forum Linux - General Topics
    Replies: 4
    Last Post: 09-16-2003, 03:36 AM
  3. Down and Dirty Kernel Compile
    By Rastar in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-17-2002, 02:19 PM
  4. Kernel Compile WOES
    By tarballed in forum Linux - General Topics
    Replies: 6
    Last Post: 05-11-2002, 06:32 PM
  5. kernel compile
    By johnqpublic in forum Linux Distros
    Replies: 38
    Last Post: 08-09-2001, 12:27 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts