Re: C++ in linux kernel

2008-02-08 Thread Andi Kleen
"rohit h" <[EMAIL PROTECTED]> writes: > 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? If you want to use C++ in the kernel you would need to prov

Re: C++ in linux kernel

2008-02-07 Thread KOSAKI Motohiro
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 creat