Re: kernel recompile in woody

From: David Z Maze (dmaze_at_debian.org)
Date: 09/15/03

  • Next message: David Palmer: "Not a speed reader."
    To: debian-user@lists.debian.org
    Date: Mon, 15 Sep 2003 09:22:26 -0400
    
    

    raoul duke <dr_gonzo@redbrick.dcu.ie> writes:

    > i need to recompile my kernel (2.4.18-k7) with some minor adjustments to
    > the configuration. since i can get the configuration file from /boot, all i
    > need is the kernel source. i installed kernel-source-2.4.18, configured it
    > and tried to compile it but it wouldn't compile.

    Why not? What error messages do you get?

    > i figure that i need to include the kernel-headers for the k7
    > variant (kernel-headers-2.4.18-k7) in order to get a successful
    > kernel build. how do i do this?

    No, the kernel headers are a subset of the kernel source. (Look in
    include/ in your source tree.)

    > also, if i just want the kernel and the modules in a debian package do i
    > just do this?
    >
    > make-kpkg kernl_image ?

    More or less. I'd recommend reading
    http://newbiedoc.sourceforge.net/system/kernel-pkg.html for a better
    overview.

    -- 
    David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
    "Theoretical politics is interesting.  Politicking should be illegal."
    	-- Abra Mitchell
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: David Palmer: "Not a speed reader."

    Relevant Pages

    • Re: make fails on device iir on freebsd 4.10
      ... If Generic compiles, then my file would compile too ... because I only copied Generic and comment out iir. ... My configuration file is now: ... # Kernel Configuration Files: ...
      (freebsd-questions)
    • Re: Howto compile a kernel from scratch
      ... > I want to compile a kernel on my own and would like to know how to do ... determine which features you want to include/exclude. ... By-all-means, use your current configuration file, probably called ...
      (comp.os.linux.setup)
    • Re: Kernel configuration could not be read?
      ... btw, the configuration file is a file that tells the kernel compilation ... compile as modules, etc. Take a brief look at "/boot/config[your kernel ...
      (Debian-User)
    • Re: Buggy Kernel How-To?
      ... > and then, as non-root, compile the kernel in ... building the kernel when I install the kernel-image packages using ... A non-root doesn't have the permission to ... "Theoretical politics is interesting. ...
      (Debian-User)
    • kernel recompile in woody
      ... since i can get the configuration file from /boot, ... need is the kernel source. ... and tried to compile it but it wouldn't compile. ...
      (Debian-User)