I have modified the hello.cpp example that came with RTLinux. I moved class
A to a.h and then moved class B declarations to b.h and implementation to
b.cpp.
I can compile and run the modules no problem.
my problem comes when I try to make
int a; //from class A
static int a;
when I load the module I get an error like
error in b.o : unresolved symbol _1A.a
Any clue why this is? Can I not use static members with RTLinux? What is
an alternative to static?
Thank you for your help.
-Evan
[EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
-- [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/rtlinux/