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?

    Thanks,

    Chantal

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    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. namad crash, but not sure :-)
    By GNEEOT in forum Ubuntu / Debian
    Replies: 4
    Last Post: 01-27-2007, 06:31 PM
  2. getgrnam failed for$Enabling swap space
    By infinite_root in forum Linux - General Topics
    Replies: 8
    Last Post: 11-15-2003, 08:07 AM
  3. Redhat 9 reboots by it self
    By in forum Linux - General Topics
    Replies: 22
    Last Post: 10-14-2003, 02:54 PM
  4. Sony Microvault, and Red Hat 9
    By vwgtiturbo in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 08-29-2003, 11:13 PM

Bookmarks

Posting Permissions

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