Results 1 to 2 of 2

Thread: can't open file "init/Kconfig" ?

  1. #1
    Member registered user
    Join Date
    Sep 2005
    Posts
    36

    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

  2. #2
    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

  1. Boot hangs just after "INIT: version 2.78-knoppix"
    By onnrmf in forum General Support
    Replies: 4
    Last Post: 03-18-2009, 02:38 PM
  2. Replies: 2
    Last Post: 01-18-2007, 05:04 PM
  3. "Cannot create regular file" ":Invalid Argume
    By bluedevlx in forum General Support
    Replies: 3
    Last Post: 11-02-2004, 01:22 AM
  4. Knoppix init says "segmenation voilation"
    By joestump in forum Customising & Remastering
    Replies: 0
    Last Post: 11-19-2003, 12:11 AM
  5. How do I "open" an.rpm file?
    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
  •  


IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM LENOVO SYSTEM X 3550 M5 2x XEON E5-2640 V4 CPUs NO RAM NO DRIVES 1U RACK picture

IBM LENOVO SYSTEM X 3550 M5 2x XEON E5-2640 V4 CPUs NO RAM NO DRIVES 1U RACK

$199.99



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$65.02



ibm server z series picture

ibm server z series

$16000.00



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



IBM System x3250 M1 1U Server Intel Pentium D @3.4 2GB RAM x2 250GB DRIVES NO OS picture

IBM System x3250 M1 1U Server Intel Pentium D @3.4 2GB RAM x2 250GB DRIVES NO OS

$27.99