Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

No Makefile in Kernel Directory

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
cmcheung
n00b
n00b
Posts: 14
Joined: Sun Oct 02, 2005 10:37 pm

No Makefile in Kernel Directory

  • Quote

Post by cmcheung » Mon Oct 09, 2006 1:08 am

Hello,

I was trying to compile media-libs/svgalib-1.9.25 when I noticed this error:

Code: Select all

 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
I went to the directory to check it out, and lo and behold there was indeed no Makefile. I know for a fact that it existed at least last week, since I was recompiling my system, but for some reason, it's not there now.

I am using linux-2.6.16-suspend2-r4, and have the following items in that folder:
  • Module.symvers
    System.map
    arch
    block
    crypto
    drivers
    fs
    include
    init
    ipc
    kernel
    lib
    mm
    net
    scripts
    security
    sound
    usr
    vmlinux


Would if be possible to somehow obtain the missing files needed for Makefile, and throw them in that directory?

Thanks for the help.
Top
Hagar
Guru
Guru
Posts: 445
Joined: Tue Feb 11, 2003 6:36 pm
Contact:
Contact Hagar
Website

  • Quote

Post by Hagar » Mon Oct 09, 2006 2:22 am

You shouldn't remove kernel sources for kernels you are still using.
As you can see, this breaks updating modules installed with portage.

Since that version is no longer in portage you might want to consider upgrading to a recent version.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic