Announcement

Collapse
No announcement yet.

Error trying to use make

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

    Error trying to use make

    Dunno if this is the right place for this question but here it is.
    I was trying to compile a driver using make and got some errors
    Code:
    root@ubuntu:/home/corey1/Desktop/wdriver# make
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
    /usr/src/linux-headers-2.6.32-21-generic/scripts/gcc-version.sh: line 25: gcc: command not found
    /usr/src/linux-headers-2.6.32-21-generic/scripts/gcc-version.sh: line 26: gcc: command not found
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic'
    /usr/src/linux-headers-2.6.32-21-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support
    make[1]: gcc: Command not found
     LD   /home/corey1/Desktop/wdriver/built-in.o
    /bin/sh: ar: not found
    make[2]: *** [/home/corey1/Desktop/wdriver/built-in.o] Error 127
    make[1]: *** [_module_/home/corey1/Desktop/wdriver] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
    make: *** [all] Error 2
    Help anyone? Pls??

    #2
    Re: Error trying to use make

    Do you have build-essential installed?

    Comment

    Working...
    X