Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I've been running SuSE 10.1 for a few weeks. Everything OK, except that LAN speed is slow, when using SSH or SCP. So, I decided to download the latest ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    9

    Can't compile 2.6.13-15: can't find ioctl.h


    Hello,

    I've been running SuSE 10.1 for a few weeks. Everything OK, except that LAN speed is slow, when using SSH or SCP. So, I decided to download the latest kernel 2.6.13-15 from kernel.com.

    After installing the sources, I did the following:

    • backed up /boot/vmlinuz
    • updated the /usr/src/linux symbolic link to point to /usr/src//src/linux-2.6.13-15/
    • updated the /usr/include/linux, /usr/include/asm and /usr/include/scsi symbolic links to point to the respective directories in /usr/src/linux/include
    • from /usr/src/linux, execute
      make mrproper
      make xconfig


    I get the following error message:
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/basic/docproc
    CHECK qt
    HOSTCC scripts/kconfig/conf.o
    sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
    HOSTCC scripts/kconfig/kconfig_load.o
    HOSTCC scripts/kconfig/kxgettext.o
    HOSTCC scripts/kconfig/mconf.o
    In file included from /usr/include/asm/ioctls.h:4,
    from /usr/include/bits/ioctls.h:24,
    from /usr/include/sys/ioctl.h:27,
    from scripts/kconfig/mconf.c:11:
    /usr/include/asm/ioctl.h:1:31: error: asm-generic/ioctl.h: No such file or directory
    make[1]: *** [scripts/kconfig/mconf.o] Error 1
    make: *** [xconfig] Error 2

    Can anyone explain? I checked the web for this error, but it only appears to have been reported for extremely specific cases.

    Many thanks

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by ppmoore
    So, I decided to download the latest kernel 2.6.13-15 from kernel.com.
    Hum... kernel 2.6.13-15 ? From kernel.com ?

    I suggest you use the vanilla sources (the original) instead from kernel.org. Latest to this day is 2.6.18.1.

    Quote Originally Posted by ppmoore
    /usr/include/asm/ioctl.h:1:31: error: asm-generic/ioctl.h: No such file or directory
    The problem here seems to be that your source is missing this specific file.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

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