# HG changeset patch # User mwildbolz # Date 1349103515 -7200 # Node ID 5cbb8e9ad67c12afa7c6de73c768631c2ffd3953 # Parent 4725d8f909ff3438f6636d2192f31bae2fce5080 Changed configure to compile on Debian with the latest RTAI patch installed (removed rtdm library in compiler flags) Commented out the MSG_WAR section for RTAI because this only runs in an RTAI Kernelspace program diff -r 4725d8f909ff -r 5cbb8e9ad67c configure --- a/configure Thu Sep 06 16:49:11 2012 +0200 +++ b/configure Mon Oct 01 16:58:35 2012 +0200 @@ -489,7 +489,7 @@ if [ "$SUB_TIMERS_DRIVER" = "rtai" ]; then RT_LIB_DIR=`$RTAI_CONFIG --library-dir`\ -Wl,-rpath\ `$RTAI_CONFIG --library-dir` - SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$RTAI_CONFIG --lxrt-ldflags`\ -L$RT_LIB_DIR\ -llxrt\ -lrtdm + SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$RTAI_CONFIG --lxrt-ldflags`\ -L$RT_LIB_DIR\ -llxrt SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DUSE_RTAI\ `$RTAI_CONFIG --lxrt-cflags` RTCAN_SOCKET=1 fi diff -r 4725d8f909ff -r 5cbb8e9ad67c include/unix/applicfg.h --- a/include/unix/applicfg.h Thu Sep 06 16:49:11 2012 +0200 +++ b/include/unix/applicfg.h Mon Oct 01 16:58:35 2012 +0200 @@ -78,8 +78,8 @@ /* -------------------------------------- */ #ifdef __KERNEL__ # define MSG(...) printk (__VA_ARGS__) -#elif defined USE_RTAI -# define MSG(...) /*rt_printk (__VA_ARGS__)*/ +//#elif defined USE_RTAI +//# define MSG(...) rt_printk (__VA_ARGS__) #elif defined USE_XENO # define MSG(...) #else