lkml.org 
[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 9 Feb 2008 00:14:17 +0900
From"Joonwoo Park" <>
SubjectRe: [LINUX-KERNEL] C++ in linux kernel
2008/2/8, rohit h <hrohit85@gmail.com>:
> 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?
>
>  What kind of runtime support is needed ( arm linux kernel)? Is a
> patch available for it?
>
>  Thanks,
> Rohit
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

Rohit,
Please take a look at click modular router which is using c++ as a
linux kernel module.
http://www.read.cs.ucla.edu/click/
The lib/glue.cc provides custom operator new.

Thanks,
Joonwoo


\
 
 \ /
  Last update: 2008-02-08 16:17    [from the cache]
©2003-2008