-
can't open file "init/Kconfig" ?
Hi all,
I installed Knoppix 4.02 from CD to HD in Knoppix mode. Now I want to check some config entries and maybe recompile the kernel.
Here's what I did and what happens:
--------------------------------
# cd /usr/src/linux
# make menuconfig
--------------------------------
It starts doing some stuff and then it shows:
--------------------------------
scripts/kconfig/mconf arch/i386/Kconfig
arch/i386/Kconfig:36: can't open file "init/Kconfig"
--------------------------------
???!?
Somehow I suspect this is a stupid question because I could not find a hint about that in the Forum. On the other hand, I have compiled a lot of kernels (although not recently, last time maybe 2 months ago), but this is the first time I encountered this problem.
What can I do?
Any help is greatly appreciated!
Have Fun
Dirk
-
I had the same problem. I did an "apt-get install linux-source-2.6.12"
I then set my /usr/src/linux symbolic link to "/usr/src/linux-source-2.6.12".
Then I hit another problem.
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
"cd" to /usr/src/linux/include". Do a "ln -s /usr/src/linux-source-2.6.12/include/asm-i396/ asm".
then in /usr/src/linux, a "make menuconfig" works.
Similar Threads
-
By onnrmf in forum General Support
Replies: 4
Last Post: 03-18-2009, 02:38 PM
-
Replies: 2
Last Post: 01-18-2007, 05:04 PM
-
By bluedevlx in forum General Support
Replies: 3
Last Post: 11-02-2004, 01:22 AM
-
By joestump in forum Customising & Remastering
Replies: 0
Last Post: 11-19-2003, 12:11 AM
-
By bongski55 in forum General Support
Replies: 2
Last Post: 05-04-2003, 03:46 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
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99

Lenovo ThinkPad T14 Gen 2a 8-Core Ryzen Pro 7 5850U 1.90GHz 512GB SSD 16GB RAM
$300.00

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00

Lenovo ThinkPad T14 Gen 3 8-Core AMD Ryzen 7 Pro 6850U 2.7GHz 512GB SSD 16GB RAM
$450.00

AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor
$59.99

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99

Microsoft Surface Go 2 Laptop Core i5 1135G7 2.4GHz 8GB 128GB SSD
$179.99

AMD Ryzen 7 7700X 8-Core, 16-Thread Unlocked Desktop Processor
$250.00

Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS
$259.98