No kernel sources installed (?) - Debian

This is a discussion on No kernel sources installed (?) - Debian ; I just upgraded Debian 4.0r1 to 4.0r2 Now i have a problem with compiling a module for a PCI slot (TDM400 card for Asterisk PBX): You do not appear to have the sources for the 2.6.22-3-686 kernel installed. asterisk:/etc/asterisk# cd ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: No kernel sources installed (?)

  1. No kernel sources installed (?)

    I just upgraded Debian 4.0r1 to 4.0r2

    Now i have a problem with compiling a module for a PCI slot (TDM400 card for
    Asterisk PBX):

    You do not appear to have the sources for the 2.6.22-3-686 kernel installed.


    asterisk:/etc/asterisk# cd /usr/src/zaptel-1.4.5.1/
    asterisk:/usr/src/zaptel-1.4.5.1# make
    grep: /include/linux/autoconf.h: No such file or directory
    grep: /include/linux/autoconf.h: No such file or directory
    make[1]: Entering directory `/usr/src/zaptel-1.4.5.1'
    You do not appear to have the sources for the 2.6.22-3-686 kernel installed.
    <-----
    make[1]: *** [modules] Error 1
    make[1]: Leaving directory `/usr/src/zaptel-1.4.5.1'
    make: *** [all] Error 2
    asterisk:/usr/src/zaptel-1.4.5.1#

    Q: How do I install the sources for the 2.6.22-3-686 kernel ??

    Rgds
    Henk




  2. Re: No kernel sources installed (?)

    On Tue, 15 Jan 2008 12:57:23 +0000, Henk Oegema wrote:

    > I just upgraded Debian 4.0r1 to 4.0r2
    >
    > Now i have a problem with compiling a module for a PCI slot (TDM400 card
    > for Asterisk PBX):
    >
    > You do not appear to have the sources for the 2.6.22-3-686 kernel
    > installed.
    >
    >
    > asterisk:/etc/asterisk# cd /usr/src/zaptel-1.4.5.1/
    > asterisk:/usr/src/zaptel-1.4.5.1# make grep: /include/linux/autoconf.h:
    > No such file or directory grep: /include/linux/autoconf.h: No such file
    > or directory make[1]: Entering directory `/usr/src/zaptel-1.4.5.1' You
    > do not appear to have the sources for the 2.6.22-3-686 kernel installed.
    > <-----
    > make[1]: *** [modules] Error 1
    > make[1]: Leaving directory `/usr/src/zaptel-1.4.5.1' make: *** [all]
    > Error 2
    > asterisk:/usr/src/zaptel-1.4.5.1#
    >
    > Q: How do I install the sources for the 2.6.22-3-686 kernel ??
    >
    > Rgds
    > Henk


    aptitude install build-essential linux-headers-`uname -r`

    --
    Chaos, panic & disorder - my work here is done
    http://beginnerslinux.org

  3. Re: No kernel sources installed (?)

    repo wrote:

    > On Tue, 15 Jan 2008 12:57:23 +0000, Henk Oegema wrote:
    >
    >> I just upgraded Debian 4.0r1 to 4.0r2
    >>
    >> Now i have a problem with compiling a module for a PCI slot (TDM400 card
    >> for Asterisk PBX):
    >>
    >> You do not appear to have the sources for the 2.6.22-3-686 kernel
    >> installed.
    >>
    >>
    >> asterisk:/etc/asterisk# cd /usr/src/zaptel-1.4.5.1/
    >> asterisk:/usr/src/zaptel-1.4.5.1# make grep: /include/linux/autoconf.h:
    >> No such file or directory grep: /include/linux/autoconf.h: No such file
    >> or directory make[1]: Entering directory `/usr/src/zaptel-1.4.5.1' You
    >> do not appear to have the sources for the 2.6.22-3-686 kernel installed.
    >> <-----
    >> make[1]: *** [modules] Error 1
    >> make[1]: Leaving directory `/usr/src/zaptel-1.4.5.1' make: *** [all]
    >> Error 2
    >> asterisk:/usr/src/zaptel-1.4.5.1#
    >>
    >> Q: How do I install the sources for the 2.6.22-3-686 kernel ??
    >>
    >> Rgds
    >> Henk

    >
    > aptitude install build-essential linux-headers-`uname -r`
    >



  4. Re: No kernel sources installed (?)

    > I just upgraded Debian 4.0r1 to 4.0r2
    >
    > Now i have a problem with compiling a module for a PCI slot (TDM400 card
    > for Asterisk PBX):
    >
    > You do not appear to have the sources for the 2.6.22-3-686 kernel
    > installed.


    How come you are running 2.6.22 on Debian etch??


    --
    damjan

  5. Re: No kernel sources installed (?)

    I demand that Damjan may or may not have written...

    >> I just upgraded Debian 4.0r1 to 4.0r2
    >> Now i have a problem with compiling a module for a PCI slot (TDM400 card
    >> for Asterisk PBX):
    >> You do not appear to have the sources for the 2.6.22-3-686 kernel
    >> installed.


    > How come you are running 2.6.22 on Debian etch??


    My guess is this:
    http://packages.debian.org/etch-back...e-2.6.22-3-686

    --
    | Darren Salt | linux or ds at | nr. Ashington, | Toon
    | RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
    | (PGP 2.6, GPG keys)

    Living in the past has one thing in its favour - it's cheaper.

  6. Re: No kernel sources installed (?)

    Damjan wrote:

    >> I just upgraded Debian 4.0r1 to 4.0r2
    >>
    >> Now i have a problem with compiling a module for a PCI slot (TDM400 card
    >> for Asterisk PBX):
    >>
    >> You do not appear to have the sources for the 2.6.22-3-686 kernel
    >> installed.

    >
    > How come you are running 2.6.22 on Debian etch??

    I don't know.

    I just did a
    # apt-get -u dist-upgrade

+ Reply to Thread