Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Attempting to run "genkernel all" gives the following output. Does anyone have any idea what the problem may be? * Gentoo Linux Genkernel; Version 3.4.5 * Running with options: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Location
    Mylor, South Australia
    Posts
    2

    Exclamation genkernel all


    Hi
    Attempting to run "genkernel all" gives the following output. Does anyone have any idea what the problem may be?

    * Gentoo Linux Genkernel; Version 3.4.5
    * Running with options: all

    grep: /usr/src/linux/Makefile: No such file or directory
    grep: /usr/src/linux/Makefile: No such file or directory
    grep: /usr/src/linux/Makefile: No such file or directory
    grep: /usr/src/linux/Makefile: No such file or directory

    /gen_determineargs.sh: line 35: [: : integer expression expected
    * Linux Kernel .. for x86...
    * ERROR: Error: No kernel .config specified, or file not found!

    * -- Grepping log... --


    * Linux Kernel .. for x86...
    * Gentoo Linux Genkernel; Version 3.4.5
    * Running with options: all

    * ERROR: Error: No kernel .config specified, or file not found!

    * -- End log... --

    Line 35 reads thus:
    if [ "${PAT}" -gt '4' -a "${VER}" -ge '2' -a -e ${KERNEL_DIR}/.config ]

    How is KERNET_DIR set?

    Cheers all
    Hope you can assist.
    Pete (Goldy)

  2. #2
    Just Joined!
    Join Date
    Feb 2007
    Location
    Mylor, South Australia
    Posts
    2
    Quote Originally Posted by goldy
    Hi
    Attempting to run "genkernel all" gives the following output. Does anyone have any idea what the problem may be?

    * Gentoo Linux Genkernel; Version 3.4.5
    * Running with options: all

    grep: /usr/src/linux/Makefile: No such file or directory
    grep: /usr/src/linux/Makefile: No such file or directory
    grep: /usr/src/linux/Makefile: No such file or directory
    grep: /usr/src/linux/Makefile: No such file or directory

    /gen_determineargs.sh: line 35: [: : integer expression expected
    * Linux Kernel .. for x86...
    * ERROR: Error: No kernel .config specified, or file not found!

    * -- Grepping log... --


    * Linux Kernel .. for x86...
    * Gentoo Linux Genkernel; Version 3.4.5
    * Running with options: all

    * ERROR: Error: No kernel .config specified, or file not found!

    * -- End log... --

    Line 35 reads thus:
    if [ "${PAT}" -gt '4' -a "${VER}" -ge '2' -a -e ${KERNEL_DIR}/.config ]

    How is KERNET_DIR set?

    Cheers all
    Hope you can assist.
    Pete (Goldy)
    Well kids, for what its worth....

    Symlink /usr/src/linux was pointing to linux-2.6.18-gentoo-r6 instead of linux-2.6.19-gentoo-r5


    Sigh
    Cheers
    goldy

Posting Permissions

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