Re: Use C++ in RT-Linux.

Der Herr Hofrat <[email protected]> Sun, 12 Feb 2006 15:01:35 +0000 (UTC)
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
> 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.

you might want to check the OCERA rtlcc package

http://www.ocera.org/download/components/WP5/rtlcc-0.1.html - its on the list
for integration in RTLinux/GPL (www.rtlinux-gpl.org) but I did not get it done
yet.

hofrat
_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/