I checked the time.h, some of the functions, eg clock_gettime() and timer_create() are declared as extern. When compiled, the error message is "undefined reference in clock_gettime".
Prior to this, i was trying to install rtai onto fedora 4 and ran some patches on the kernel following the instructions in http://www.cs.rose-hulman.edu/~ellis...9-adeos-howto/
, with linux-2.6.11.tar.gz and adeos-linux-2.6.11-i386-r13.patch, i was able to proceed till the make all
step just before step 3 build RTAI stuff. During the make all step, i encountered a few errors after a long wait:
In file included from drivers/i2c/algos/i2c-algo-bit.c:31:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:197: error: array type has incomplete element type
make: *** [drivers/i2c/algos/i2c-algo-bit.o] Error 1
make: *** [drivers/i2c/algos] Error 2
make: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2
and thus couldn't proceed anymore. would these patches overwrite the original libraries?