LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-21-2006, 07:10 AM   #1
ppmoore
LQ Newbie
 
Registered: Sep 2006
Posts: 25

Rep: Reputation: 0
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
 
Old 10-22-2006, 12:44 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Have you tried "make menuconfig"? And are you running these commands as root or user?
 
Old 10-23-2006, 03:52 AM   #3
ppmoore
LQ Newbie
 
Registered: Sep 2006
Posts: 25

Original Poster
Rep: Reputation: 0
Thanks for the reply. In the end, I simply copied the file from elsewhere in the source code path into the directory where the make procedure expected to find it.

Paul
 
Old 10-23-2006, 09:47 AM   #4
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Either way I'm glad you got it worked out. Good luck with the rest of your kernel config and install!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compile , ... can not find pcmcia_core ERBRMN Linux - General 3 04-05-2006 06:26 AM
Binutils won't compile because it can't find install.sh CPUFreak91 Linux From Scratch 2 09-01-2005 08:32 AM
compile can't find kdelibs, but I can??? timsch75 Linux - Software 12 05-26-2005 04:10 AM
qt compile cannot find lstdc++ poboy975 Linux - Software 3 01-08-2005 01:03 PM
Libpcap Compile / Configure: ANSI Ioctl not found Ackmeco Programming 0 06-08-2004 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration