Find the answer to your Linux question:
Results 1 to 7 of 7
hi all, i am new to linux OS. basically i am used to work on windows. recently i installed linux making my system triple booting having windows 2000/ windows-xp pro ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2

    Makefile:65**Linux kernel source not found


    hi all,
    i am new to linux OS. basically i am used to work on windows. recently i installed linux making my system triple booting having windows 2000/ windows-xp pro and now linux mandrake 10 OS's.

    problem is, when i first installed mandrake 10 linux it works nice, even e100 driver installed perfectly and i could be able to connect and work on internet. but later, i could not remember the cause, i had to re-install mandrake but this time i have a problem in configuring networking driver, when i try to install e100-3.5.14.tar.gz [Intel pro/100] driver after untarring it [using command tar xfz e100.3.5.14.tar.gz, it generate following error on 'make install' command-

    '$Makefile:65**Linux kernel source not found. Stop'

    can anybody help me?

    thanks in advance

    vinod

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    251
    did you go through the README file.May be you require the kernel source ...

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2

    Makefile:65**Linux kernel source not found

    hi
    thanks for your response.
    it is my bad habit that i delays the things. i very much go through the README file and act accordingly. i realy don't understand where do i find kernel source, do i have to reinstall the OS?. because Makefile which comes with e100 driver has searched through my system for kernel source as following code in Makefile suggest-

    # core driver files
    CFILES = e100.c
    HFILES = kcompat.h
    ifeq (,$(BUILD_KERNEL))
    BUILD_KERNEL=$(shell uname -r)
    endif

    ################################################## #########################
    # Environment tests

    # Kernel Search Path
    # All the places we look for kernel source
    KSP := /lib/modules/$(BUILD_KERNEL)/build \
    /lib/modules/$(BUILD_KERNEL)/source \
    /usr/src/linux-$(BUILD_KERNEL) \
    /usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \
    /usr/src/kernel-headers-$(BUILD_KERNEL) \
    /usr/src/kernel-source-$(BUILD_KERNEL) \
    /usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
    /usr/src/linux

    # prune the list down to only values that exist
    # and have an include/linux sub-directory
    test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
    KSP := $(foreach dir, $(KSP), $(test_dir))

    # we will use this first valid entry in the search path
    ifeq (,$(KSRC))
    KSRC := $(firstword $(KSP))
    endif

    ifeq (,$(KSRC))
    $(error Linux kernel source not found)
    else


    but it does not find any where. how do i find it?

    my system details are as follow-
    Pentium IV 2.66 GHz
    512 MB RAM
    40 GB HDD

    OSs
    1. Windows 2000 prof.
    2. Windows xp prof.
    3. Mandrade 10 Linux -- Kernel build 2.6.3-4mdk

    regards
    vinod

  4. $spacer_open
    $spacer_close
  5. #4
    RH3
    RH3 is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    3
    Hi ,
    I am also having the same problem as Vinod's .But i am having Red hat
    kernel version 2.4.21-4 EL , I have also downloaded the driver e100-3.5.17.tar.gz for intel PRO/100 VE but when i try to compile that with
    make : but the same o/p as kernel source not found is given.

    i would like to add that in file e100.spec there is 1 line as ..
    Requires: kernel, fileutils, findutils, gawk, bash
    my kernel does not support fileutils,findutils, and kernel command....can that be the problem ?
    also in the readme file there is 1 line as
    To build a binary RPM* package of this driver run 'rpmbuild -tb
    <filename.tar.gz>'. Replace <filename.tar.gz> with the specific file name
    of he driver.
    but rpmbuild command is also not found.
    Can any one please provide help

  6. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    1

    I can only say I have the same problem

    Same problem. Linux Kernel not found.

    I can run the rpmbuild ...and still I'm getting the same error message.

  7. #6
    Just Joined!
    Join Date
    Jul 2009
    Posts
    1

    Makefiel:64 kernel source not found

    i am facing the same problem. i am tring to install nic card on Red hat 5 enterprise. please help any one

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    This thread is very old. I would suggest you to start a new thread and post your problem in detail.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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