Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Make missing seperator

    hi do any one have the solution to this prob

    i m just into the kernel module prog so i make the hello program and make its make file as simple as

    KERNELDIR = /usr/src/linux-2.4.20-6/include/


    all: hello.o

    rm -r hello.o

    it is giving error

    makefile:15: *** missing separator. Stop.

    line 15th is last line
    rm -r hello.o

    i check all options what is this error for??

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    St. Petersburg, FL
    You probably forgot to indent with a tab

  3. #3
    I am a newbie too...
    I am not really known your problem, but i tried to compile a helloworld successfully with an simplier makefile.
    Makefile is like the following,

    obj-m += modulename.o

    and I use the following command to compile the module in the same directory the Makefile is,

    make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules

    hope this can help you...

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts