For kicks I grabbed it and tried to build it but failed:
/usr/bin/gcc -c -Wall -Wno-format-y2k -g3 -O2 -fomit-frame-pointer
-I. -I../include/linux/ -I../include -DSMR -DLOCKYES -DHAVE_HRT
-I/usr/local/include attachp.c
attachp.c: In function `attachp':
attachp.c:75: warning: cast from pointer to integer of different size
/usr/bin/gcc -c -Wall -Wno-format-y2k -g3 -O2 -fomit-frame-pointer
-I. -I../include/linux/ -I../include -DSMR -DLOCKYES -DHAVE_HRT
-I/usr/local/include thread.c
/usr/bin/gcc -o task1 -Wall -Wno-format-y2k -g3 -O2
-fomit-frame-pointer -I. -I../include/linux/ -I../include -DSMR
-DLOCKYES -DHAVE_HRT -I/usr/local/include task1.c period.o account.o
work.o attachp.o thread.o -L../library -L/usr/local/lib -lposix-time
-lncurses -lpthread
task1.c:52:24: posix_time.h: No such file or directory
task1.c: In function `main':
task1.c:296: warning: implicit declaration of function `clock_nanosleep'
make: *** [task1] Error 1
mark@lightning ~/CODE/rt-exec $
After reading the README I changed HAVE_HRT to 0 and it built.
Now, should I rebuild my AMD64-rt kernel to use high resolution timers?
I'll try running the app later.
Cheers,
Mark
On 6/8/06, Lee Revell <rlrevell(a)joe-job.com> wrote:
Someone just posted this to LKML, it looks
interesting:
A README describing the rt-exec can be found at
ftp://ftp.compro.net/public/rt-exec/README
It can be downloaded from
ftp://ftp.compro.net/public/rt-exec/rt-exec-1.0.0.tar.bz2
Lee