Messages in this thread | | | Date | Fri, 08 Feb 2008 14:28:34 +0900 | From | KOSAKI Motohiro <> | Subject | Re: C++ in linux kernel |
| |
Hi
> I am a kernel newbie. > I tried to insmod a C++ module containing classes, inheritance. > I am getting 'unresolved symbol' error when I use the 'new' keyword. > What could the problem be?
under using gcc, new operator use malloc by default. but linux doesn't have malloc.
Could you create custom allocater?
> What kind of runtime support is needed ( arm linux kernel)? Is a > patch available for it?
may be nothing.
- kosaki
| |