[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: C++ in linux kernel

> 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

 \ /
  Last update: 2008-02-08 06:31    [W:0.214 / U:0.176 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site