Announcement

Collapse
No announcement yet.

kernel sources again....

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kernel sources again....

    I downloaded the alternate CD,yet I don't know how to install the kernel sources(or whatever..),so as to install my DSL modem...Thanx for any help

    #2
    Re: kernel sources again....

    Hi

    From what I understand, if you just want to install new drivers (for nvidia cards, wireless, or any type of hardware) you just need the headers. To get a hold of them, do the following:

    sudo apt-get update
    sudo apt-get linux-headers-$(uname -r)


    This will install the headers, and not the source-tree.

    Comment


      #3
      Re: kernel sources again....

      When I do:
      sudo apt-get linux-headers, I see this:
      E:Invalid operation linux headers
      What is wrong with this?
      the uname -r command gives out:2.6.15-23-386

      thanx for any help

      Comment


        #4
        Re: kernel sources again....

        I think that should be sudo apt-get install linux-headers-$(uname -r).

        Comment


          #5
          Re: kernel sources again....

          I did the "make" command and I don't know what is wrong but I am not sure I installed the linux-headers correctly....
          ------------------------------------------------------

          root@nemo:/tmp/eagle-usb/eagle-usb-src# make
          make -C driver && \
          make -C pppoa && \
          make -C utils/scripts && \
          make -C utils/eagleconnect && \
          make -C doc
          make[1]: Entering directory `/tmp/eagle-usb/eagle-usb-src/driver'
          make -C /lib/modules/2.6.15-23-386/build SUBDIRS=/tmp/eagle-usb/eagle-usb-src/driver modules
          make[2]: Entering directory `/usr/src/linux-headers-2.6.15-23-386'
          CC [M] /tmp/eagle-usb/eagle-usb-src/driver/eu_main.o
          /tmp/eagle-usb/eagle-usb-src/driver/eu_main.c: In function 'eu_disconnect_postfirm':
          /tmp/eagle-usb/eagle-usb-src/driver/eu_main.c:950: error: 'URB_ASYNC_UNLINK' undeclared (first use in this function)
          /tmp/eagle-usb/eagle-usb-src/driver/eu_main.c:950: error: (Each undeclared identifier is reported only once
          /tmp/eagle-usb/eagle-usb-src/driver/eu_main.c:950: error: for each function it appears in.)
          make[3]: *** [/tmp/eagle-usb/eagle-usb-src/driver/eu_main.o] Error 1
          make[2]: *** [_module_/tmp/eagle-usb/eagle-usb-src/driver] Error 2
          make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-23-386'
          make[1]: *** [eagle-usb.ko] Error 2
          make[1]: Leaving directory `/tmp/eagle-usb/eagle-usb-src/driver'
          make: *** [build] Error 2

          can someone get me out of this trouble?
          Thanx

          Comment

          Working...
          X