Dear sir: 
There is an error when I build emc2 realtime, please tell me how to install 
kernel headers package.

libinch...@libincheng-desktop:~/emc2-trunk/src$ ./configure 
--enable-run-in-place
checking installation prefix... /usr/local
checking for RT dir... Using /usr/realtime-2.6.15-magma/bin/rtai-config as the 
RT signature
checking for location of kernel headers... using value from RTS: 
/usr/src/linux-headers-2.6.15-magma
checking for cc version... found gcc in rtai-config
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for usability of rdtscll from asm/msr.h... yes
checking for usability of linux/joystick.h... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux-headers-2.6.15-magma/include/linux/version.h 
usability... no
checking /usr/src/linux-headers-2.6.15-magma/include/linux/version.h 
presence... no
checking for /usr/src/linux-headers-2.6.15-magma/include/linux/version.h... no
configure: error: version.h not found - Is the kernel headers package installed 
?

Thanks for your help!
Regards!

Yours
yang

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to