You may not call it explicitly, but I'll bet it's invoked as part of the
"invisible" C++ startup routine so that all of the distructors can be
executed on program termination.  Since I'm not a C++ expert, I don't know
what would happen if you just included a do-nothing stub.

Is that the only unresolved symbol?

        Norm

> -----Original Message-----
> From: Ivan Martinez [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 09, 2001 4:41 AM
> To:   [EMAIL PROTECTED]; Dresner, Norman A.; '[EMAIL PROTECTED]'
> Subject:      Re: [rtl] unresolved symbol atexit
> 
> I don't call atexit() at all. This is my list of includes:
> 
> #include <asm/page.h>
> #include <math.h>
> #include "testclass.h"
> #include <rtl_cpp.h>
> #include <rtl_fifo.h>
> #include <rtl_sync.h>
> #include <sys/stat.h>
> #include <sys/types.h>
> 
> Ivan
> 
> On Thursday 08 November 2001 18:10, Dresner, Norman A. wrote:
> > You can't use the standard C/C++ library in a real-time module.  Most of
> > those capabilities involve calls to the normal Linux kernel that are
> > incompatible with real-time scheduling.  In particular, a real-time
> module
> > does not exit the same way that a program does so calling atexit() is
> > simply impossible.
> >
> >     Norm
> >
> > > -----Original Message-----
> > > From:     Ivan Martinez [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Thursday, November 08, 2001 10:17 AM
> > > To:       RTLinux mailing list
> > > Subject:  [rtl] unresolved symbol atexit
> > >
> > > Hello all,
> > > When installing my C++ realtime module, I get the following error:
> > > app.o: unresolved symbol atexit
> > > Do you know what can be wrong?. Thank you.
> > > 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/
-- [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