On Friday 09 November 2001 15:33, you wrote: > Ivan. > > If you have any (even implicit) constructors in your classes, then C++ will > have to establish an atexit() to run the distructors.
Ok, but if realtime code supports C++ now, that's supposed to work. It does in the example, and I'm using its very same makefile. > Is there any way > this code can be run (even crippled) in user-space just to see what it's > doing? [I was thinking of using gdb with a breakpoint at atexit() to trace > it] Yes, but I don't see what you want to find out... Ivan > Norm > > > -----Original Message----- > > From: Ivan Martinez [SMTP:[EMAIL PROTECTED]] > > Sent: Friday, November 09, 2001 9:33 AM > > To: Dresner, Norman A.; '[EMAIL PROTECTED]' > > Subject: Re: [rtl] unresolved symbol atexit > > > > Yes, it's my only unresolved symbol. I have reduced my inludes to > > <rtl_cpp.h> and "testclass.h" and I still have the error, so I guess it > > has > > something to do with my test class. I send it's source code attached in > > this > > mail. > > Thank you, > > Ivan > > > > On Friday 09 November 2001 15:22, Dresner, Norman A. wrote: > > > 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/ << File: testclass.h >> << File: > > > > testclass.cpp >> -- [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/
