Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-14-2004, 12:52 PM   #1
LQ Newbie
Registered: Feb 2004
Posts: 7

Rep: Reputation: 0
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

rm -rf {TARGET}.o


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] shmget(lowmem) error: Unknown error 999 kaz2100 Linux - Software 1 10-26-2010 05:11 AM
Pentium M processor family on kernel config jrdioko Linux - Hardware 4 08-14-2005 11:14 PM
Address family error [wpa_supplicant for Linux in ARM platform] smshahriar Linux - Wireless Networking 0 01-04-2005 04:38 PM
Missing AthlonXP Processor family in menuconfig AThomsen Fedora 1 06-26-2004 09:18 AM
Error while 'make modules' -- Error in processor.h thomasmathew Linux - General 3 04-29-2004 03:38 AM

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration