On Friday 23 November 2001 18:19, Victor Yodaiken wrote:
> On Fri, Nov 23, 2001 at 05:50:11PM +0100, Ivan Martinez wrote:
> >     Hello:
> >     Here is some text I'm going to publish in DSLib's website. I let you to
> > check first to make sure I'm right about what I say of RTLinux.
> >
> > ******
> >     DSLib v1.3.0 is released as beta due to some bugs in RTLinux realtime
> > C++ support. Such bugs forced workarounds in the library that break the
> > compatibility with previous versions, and will be removed as soon as
> > RTLinux is fixed. These problems and the used solutions are:
> >     - "unresolved symbol atexit": This error may arise when installing a
> > module with local static declarations of objects. DSLib allways generates
> > local static declarations for better performance. The used workaround is
> > to make a fake implementation of atexit in rtl_cpp.h.
>
> RTLinux and Linux provide no support for C++ in modules - so it's not
> accurate to describe this as a "bug". The Linux developers have been
> very clear on _not_ facilitating use of C++ in kernel modules and we
> have not done the work to provide a generic work around. Of course,
> patches are welcome.

That's a surprise for me. Then, you just don't guarantee the realtime C++ 
stuff to work?.

>
> >     - Posix I/O: It seems using Posix I/O in realtime modules requires
> > hacking RTLinux files. Instead of that, such I/O interface won't be used
> > at the moment. This means that rtf_get and rtf_put must be used to read
> > and write realtime fifos in the methods RTFifoRead and RTFifoWrite.
>
> POSIX I/O works and requires no hacking of RTLinux modules as far as I
> know.
>
> It may be that you are seeing problems in 3.0 that were fixed
> in 3.1

No, I'm using 3.1. The problem is I can't link rtl_posixio.h, not even with 
extern "C". As I said in my "Still... how can I intlude unistd.h in C++ 
realtime modules?" postings, I get the following errors:

> > > Including rtl_posixio.h in the very first line causes:
> > >
> > > In file included from
> > > /usr/src/rtlinux-3.1/linux/include/linux/wait.h:14, from
> > > /usr/src/rtlinux-3.1/linux/include/linux/fs.h:12, from
> > > /usr/src/rtlinux-3.1/include/rtl_posixio.h:13, from rtmodule.cpp:1:
> > > /usr/src/rtlinux-3.1/linux/include/linux/list.h:35: parse error before
> > > `new' /usr/src/rtlinux-3.1/linux/include/linux/list.h: In function
> > > `void __list_add (...)':

Last solutions I was given were hacking&patching everywere, that's why I 
concluded there is a bug.
Regards,
Ivan

>
> > ******
> >
> >     Is there or will be any work in fixing such problems?.
> >     Regards,
> >     Ivan Martinez
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > --
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to