error unknown processor family
acarter at syrres.com
Fri Jun 16 17:37:26 CEST 2006
I am new to RTAI. I finally got the latency test to run correctly and tried to compile a simple hello world program. The compiler seems to have a problem with the line #include <linux/module.h>. I am running rtai-3-3-cv on a 220.127.116.11 kernel. Here is the program I am trying and the errors I get:
/* simple.c */
printk("hello, world!\n"); /* printk = kernel printf, to the console */
/* end of simple.c */
When I compile I get:
Compiling file: simple.c ...
gcc -c "simple.c" -o "simple.o"
in file included from /usr/include/linux/list.h:7,
/usr/include/linux/prefetch.h: In function 'prefetch_range':
/usr/include/linux/prefetch.h:64: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
/usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once
/usr/include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from /usr/include/linux/module.h:22,
/usr/include/asm/module.h:56:2: #unknown processor family
Completed ... unsuccesful
I can't figure out what is going on. Any information on how I might remedy this problem would be greatly appreciated.
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rtai