Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Make missing seperator

Status
Not open for further replies.

reckless

Member level 1
Joined
Oct 24, 2004
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
301
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
makefile


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

CFLAGS = -D__KERNEL__ -I$(KERNELDIR) -O -Wall

all: hello.o

clean:
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??
Confused
 

try the rm -rf hello.o
 

Did you used TAB before rm command? make is very sensitive to this, ie. you can't just cut and paste makefile commands.
 

that is about the spaces in the make file we have to use tab because it take spaces as a character .
i used tab and the prob is solved
thanx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top