Use C++ in RT-Linux.
"Vasin Pichitsurakij" <[email protected]> Sun, 12 Feb 2006 02:25:42 +0900 (JST)
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <32919.60.44.210.88.1139678742.squirrel@www.webmail.thaiexcite.com> |
I try to run a hello.c (C language)that is an example program coming with
rtlinux and everything work fine but I really want to use C++ instead of
C.
I try to run a hello.cpp that is an example program for C++ that come with
rtlinux. I can compile hello.cpp. after that I do this
[root@ss-sw1 cpp]# insmod rtl_cpp.o
[root@ss-sw1 cpp]# insmod app.o
app.o: unresolved symbol __cxa_pure_virtual
app.o: unresolved symbol __cxa_atexit
app.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
[root@ss-sw1 cpp]# insmod hello.o
hello.o: unresolved symbol __cxa_pure_virtual
hello.o: unresolved symbol __do_global_ctors_aux
hello.o: unresolved symbol __cxa_atexit
hello.o: unresolved symbol __dso_handle
hello.o: unresolved symbol __do_global_dtors_aux
hello.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
How can I use C++ in RT-Linux.
Thank you very much.
_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/