compile error: #error unknown processor family
I am compiling a "hello world" external kernal module on Suse 9.0 kernal 2.4. I am getting the following error:
#error unknown processor family
the following is my make file:
TARGET := hello-1
WARN := -W -Wall
KERNELDIR := /lib/modules/$(shell uname -r)/build
CFLAGS = -D__KERNEL__ -DMODULE -isystem $(KERNELDIR)/include -O2 ${WARN}
CC := gcc
${TARGET}.o: ${TARGET}.c
.PHONY: clean
clean:
rm -rf {TARGET}.o
|