Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758056AbYBHNoq (ORCPT ); Fri, 8 Feb 2008 08:44:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753656AbYBHNoh (ORCPT ); Fri, 8 Feb 2008 08:44:37 -0500 Received: from smtp-out03.alice-dsl.net ([88.44.63.5]:60532 "EHLO smtp-out03.alice-dsl.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753522AbYBHNog (ORCPT ); Fri, 8 Feb 2008 08:44:36 -0500 X-Greylist: delayed 360 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Feb 2008 08:44:36 EST To: "rohit h" Cc: linux-kernel@vger.kernel.org Subject: Re: C++ in linux kernel References: <90d987c0802072121v378da809l7b2690980566cd9@mail.gmail.com> From: Andi Kleen Date: 08 Feb 2008 14:39:45 +0100 In-Reply-To: <90d987c0802072121v378da809l7b2690980566cd9@mail.gmail.com> Message-ID: <8763wz36u6.fsf@basil.nowhere.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 08 Feb 2008 13:33:24.0861 (UTC) FILETIME=[2E200AD0:01C86A57] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 648 Lines: 13 "rohit h" 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 provide all the run time library support for it youself. It's possible, but not easy and encouraged -Andi -- 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/