Hi John , Jeff, AlexJoni, list,

I just started recieving digests, and I missed the replies
http://sourceforge.net/mailarchive/forum.php?thread_name=4895249D.2040804%40fastmail.fm&forum_name=emc-developers
http://sourceforge.net/mailarchive/forum.php?thread_name=20080803133506.GE20679%40unpythonic.net&forum_name=emc-developers
I managed to compile the sim without any other errors.
I had a beginners luck with kernel compilation, the second attempt proved to
be a challenge as it turns out it's always a safe bet to use the existing
configuration from the running kernel, but I got it and learnt a lot in the
process.
I am now attempting to compile for realtime using the following configure.
./configure --enable-run-in-place --with-realtime=/usr/xenomai
--with-kernel-headers=/home/mhel/linux-2.6.25
--with-module-dir=/lib/modules/2.6.25-XENO
(btw, --with-kernel-headers didn't accept relative address e.g.
../../linux-2.6.25)

this is added to the .configure:
**/xeno-config)
# For XENOMAI $RTS = xeno-config
#     Option        Returns
#       --version    my version 2.4.4
#       --cc        gcc
#       --arch        x86
#       --prefix    /usr/xenomai
#       --xeno-cflags    -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT
-D__XENO__
#       --xeno-ldflags    -L/usr/xenomai/lib -lpthread
#       --posix-cflags    -I/usr/xenomai/include
-I/usr/xenomai/include/posix -D_GNU_SOURCE -D_REENTRANT -D__XENO__
#       --posix-ldflags    -Wl,@/usr/xenomai/lib/posix.wrappers
-L/usr/xenomai/lib -lpthread_rt -lpthread -lrt
#       --lib*-dir,--libdir,--user-libdir   /usr/xenomai/lib

    RTNAME=xenomai
    RTPREFIX=xeno
#    RTAI=3
    RTDIR=`$RTS --prefix`
    RTDIR=$(cd $RTDIR ; pwd -P )
    RTFLAGS=`$RTS --xeno-cflags`
#    RTFLAGS="$RTFLAGS -DRTAI=3"
    KERNELDIR=`$RTS --linux-dir`
    RTARCH=`$RTS --arch`*

after I ran configure I was prompted to issue a make, I did and it compiles
without error.
ran emc and the configuration selector shows up, and ofcourse it didn't run
as I hope it would when I made a selection. I rerun configure and notice
this part:
*...
libm OK to use.
checking for adeos... not found
checking for rtai_hal... not found
checking for rtai_ksched... not found
checking for rtai_fifos... not found
checking for rtai_shm... not found
checking for rtai_sem... not found
checking for rtai_math... not found
checking for rtai... not found
checking for rt_mem_mgr... not found
checking for rtai_sched... not found
checking for rtai_libm... not found
checking for rtl... not found
checking for mbuff... not found
checking for rtl_time... not found
checking for rtl_sched... not found
checking for rtl_posixio... not found
checking for rtl_fifo... not found*
...

If it's looking for headers, some of it is located in xenomai/include dir.
and if it is, I guess I'd have to point it there. Now, I wonder how.

-- 
Mhel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to